guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/04: gnu: patch: Update to 2.7.4.


From: Ludovic Courtès
Subject: 01/04: gnu: patch: Update to 2.7.4.
Date: Wed, 11 Feb 2015 13:20:41 +0000

civodul pushed a commit to branch core-updates
in repository guix.

commit f6408bc584bd3c01713e7703b052e966ee616209
Author: Ludovic Courtès <address@hidden>
Date:   Wed Feb 11 11:23:46 2015 +0100

    gnu: patch: Update to 2.7.4.
    
    * gnu/packages/base.scm (patch): Update to 2.7.4.  Remove
      'replacement'.  Remove outdated comment.
      (patch-2.7.4, patch-CVE-2015-1196): Remove.
---
 gnu/packages/base.scm |   37 ++++++++-----------------------------
 1 files changed, 8 insertions(+), 29 deletions(-)

diff --git a/gnu/packages/base.scm b/gnu/packages/base.scm
index be33cb2..7306f28 100644
--- a/gnu/packages/base.scm
+++ b/gnu/packages/base.scm
@@ -147,18 +147,16 @@ standard utility.")
 (define-public patch
   (package
    (name "patch")
-   (version "2.7.1")
-   (source (origin
-            (method url-fetch)
-            (uri (string-append "mirror://gnu/patch/patch-"
-                                version ".tar.xz"))
-            (sha256
-             (base32
-              "1sqckf560pzwgniy00vcpdv2c9c11s4cmhlm14yqgg8avd3bl94i"))))
+    (version "2.7.4")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "mirror://gnu/patch/patch-"
+                                  version ".tar.xz"))
+              (sha256
+               (base32
+                "02gikxjvcxysr4l65c8vivgz62xmalp0av5ypzff8vqhrq3vpb0f"))))
    (build-system gnu-build-system)
    (native-inputs `(("ed", ed)))
-    ;; TODO: When cross-compiling, add this:
-    ;;  '(#:configure-flags '("ac_cv_func_strnlen_working=yes"))
    (synopsis "Apply differences to originals, with optional backups")
    (description
     "Patch is a program that applies changes to files based on differences
@@ -167,27 +165,8 @@ files depending on the contents of the diff file.  It 
accepts several
 different diff formats.  It may also be used to revert previously applied
 differences.")
    (license gpl3+)
-   (replacement patch-CVE-2015-1196)
    (home-page "http://savannah.gnu.org/projects/patch/";)))
 
-(define-public patch-2.7.4
-  (package
-    (inherit patch)
-    (version "2.7.4")
-    (source (origin
-              (method url-fetch)
-              (uri (string-append "mirror://gnu/patch/patch-"
-                                  version ".tar.xz"))
-              (sha256
-               (base32
-                "02gikxjvcxysr4l65c8vivgz62xmalp0av5ypzff8vqhrq3vpb0f"))))
-    (replacement #f)))
-
-(define patch-CVE-2015-1196
-  (package (inherit patch-2.7.4)
-    ;; Keep the old version number so it can be used as a 'replacement'.
-    (version (package-version patch))))
-
 (define-public diffutils
   (package
    (name "diffutils")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]