Page MenuHomePhabricator (Chris)

No OneTemporary

Size
1 KB
Referenced Files
None
Subscribers
None
diff --git a/debian/patches/0001-Fix-prototype-matching-in-case-fpermissive-was-given.patch b/debian/patches/0001-Fix-prototype-matching-in-case-fpermissive-was-given.patch
new file mode 100644
index 00000000..36ffb372
--- /dev/null
+++ b/debian/patches/0001-Fix-prototype-matching-in-case-fpermissive-was-given.patch
@@ -0,0 +1,34 @@
+From: =?utf-8?b?T25kxZllaiBTdXLDvQ==?= <ondrej@sury.org>
+Date: Mon, 24 Nov 2025 06:32:43 +0100
+Subject: Fix prototype matching in case -fpermissive was given
+
+---
+ mongodb-2.1.4/scripts/autotools/m4/ax_prototype.m4 | 5 ++---
+ 1 file changed, 2 insertions(+), 3 deletions(-)
+
+diff --git a/mongodb-2.1.4/scripts/autotools/m4/ax_prototype.m4 b/mongodb-2.1.4/scripts/autotools/m4/ax_prototype.m4
+index a1b0616..f09fb8e 100644
+--- a/mongodb-2.1.4/scripts/autotools/m4/ax_prototype.m4
++++ b/mongodb-2.1.4/scripts/autotools/m4/ax_prototype.m4
+@@ -224,19 +224,18 @@ dnl Disable the 'unused-variable' warning in case e.g. -Wall was enabled,
+ dnl otherwise the test may always fail.
+ dnl
+ if (test "x$GCC" = "xyes" || test "x$GXX" = "xyes" ); then
+- CPPFLAGS="$CPPFLAGS -Werror -Wno-unused-variable" ;
++ CPPFLAGS="-Werror -Wno-unused-variable" ;
+ fi
+
+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([$2], [$1])],
+ [
+- CPPFLAGS="$ac_save_CPPFLAGS"
+ AC_MSG_RESULT(ok)
+ AX_PROTOTYPE_DEFINES(tags)
+ break;
+ ], [
+- CPPFLAGS="$ac_save_CPPFLAGS"
+ AC_MSG_RESULT(not ok)
+ ])
++ CPPFLAGS="$ac_save_CPPFLAGS"
+ ]
+ )
+ ])
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 00000000..17e532d3
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-Fix-prototype-matching-in-case-fpermissive-was-given.patch

File Metadata

Mime Type
text/x-diff
Expires
Fri, Feb 6, 5:48 PM (1 d, 13 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
55668
Default Alt Text
(1 KB)

Event Timeline