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/system.scm | 24 +++++++++++------------- 1 file changed, 11 insertions(+), 13 deletions(-) (limited to 'gnu/packages/system.scm') diff --git a/gnu/packages/system.scm b/gnu/packages/system.scm index 3115714b08..6f710fd4d4 100644 --- a/gnu/packages/system.scm +++ b/gnu/packages/system.scm @@ -143,22 +143,20 @@ (define-public inetutils (package (name "inetutils") (version "1.9.1") - (source - (origin - (method url-fetch) - (uri (string-append "mirror://gnu/inetutils/inetutils-" - version ".tar.gz")) - (sha256 - (base32 - "0azzg6njgq79byl6960kb0wihfhhzf49snslhxgvi30ribgfpa82")))) + (source (origin + (method url-fetch) + (uri (string-append "mirror://gnu/inetutils/inetutils-" + version ".tar.gz")) + (sha256 + (base32 + "0azzg6njgq79byl6960kb0wihfhhzf49snslhxgvi30ribgfpa82")) + (patches + (list (search-patch "diffutils-gets-undeclared.patch"))))) (build-system gnu-build-system) - (arguments `(#:patches (list (assoc-ref %build-inputs "patch/gets")) - - ;; FIXME: `tftp.sh' relies on `netstat' from utils-linux, + (arguments `(;; FIXME: `tftp.sh' relies on `netstat' from utils-linux, ;; which is currently missing. #:tests? #f)) - (inputs `(("patch/gets" ,(search-patch "diffutils-gets-undeclared.patch")) - ("ncurses" ,ncurses))) + (inputs `(("ncurses" ,ncurses))) (home-page "http://www.gnu.org/software/inetutils/") (synopsis "Basic networking utilities") (description -- cgit v1.2.3