summaryrefslogtreecommitdiff
path: root/lang/php5
diff options
context:
space:
mode:
authorjdolecek <jdolecek>2007-09-11 20:14:46 +0000
committerjdolecek <jdolecek>2007-09-11 20:14:46 +0000
commitd2f057329e7ea2d721ca559a852cfb87633d6f2a (patch)
treef86b93fb78df2951e9b862a53268bdff79693025 /lang/php5
parent6fff2efdbdfd8330dfc4a041a5d1ec743272e8a6 (diff)
downloadpkgsrc-d2f057329e7ea2d721ca559a852cfb87633d6f2a.tar.gz
add a patch to also adjust the Mac OS X-specific NSLinkModule()-based
extension loading code to export all symbols (i.e. do equivalent of dlopen(..., RTLD_GLOBAL)), so that older Mac OS X without dlopen() (before 10.4) also load extensions properly patch also submitted as PHP bug# 42629
Diffstat (limited to 'lang/php5')
-rw-r--r--lang/php5/distinfo3
-rw-r--r--lang/php5/patches/patch-ar13
2 files changed, 15 insertions, 1 deletions
diff --git a/lang/php5/distinfo b/lang/php5/distinfo
index 053e2854035..34cd3721e02 100644
--- a/lang/php5/distinfo
+++ b/lang/php5/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.48 2007/09/04 23:39:31 jdolecek Exp $
+$NetBSD: distinfo,v 1.49 2007/09/11 20:14:46 jdolecek Exp $
SHA1 (php-5.2.4/php-5.2.4.tar.bz2) = 0e8f42d1363b17fbaeb3e7732ab1a501a9a12c8e
RMD160 (php-5.2.4/php-5.2.4.tar.bz2) = 22728d27ec3ba3287943ea878fefbba0b4ffdc00
@@ -14,3 +14,4 @@ SHA1 (patch-an) = f07a08f8ee1a18f6371af9bd6c482d936e9220e4
SHA1 (patch-ao) = 4f22a112e5626b2f9fa029363c9e451e77136e97
SHA1 (patch-ap) = 5eb0e0e4244a993da93e36f8fcb5553454207fce
SHA1 (patch-aq) = 0c9d48547da2fa80aa8357d23ad8505d1c0330df
+SHA1 (patch-ar) = 10f4394dc62acd9b9e20fb86321fe2dcaca7e282
diff --git a/lang/php5/patches/patch-ar b/lang/php5/patches/patch-ar
new file mode 100644
index 00000000000..0ffa801568a
--- /dev/null
+++ b/lang/php5/patches/patch-ar
@@ -0,0 +1,13 @@
+$NetBSD: patch-ar,v 1.3 2007/09/11 20:14:46 jdolecek Exp $
+
+--- Zend/zend_extensions.c.orig 2007-09-11 22:00:50.000000000 +0200
++++ Zend/zend_extensions.c
+@@ -243,7 +243,7 @@ void *zend_mh_bundle_load(char* bundle_p
+ return NULL;
+ }
+
+- bundle_handle = NSLinkModule(bundle_image, bundle_path, NSLINKMODULE_OPTION_PRIVATE);
++ bundle_handle = NSLinkModule(bundle_image, bundle_path, NSLINKMODULE_OPTION_NONE);
+ NSDestroyObjectFileImage(bundle_image);
+
+ /* call the init function of the bundle */