summaryrefslogtreecommitdiffstats
path: root/php-5.4.0-dlopen.patch
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2014-08-31 16:11:59 +0200
committerRemi Collet <fedora@famillecollet.com>2014-08-31 16:11:59 +0200
commitaf54b5064e163d80e6843cc0e617b09bc4607854 (patch)
tree4fb1ff9bae0b2a0992b05e5676fc0e92cccd0f12 /php-5.4.0-dlopen.patch
import php54-php 5.4.16 from rhscl 1.1
Diffstat (limited to 'php-5.4.0-dlopen.patch')
-rw-r--r--php-5.4.0-dlopen.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/php-5.4.0-dlopen.patch b/php-5.4.0-dlopen.patch
new file mode 100644
index 0000000..c2b0e40
--- /dev/null
+++ b/php-5.4.0-dlopen.patch
@@ -0,0 +1,17 @@
+--- php-5.4.0RC5/Zend/zend.h.dlopen 2012-01-18 17:10:33.972013835 +0100
++++ php-5.4.0RC5/Zend/zend.h 2012-01-18 17:12:39.175019492 +0100
+@@ -90,11 +90,11 @@
+ # endif
+
+ # if defined(RTLD_GROUP) && defined(RTLD_WORLD) && defined(RTLD_PARENT)
+-# define DL_LOAD(libname) dlopen(libname, RTLD_LAZY | RTLD_GLOBAL | RTLD_GROUP | RTLD_WORLD | RTLD_PARENT)
++# define DL_LOAD(libname) dlopen(libname, RTLD_NOW | RTLD_GLOBAL | RTLD_GROUP | RTLD_WORLD | RTLD_PARENT)
+ # elif defined(RTLD_DEEPBIND)
+-# define DL_LOAD(libname) dlopen(libname, RTLD_LAZY | RTLD_GLOBAL | RTLD_DEEPBIND)
++# define DL_LOAD(libname) dlopen(libname, RTLD_NOW | RTLD_GLOBAL | RTLD_DEEPBIND)
+ # else
+-# define DL_LOAD(libname) dlopen(libname, RTLD_LAZY | RTLD_GLOBAL)
++# define DL_LOAD(libname) dlopen(libname, RTLD_NOW | RTLD_GLOBAL)
+ # endif
+ # define DL_UNLOAD dlclose
+ # if defined(DLSYM_NEEDS_UNDERSCORE)