From c11c5264d35596063caa619dc3073bee3b491cd4 Mon Sep 17 00:00:00 2001 From: ale Date: Wed, 8 Nov 2006 08:16:43 +0000 Subject: Fix build with a threaded php 5.2.0. --- databases/pecl-PDO/files/patch-pdo.c | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 databases/pecl-PDO/files/patch-pdo.c 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); -- cgit