php: fix bug 71041
This commit is contained in:
parent
bfe31dfdcd
commit
45ef74ccce
@ -253,12 +253,17 @@ in {
|
||||
version = "7.2.13";
|
||||
sha256 = "0bg9nfc250p24hxn4bdjz7ngcw75h8rpf4qjxqzcs6s9fvxlcjjv";
|
||||
|
||||
# https://bugs.php.net/bug.php?id=71041
|
||||
# https://bugs.php.net/bug.php?id=76826
|
||||
extraPatches = optional stdenv.isDarwin ./php72-darwin-isfinite.patch;
|
||||
extraPatches = [ ./fix-bug-71041.patch ]
|
||||
++ optional stdenv.isDarwin ./php72-darwin-isfinite.patch;
|
||||
};
|
||||
|
||||
php73 = generic {
|
||||
version = "7.3.0";
|
||||
sha256 = "0rvwx37dsmxivgrf4wfc1y778iln498c6a40biy9k6lnr6p7s9ks";
|
||||
|
||||
# https://bugs.php.net/bug.php?id=71041
|
||||
extraPatches = [ ./fix-bug-71041.patch ];
|
||||
};
|
||||
}
|
||||
|
25
pkgs/development/interpreters/php/fix-bug-71041.patch
Normal file
25
pkgs/development/interpreters/php/fix-bug-71041.patch
Normal file
@ -0,0 +1,25 @@
|
||||
diff --git a/Zend/zend_signal.c b/Zend/zend_signal.c
|
||||
index 24d454d..6307620 100644
|
||||
--- a/Zend/zend_signal.c
|
||||
+++ b/Zend/zend_signal.c
|
||||
@@ -399,7 +399,7 @@ void zend_signal_init(void) /* {{{ */
|
||||
|
||||
/* {{{ zend_signal_startup
|
||||
* alloc zend signal globals */
|
||||
-void zend_signal_startup(void)
|
||||
+ZEND_API void zend_signal_startup(void)
|
||||
{
|
||||
|
||||
#ifdef ZTS
|
||||
diff --git a/Zend/zend_signal.h b/Zend/zend_signal.h
|
||||
index e8ee7d6..462d06f 100644
|
||||
--- a/Zend/zend_signal.h
|
||||
+++ b/Zend/zend_signal.h
|
||||
@@ -89,7 +89,7 @@ ZEND_API void zend_signal_handler_unblock(void);
|
||||
void zend_signal_activate(void);
|
||||
void zend_signal_deactivate(void);
|
||||
BEGIN_EXTERN_C()
|
||||
-void zend_signal_startup(void);
|
||||
+ZEND_API void zend_signal_startup(void);
|
||||
END_EXTERN_C()
|
||||
void zend_signal_init(void);
|
Loading…
Reference in New Issue
Block a user