From 951610567f623512a88ac20b879e00d442f85abe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Sun, 27 Dec 2020 18:44:57 +0100 Subject: [PATCH] gnu: gdbm: Update to 1.19. * gnu/packages/patches/gdbm-gcc-compat.patch: Remove. * gnu/local.mk (dist_patch_DATA): Adjust accordingly. * gnu/packages/dbm.scm (gdbm)[source]: Remove 'patches'. --- gnu/local.mk | 1 - gnu/packages/dbm.scm | 7 +++---- gnu/packages/patches/gdbm-gcc-compat.patch | 16 ---------------- 3 files changed, 3 insertions(+), 21 deletions(-) delete mode 100644 gnu/packages/patches/gdbm-gcc-compat.patch diff --git a/gnu/local.mk b/gnu/local.mk index b2d0161b99..742454f1f9 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -1044,7 +1044,6 @@ dist_patch_DATA = \ %D%/packages/patches/gdb-hurd.patch \ %D%/packages/patches/gd-fix-tests-on-i686.patch \ %D%/packages/patches/gd-brect-bounds.patch \ - %D%/packages/patches/gdbm-gcc-compat.patch \ %D%/packages/patches/gdm-default-session.patch \ %D%/packages/patches/genimage-signedness.patch \ %D%/packages/patches/geoclue-config.patch \ diff --git a/gnu/packages/dbm.scm b/gnu/packages/dbm.scm index 8059d95628..d307914d41 100644 --- a/gnu/packages/dbm.scm +++ b/gnu/packages/dbm.scm @@ -1,5 +1,5 @@ ;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2012, 2013, 2014, 2016 Ludovic Courtès +;;; Copyright © 2012, 2013, 2014, 2016, 2020 Ludovic Courtès ;;; Copyright © 2013, 2015 Andreas Enge ;;; Copyright © 2016, 2017, 2018, 2020 Efraim Flashner ;;; Copyright © 2017, 2018 Marius Bakke @@ -134,15 +134,14 @@ SQL, Key/Value, XML/XQuery or Java Object storage for their data model.") (define-public gdbm (package (name "gdbm") - (version "1.18.1") + (version "1.19") (source (origin (method url-fetch) (uri (string-append "mirror://gnu/gdbm/gdbm-" version ".tar.gz")) - (patches (search-patches "gdbm-gcc-compat.patch")) (sha256 (base32 - "1p4ibds6z3ccy65lkmd6lm7js0kwifvl53r0fd759fjxgr917rl6")))) + "1g342f0xhh8xbc8p9vrr34clhxz57589k50dibhp5f9284hi5v9p")))) (arguments `(#:configure-flags '("--enable-libgdbm-compat" "--disable-static"))) (build-system gnu-build-system) diff --git a/gnu/packages/patches/gdbm-gcc-compat.patch b/gnu/packages/patches/gdbm-gcc-compat.patch deleted file mode 100644 index c2e187834a..0000000000 --- a/gnu/packages/patches/gdbm-gcc-compat.patch +++ /dev/null @@ -1,16 +0,0 @@ -Fix build failure with GCC 10 due to duplicate definitions. It can be -reproduced on older compilers with -fno-common. - -Fix taken from Gentoo: https://bugs.gentoo.org/705898 - ---- a/src/parseopt.c -+++ b/src/parseopt.c -@@ -255,8 +255,6 @@ print_option_descr (const char *descr, size_t lmargin, size_t rmargin) - } - - char *parseopt_program_name; --char *parseopt_program_doc; --char *parseopt_program_args; - const char *program_bug_address = "<" PACKAGE_BUGREPORT ">"; - void (*parseopt_help_hook) (FILE *stream); -