summaryrefslogtreecommitdiff
path: root/lang/php5/patches/patch-ar
diff options
context:
space:
mode:
Diffstat (limited to 'lang/php5/patches/patch-ar')
-rw-r--r--lang/php5/patches/patch-ar13
1 files changed, 13 insertions, 0 deletions
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 */