diff options
author | Alex Dupre <ale@FreeBSD.org> | 2006-11-08 08:16:43 +0000 |
---|---|---|
committer | Alex Dupre <ale@FreeBSD.org> | 2006-11-08 08:16:43 +0000 |
commit | 6b1bb7269a4e3385ad627bc4ac3ff896a7ea8c4f (patch) | |
tree | 2f86abbfbcecdb9e7a51f6c55d6647083243d5f9 /databases | |
parent | 1ae8539628d5e33c31403b3dcdea1749b8983461 (diff) | |
download | ports-6b1bb7269a4e3385ad627bc4ac3ff896a7ea8c4f.tar.gz ports-6b1bb7269a4e3385ad627bc4ac3ff896a7ea8c4f.zip |
Fix build with a threaded php 5.2.0.
Notes
Notes:
svn path=/head/; revision=176801
Diffstat (limited to 'databases')
-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); |