diff options
author | Ludovic Courtès <ludo@gnu.org> | 2013-10-09 00:09:04 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2013-10-09 00:11:34 +0200 |
commit | 01eafd38fbeb49d8167d99569eb624ab404bbeb2 (patch) | |
tree | cfbde1f3b011ee586bf4ce45b7f83d10fc28e2f4 /gnu/packages/pdf.scm | |
parent | ac10e0e17e366d354ad8b3f91e03c1bdeddc7632 (diff) | |
download | guix-01eafd38fbeb49d8167d99569eb624ab404bbeb2.tar guix-01eafd38fbeb49d8167d99569eb624ab404bbeb2.tar.gz |
gnu: Use the 'patches' field of <origin>.
* gnu/packages/apr.scm,
gnu/packages/autotools.scm,
gnu/packages/avahi.scm,
gnu/packages/cdrom.scm,
gnu/packages/cmake.scm,
gnu/packages/cpio.scm,
gnu/packages/cross-base.scm,
gnu/packages/emacs.scm,
gnu/packages/flex.scm,
gnu/packages/fontutils.scm,
gnu/packages/glib.scm,
gnu/packages/grub.scm,
gnu/packages/guile.scm,
gnu/packages/idutils.scm,
gnu/packages/libevent.scm,
gnu/packages/linux.scm,
gnu/packages/mail.scm,
gnu/packages/make-bootstrap.scm,
gnu/packages/mp3.scm,
gnu/packages/oggvorbis.scm,
gnu/packages/pdf.scm,
gnu/packages/plotutils.scm,
gnu/packages/qemu.scm,
gnu/packages/recutils.scm,
gnu/packages/rush.scm,
gnu/packages/scheme.scm,
gnu/packages/system.scm,
gnu/packages/tcsh.scm,
gnu/packages/valgrind.scm,
gnu/packages/vpn.scm,
gnu/packages/w3m: Use the 'patches' field of <origin> instead of
adding a patch as input plus using #:patches.
Diffstat (limited to 'gnu/packages/pdf.scm')
-rw-r--r-- | gnu/packages/pdf.scm | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/gnu/packages/pdf.scm b/gnu/packages/pdf.scm index 820a879288..2dd3c9e32c 100644 --- a/gnu/packages/pdf.scm +++ b/gnu/packages/pdf.scm @@ -79,7 +79,8 @@ (uri (string-append "ftp://ftp.foolabs.com/pub/xpdf/xpdf-" version ".tar.gz")) (sha256 (base32 - "1jnfzdqc54wa73lw28kjv0m7120mksb0zkcn81jdlvijyvc67kq2")))) + "1jnfzdqc54wa73lw28kjv0m7120mksb0zkcn81jdlvijyvc67kq2")) + (patches (list (search-patch "xpdf-constchar.patch"))))) (build-system gnu-build-system) (inputs `(("freetype" ,freetype) ("gs-fonts" ,gs-fonts) @@ -90,13 +91,9 @@ ("libxp" ,libxp) ("libxpm" ,libxpm) ("libxt" ,libxt) - ("zlib" ,zlib) - ("patch/constchar" - ,(search-patch "xpdf-constchar.patch")))) + ("zlib" ,zlib))) (arguments `(#:tests? #f ; there is no check target - #:patches (list (assoc-ref %build-inputs - "patch/constchar")) #:phases (alist-replace 'install |