]> git.pld-linux.org Git - packages/php.git/commitdiff
- fix for mnogosearch php extension compilation with Firebird 1.5.x
authorhawk <hawk@pld-linux.org>
Wed, 9 Jun 2004 22:03:21 +0000 (22:03 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    php-mnogosearch-fix.patch -> 1.1

php-mnogosearch-fix.patch [new file with mode: 0644]

diff --git a/php-mnogosearch-fix.patch b/php-mnogosearch-fix.patch
new file mode 100644 (file)
index 0000000..cb4af45
--- /dev/null
@@ -0,0 +1,15 @@
+diff -ur php-4.3.7-orig/ext/mnogosearch/config.m4 php-4.3.7-patched/ext/mnogosearch/config.m4
+--- php-4.3.7-orig/ext/mnogosearch/config.m4   2003-10-03 05:25:38.000000000 +0000
++++ php-4.3.7-patched/ext/mnogosearch/config.m4        2004-06-09 21:32:04.000000000 +0000
+@@ -46,8 +46,10 @@
+     PHP_ADD_INCLUDE($MNOGOSEARCH_INCDIR)
+     
+     AC_DEFINE(HAVE_MNOGOSEARCH,1,[ ])
++    MNOGOSEARCH_CFLAGS="$CPPFLAGS -DNOT_USED_OR_REPLACED"
+     
+     PHP_SUBST(MNOGOSEARCH_SHARED_LIBADD)
+-    PHP_NEW_EXTENSION(mnogosearch, php_mnogo.c, $ext_shared)
++    PHP_SUBST(MNOGOSEARCH_CFLAGS)
++    PHP_NEW_EXTENSION(mnogosearch, php_mnogo.c, $ext_shared,, $MNOGOSEARCH_CFLAGS)
+     
+   fi
This page took 0.038891 seconds and 4 git commands to generate.