gdbm: fix GCC 10 multiple def compilation error
authorSyrone Wong <redacted>
Mon, 1 Jun 2020 14:48:16 +0000 (22:48 +0800)
committerRosen Penev <redacted>
Mon, 29 Jun 2020 22:15:29 +0000 (15:15 -0700)
Signed-off-by: Syrone Wong <redacted>
libs/gdbm/Makefile
libs/gdbm/patches/999-001-fix-multiple-def-gcc-10.patch [new file with mode: 0644]

index 2adcb31da579d12c561e7dd7f6cf9ee2df6ba00f..11f8c049f69a304011206ca61eb80848ed32bc94 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=gdbm
 PKG_VERSION:=1.18.1
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=@GNU/gdbm
diff --git a/libs/gdbm/patches/999-001-fix-multiple-def-gcc-10.patch b/libs/gdbm/patches/999-001-fix-multiple-def-gcc-10.patch
new file mode 100644 (file)
index 0000000..5ccb395
--- /dev/null
@@ -0,0 +1,11 @@
+--- a/src/parseopt.c
++++ b/src/parseopt.c
+@@ -255,8 +255,6 @@ print_option_descr (const char *descr, s
+ }
\f
+ 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);
\f
git clone https://git.99rst.org/PROJECT