Page Menu
Home
Phabricator (Chris)
Search
Configure Global Search
Log In
Files
F102601
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
View Options
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
Details
Attached
Mime Type
text/x-diff
Expires
Fri, Feb 6, 5:48 PM (1 d, 17 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
55668
Default Alt Text
(1 KB)
Attached To
Mode
R114 php-mongodb
Attached
Detach File
Event Timeline
Log In to Comment