summaryrefslogtreecommitdiff
path: root/dev-db/ctdb/files/autoconf-2.62-fix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'dev-db/ctdb/files/autoconf-2.62-fix.patch')
-rw-r--r--dev-db/ctdb/files/autoconf-2.62-fix.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/dev-db/ctdb/files/autoconf-2.62-fix.patch b/dev-db/ctdb/files/autoconf-2.62-fix.patch
new file mode 100644
index 000000000000..2f5bc2b77f37
--- /dev/null
+++ b/dev-db/ctdb/files/autoconf-2.62-fix.patch
@@ -0,0 +1,15 @@
+--- lib/replace/autoconf-2.60.m4.orig 2008-04-19 00:26:33.000000000 -0400
++++ lib/replace/autoconf-2.60.m4 2008-04-19 00:22:25.000000000 -0400
+@@ -179,6 +179,7 @@
+ # ------------------------
+ # Enable extensions on systems that normally disable them,
+ # typically due to standards-conformance issues.
++m4_ifndef([AC_USE_SYSTEM_EXTENSIONS],[
+ AC_DEFUN([AC_USE_SYSTEM_EXTENSIONS],
+ [
+ AC_BEFORE([$0], [AC_COMPILE_IFELSE])
+@@ -208,3 +209,4 @@
+ AC_DEFINE([__EXTENSIONS__])
+ AC_DEFINE([_POSIX_PTHREAD_SEMANTICS])
+ ])
++])