pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/php5 add a patch to also adjust the Mac OS X-spec...
details: https://anonhg.NetBSD.org/pkgsrc/rev/d99744513749
branches: trunk
changeset: 533244:d99744513749
user: jdolecek <jdolecek%pkgsrc.org@localhost>
date: Tue Sep 11 20:14:46 2007 +0000
description:
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:
lang/php5/distinfo | 3 ++-
lang/php5/patches/patch-ar | 13 +++++++++++++
2 files changed, 15 insertions(+), 1 deletions(-)
diffs (31 lines):
diff -r 308e488ef95b -r d99744513749 lang/php5/distinfo
--- a/lang/php5/distinfo Tue Sep 11 18:42:30 2007 +0000
+++ b/lang/php5/distinfo Tue Sep 11 20:14:46 2007 +0000
@@ -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-ao) = 4f22a112e5626b2f9fa029363c9e451e77136e97
SHA1 (patch-ap) = 5eb0e0e4244a993da93e36f8fcb5553454207fce
SHA1 (patch-aq) = 0c9d48547da2fa80aa8357d23ad8505d1c0330df
+SHA1 (patch-ar) = 10f4394dc62acd9b9e20fb86321fe2dcaca7e282
diff -r 308e488ef95b -r d99744513749 lang/php5/patches/patch-ar
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/php5/patches/patch-ar Tue Sep 11 20:14:46 2007 +0000
@@ -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 */
Home |
Main Index |
Thread Index |
Old Index