[arch-commits] Commit in php/trunk (PKGBUILD mysqlnd-socket.patch)

Pierre Schmitz pierre at archlinux.org
Thu Nov 19 17:00:42 EST 2009


    Date: Thursday, November 19, 2009 @ 17:00:42
  Author: pierre
Revision: 59053

hardcode mysql socket for pdo as well

Modified:
  php/trunk/PKGBUILD
  php/trunk/mysqlnd-socket.patch

----------------------+
 PKGBUILD             |    2 +-
 mysqlnd-socket.patch |   11 +++++++++++
 2 files changed, 12 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-11-19 19:05:07 UTC (rev 59052)
+++ PKGBUILD	2009-11-19 22:00:42 UTC (rev 59053)
@@ -39,7 +39,7 @@
          'd6f94150f47047882c6716575e12e99b'
          '96ca078be6729b665be8a865535a97bf'
          'cd3d068931c3715e35634e9885e35374'
-         '993223e03e6c0cc2d89581550ebbbe67')
+         'e3dcd1ea071d0d71bdc1cbb52e9f926e')
 
 build() {
 	phpconfig="--prefix=/usr \

Modified: mysqlnd-socket.patch
===================================================================
--- mysqlnd-socket.patch	2009-11-19 19:05:07 UTC (rev 59052)
+++ mysqlnd-socket.patch	2009-11-19 22:00:42 UTC (rev 59053)
@@ -9,3 +9,14 @@
  		}
  		transport_len = spprintf(&transport, 0, "unix://%s", socket);
  		unix_socket = TRUE;
+--- ext/pdo_mysql/pdo_mysql.c	2009-10-14 15:51:25.000000000 +0200
++++ ext/pdo_mysql/pdo_mysql.c	2009-11-19 22:52:13.460628605 +0100
+@@ -40,7 +40,7 @@
+ 
+ #ifndef PHP_WIN32
+ # ifndef PDO_MYSQL_UNIX_ADDR
+-#  define PDO_MYSQL_UNIX_ADDR  "/tmp/mysql.sock"
++#  define PDO_MYSQL_UNIX_ADDR  "/var/run/mysqld/mysqld.sock"
+ # endif
+ #endif
+ 



More information about the arch-commits mailing list