Browse Source

gdbm: fix GCC 10 multiple def compilation error

Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
lilik-openwrt-22.03
Syrone Wong 4 years ago
committed by Rosen Penev
parent
commit
fe734cc264
No known key found for this signature in database GPG Key ID: 36D31CFA845F0E3B
2 changed files with 12 additions and 1 deletions
  1. +1
    -1
      libs/gdbm/Makefile
  2. +11
    -0
      libs/gdbm/patches/999-001-fix-multiple-def-gcc-10.patch

+ 1
- 1
libs/gdbm/Makefile View 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


+ 11
- 0
libs/gdbm/patches/999-001-fix-multiple-def-gcc-10.patch View File

@ -0,0 +1,11 @@
--- a/src/parseopt.c
+++ b/src/parseopt.c
@@ -255,8 +255,6 @@ print_option_descr (const char *descr, s
}
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);

Loading…
Cancel
Save