summary refs log tree commit diff
path: root/gnu/packages/gnupg.scm
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2019-05-24 20:50:38 +0200
committerMarius Bakke <mbakke@fastmail.com>2019-05-25 00:47:54 +0200
commitbb9dec546f839c38b7955f78d46b5405af505f76 (patch)
tree27cbdc5c67082dc311637d1c8f5ac36eb3690dae /gnu/packages/gnupg.scm
parent5dc3de3ac7cc1b748500072de730f84d3e63961e (diff)
downloadguix-bb9dec546f839c38b7955f78d46b5405af505f76.tar.gz
gnu: gawk: Update to 5.0.0.
* gnu/packages/patches/libgpg-error-gawk-compat.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/gnupg.scm (libgpg-error)[source](modules, patches): New fields.
* gnu/packages/gawk.scm (gawk): Update to 5.0.0.
Diffstat (limited to 'gnu/packages/gnupg.scm')
-rw-r--r--gnu/packages/gnupg.scm11
1 files changed, 10 insertions, 1 deletions
diff --git a/gnu/packages/gnupg.scm b/gnu/packages/gnupg.scm
index 47fcf5569d..230df101d5 100644
--- a/gnu/packages/gnupg.scm
+++ b/gnu/packages/gnupg.scm
@@ -85,7 +85,16 @@
                           version ".tar.bz2"))
       (sha256
        (base32
-        "0z696dmhfxm2n6pmr8b857wwljq9h633yi99bhbn7h88f91rigds"))))
+        "0z696dmhfxm2n6pmr8b857wwljq9h633yi99bhbn7h88f91rigds"))
+      (patches (search-patches "libgpg-error-gawk-compat.patch"))
+      ;; XXX: Remove this snippet with the gawk patch above.  It avoids having
+      ;; to call autoreconf for the Makefile.am change to take effect.
+      (modules '((guix build utils)))
+      (snippet
+       '(begin
+          (substitute* "src/Makefile.in"
+            (("namespace=errnos") "pkg_namespace=errnos"))
+          #t))))
     (build-system gnu-build-system)
     (home-page "https://gnupg.org")
     (synopsis "Library of error values for GnuPG components")