clisp/clisp-db.patch
Jerry James 8e77a6688a Update to latest git snapshot
- Add patch to fix FTBFS in the new-clx code
- Add patch to avoid calling the deprecated siginterrupt function
- Add VCS field
- Setting LC_ALL is no longer necessary
2024-09-03 13:08:11 -06:00

22 lines
969 B
Diff

--- modules/berkeley-db/configure.orig 2024-07-04 15:55:33.000000000 -0600
+++ modules/berkeley-db/configure 2024-07-08 14:48:08.927142156 -0600
@@ -6272,7 +6272,7 @@ then :
else case e in #(
e)
CFLAGS_save="$CFLAGS"
-CFLAGS="$CFLAGS -Werror"
+CFLAGS="$CFLAGS -Wno-uninitialized -Werror"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <db.h>
--- modules/berkeley-db/configure.in.orig 2024-07-04 15:55:33.000000000 -0600
+++ modules/berkeley-db/configure.in 2024-07-08 14:48:08.927142156 -0600
@@ -48,7 +48,7 @@ dnl <http://www.sleepycat.com/docs/ref/u
AC_CACHE_CHECK([whether DB_ENV->set_errcall() accepts DBE],
ac_cv_dbe_set_errcall_accept_dbe,[
CFLAGS_save="$CFLAGS"
-CFLAGS="$CFLAGS -Werror"
+CFLAGS="$CFLAGS -Wno-uninitialized -Werror"
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([#include <db.h>
void my_callback (const DB_ENV* dbe, const char *errpfx, const char *msg) {}],
[[DB_ENV dbe; dbe.set_errcall(&dbe,&my_callback);]])],