diff options
author | ale <ale@FreeBSD.org> | 2006-11-08 16:16:43 +0800 |
---|---|---|
committer | ale <ale@FreeBSD.org> | 2006-11-08 16:16:43 +0800 |
commit | c11c5264d35596063caa619dc3073bee3b491cd4 (patch) | |
tree | 4b13f4ff21101987538416f3418501bdd021aa16 | |
parent | ef6af6c165b809a86dcbd82be8671bdd0daa3098 (diff) | |
download | freebsd-ports-gnome-c11c5264d35596063caa619dc3073bee3b491cd4.tar.gz freebsd-ports-gnome-c11c5264d35596063caa619dc3073bee3b491cd4.tar.zst freebsd-ports-gnome-c11c5264d35596063caa619dc3073bee3b491cd4.zip |
Fix build with a threaded php 5.2.0.
-rw-r--r-- | databases/pecl-PDO/files/patch-pdo.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/databases/pecl-PDO/files/patch-pdo.c b/databases/pecl-PDO/files/patch-pdo.c new file mode 100644 index 000000000000..e597b08c9e77 --- /dev/null +++ b/databases/pecl-PDO/files/patch-pdo.c @@ -0,0 +1,11 @@ +--- pdo.c.orig Wed Nov 8 09:14:17 2006 ++++ pdo.c Wed Nov 8 09:14:45 2006 +@@ -74,7 +74,7 @@ + } + } + #endif +-#if (PHP_MAJOR_VERSION < 6) ++#if (PHP_MAJOR_VERSION <= 5) && (PHP_MINOR_VERSION < 2) + return zend_exception_get_default(); + #else + return zend_exception_get_default(TSRMLS_C); |