From 01eafd38fbeb49d8167d99569eb624ab404bbeb2 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Wed, 9 Oct 2013 00:09:04 +0200 Subject: gnu: Use the 'patches' field of . * 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 instead of adding a patch as input plus using #:patches. --- gnu/packages/apr.scm | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'gnu/packages/apr.scm') diff --git a/gnu/packages/apr.scm b/gnu/packages/apr.scm index 01a4e6c2ba..cfb3b6acd5 100644 --- a/gnu/packages/apr.scm +++ b/gnu/packages/apr.scm @@ -35,16 +35,13 @@ version ".tar.bz2")) (sha256 (base32 - "0884csfk3f530yscak0jlr6w929s3ys0n7fpwdg3dii1sgwd5f31")))) + "0884csfk3f530yscak0jlr6w929s3ys0n7fpwdg3dii1sgwd5f31")) + (patches + (list (search-patch "apr-skip-getservbyname-test.patch"))) + (patch-flags '("-p0")))) (build-system gnu-build-system) - (arguments - `(#:patches (list (assoc-ref %build-inputs - "patch/skip-test")) - #:patch-flags '("-p0"))) (inputs `(("perl" ,perl) - ("libtool" ,libtool) - ("patch/skip-test" - ,(search-patch "apr-skip-getservbyname-test.patch")))) + ("libtool" ,libtool))) (home-page "http://apr.apache.org/") (synopsis "The Apache Portable Runtime Library") (description -- cgit 1.4.1