diff options
author | jdolecek <jdolecek> | 2007-09-11 20:14:46 +0000 |
---|---|---|
committer | jdolecek <jdolecek> | 2007-09-11 20:14:46 +0000 |
commit | d2f057329e7ea2d721ca559a852cfb87633d6f2a (patch) | |
tree | f86b93fb78df2951e9b862a53268bdff79693025 /lang/php5/patches | |
parent | 6fff2efdbdfd8330dfc4a041a5d1ec743272e8a6 (diff) | |
download | pkgsrc-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/patches')
-rw-r--r-- | lang/php5/patches/patch-ar | 13 |
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 */ |