summaryrefslogtreecommitdiffstats
path: root/php-7.2.4-dlopen.patch
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2019-05-21 13:58:20 +0200
committerRemi Collet <remi@remirepo.net>2019-05-21 13:58:20 +0200
commit80ec9ea59d88682892c6d4414ec2edf86020740c (patch)
tree0d4dbcf854b4c84f15f894a92dc47803303281b1 /php-7.2.4-dlopen.patch
parentbcdc89c86ea8958208879f36338d929514b4427e (diff)
- update to 7.4.0-dev
- drop interbase extension and sub-package - move pdo_firebird extension in pdo-firebird sub-package - drop wddx extension - add ffi extension in new ffi sub-package - use pkgconfig dependencies for ext using PHP_CHECK_MODULE
Diffstat (limited to 'php-7.2.4-dlopen.patch')
-rw-r--r--php-7.2.4-dlopen.patch30
1 files changed, 0 insertions, 30 deletions
diff --git a/php-7.2.4-dlopen.patch b/php-7.2.4-dlopen.patch
deleted file mode 100644
index 3c76474..0000000
--- a/php-7.2.4-dlopen.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-diff -up php-7.2.4RC1/sapi/litespeed/lsapilib.c.dlopen php-7.2.4RC1/sapi/litespeed/lsapilib.c
---- php-7.2.4RC1/sapi/litespeed/lsapilib.c.dlopen 2018-03-13 12:40:25.330885880 +0100
-+++ php-7.2.4RC1/sapi/litespeed/lsapilib.c 2018-03-13 12:41:35.797251042 +0100
-@@ -755,7 +755,7 @@ static int (*fp_lve_leave)(struct liblve
- static int (*fp_lve_jail)( struct passwd *, char *) = NULL;
- static int lsapi_load_lve_lib(void)
- {
-- s_liblve = dlopen("liblve.so.0", RTLD_LAZY);
-+ s_liblve = dlopen("liblve.so.0", RTLD_NOW);
- if (s_liblve)
- {
- fp_lve_is_available = dlsym(s_liblve, "lve_is_available");
-diff -up php-7.2.4RC1/Zend/zend_portability.h.dlopen php-7.2.4RC1/Zend/zend_portability.h
---- php-7.2.4RC1/Zend/zend_portability.h.dlopen 2018-03-13 12:33:38.000000000 +0100
-+++ php-7.2.4RC1/Zend/zend_portability.h 2018-03-13 12:40:25.330885880 +0100
-@@ -144,11 +144,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) && !defined(__SANITIZE_ADDRESS__)
--# 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)