Commit 8545692e authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

Patched to compile with GCC 10

parent c85f7fd7
all:
tar xf gdbm-1.18.1.tar.gz
patch -Np1 -d gdbm-1.18.1 < gdbm-1.18.1-gcc10.patch
cd gdbm-1.18.1 && ./configure --build=$(CLFS_TARGET) --prefix=/usr --disable-static --enable-libgdbm-compat
$(MAKE) -C gdbm-1.18.1
if [[ ! "$(BUILD_OPTIONS)" =~ no-tests ]] ; then \
......
diff -uNr gdbm-1.18.1/src/parseopt.c gdbm-1.18.1-gcc10/src/parseopt.c
--- gdbm-1.18.1/src/parseopt.c 2018-05-30 19:09:15.000000000 +0930
+++ gdbm-1.18.1-gcc10/src/parseopt.c 2020-07-10 23:05:27.873819654 +0930
@@ -255,8 +255,6 @@
}
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);
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment