summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorAlex Dupre <ale@FreeBSD.org>2007-09-16 15:39:32 +0000
committerAlex Dupre <ale@FreeBSD.org>2007-09-16 15:39:32 +0000
commite0a198327a7f65bf137df8f3baf5b1d451928804 (patch)
tree2d955ca1d11adc4ed9e28c8d2c3106310a263aef /databases
parentBegin planning for de-orbit burn. This does not build with gcc4.2, and (diff)
Try to fix compilation with gcc 4.2 and -current.
Notes
Notes: svn path=/head/; revision=199563
Diffstat (limited to 'databases')
-rw-r--r--databases/php4-mysql/files/patch-config.m410
1 files changed, 10 insertions, 0 deletions
diff --git a/databases/php4-mysql/files/patch-config.m4 b/databases/php4-mysql/files/patch-config.m4
new file mode 100644
index 000000000000..faf39d9095da
--- /dev/null
+++ b/databases/php4-mysql/files/patch-config.m4
@@ -0,0 +1,10 @@
+--- config.m4.orig 2007-09-16 17:36:59.000000000 +0200
++++ config.m4 2007-09-16 17:37:28.000000000 +0200
+@@ -61,6 +61,7 @@
+ if test "$PHP_MYSQL" != "no"; then
+ AC_DEFINE(HAVE_MYSQL, 1, [Whether you have MySQL])
+
++ AC_LANG_PREPROC(C)
+ AC_MSG_CHECKING(for MySQL UNIX socket location)
+ if test "$PHP_MYSQL_SOCK" != "no" && test "$PHP_MYSQL_SOCK" != "yes"; then
+ MYSQL_SOCK=$PHP_MYSQL_SOCK