ports/databases/mdbtools/patches/patch-configure_ac

15 lines
433 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
file.c:303:25: error: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Werror,-Wdeprecated-declarations]
Index: configure.ac
--- configure.ac.orig
+++ configure.ac
@@ -83,7 +83,7 @@ AM_CONDITIONAL(SQL, test x$sql = xtrue)
AC_SUBST(SQL)
AC_SUBST(LFLAGS)
-CFLAGS="$CFLAGS -Wall -Werror"
+CFLAGS="$CFLAGS -Wall"
LOCALE_T=locale_t
AS_CASE([$host],
[*mingw*], [LDFLAGS="$LDFLAGS -no-undefined" LOCALE_T=_locale_t], [])