diff --git a/php-7.1.3-dlopen.patch b/php-7.1.16-dlopen.patch similarity index 63% rename from php-7.1.3-dlopen.patch rename to php-7.1.16-dlopen.patch index cd35dc0..7ace226 100644 --- a/php-7.1.3-dlopen.patch +++ b/php-7.1.16-dlopen.patch @@ -1,18 +1,18 @@ -diff -up php-7.1.3RC1/sapi/litespeed/lsapilib.c.dlopen php-7.1.3RC1/sapi/litespeed/lsapilib.c ---- php-7.1.3RC1/sapi/litespeed/lsapilib.c.dlopen 2017-02-28 10:12:34.000000000 +0100 -+++ php-7.1.3RC1/sapi/litespeed/lsapilib.c 2017-02-28 10:23:11.384521740 +0100 -@@ -616,7 +616,7 @@ static int (*fp_lve_leave)(struct liblve +diff -up php-7.1.16RC1/sapi/litespeed/lsapilib.c.dlopen php-7.1.16RC1/sapi/litespeed/lsapilib.c +--- php-7.1.16RC1/sapi/litespeed/lsapilib.c.dlopen 2018-03-14 13:19:47.998931942 +0100 ++++ php-7.1.16RC1/sapi/litespeed/lsapilib.c 2018-03-14 13:20:30.942148432 +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() + 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.1.3RC1/Zend/zend_portability.h.dlopen php-7.1.3RC1/Zend/zend_portability.h ---- php-7.1.3RC1/Zend/zend_portability.h.dlopen 2017-02-28 10:23:11.384521740 +0100 -+++ php-7.1.3RC1/Zend/zend_portability.h 2017-02-28 10:26:08.960308560 +0100 +diff -up php-7.1.16RC1/Zend/zend_portability.h.dlopen php-7.1.16RC1/Zend/zend_portability.h +--- php-7.1.16RC1/Zend/zend_portability.h.dlopen 2018-03-14 06:00:31.000000000 +0100 ++++ php-7.1.16RC1/Zend/zend_portability.h 2018-03-14 13:19:47.998931942 +0100 @@ -146,11 +146,11 @@ # endif diff --git a/php.spec b/php.spec index 22389fb..1891aa5 100644 --- a/php.spec +++ b/php.spec @@ -98,7 +98,7 @@ Patch7: php-5.3.0-recode.patch Patch8: php-7.0.2-libdb.patch # Functional changes -Patch40: php-7.1.3-dlopen.patch +Patch40: php-7.1.16-dlopen.patch Patch42: php-7.1.0-systzdata-v14.patch # See http://bugs.php.net/53436 Patch43: php-5.4.0-phpize.patch