aboutsummaryrefslogtreecommitdiffstats
path: root/testing/mdbtools/10-Werror.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/mdbtools/10-Werror.patch')
-rw-r--r--testing/mdbtools/10-Werror.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/testing/mdbtools/10-Werror.patch b/testing/mdbtools/10-Werror.patch
index 65c8f72c2e..c186e2cdb6 100644
--- a/testing/mdbtools/10-Werror.patch
+++ b/testing/mdbtools/10-Werror.patch
@@ -3,12 +3,12 @@ Summary: treat compiler warnings as warnings, not errors
----
--- a/configure.ac
+++ b/configure.ac
-@@ -87,7 +87,7 @@
+@@ -83,7 +83,7 @@
AC_SUBST(SQL)
AC_SUBST(LFLAGS)
-CFLAGS="$CFLAGS -Wall -Werror"
+CFLAGS="$CFLAGS -Wall"
+ LOCALE_T=locale_t
AS_CASE([$host],
- [*mingw*|*cygwin*], [LDFLAGS="$LDFLAGS -no-undefined"], [])
- AS_CASE([$host],
+ [*mingw*], [LDFLAGS="$LDFLAGS -no-undefined" LOCALE_T=_locale_t], [])