X-Git-Url: http://gitweb.michael.orlitzky.com/?p=mjo-overlay.git;a=blobdiff_plain;f=dev-lang%2Fphp%2Ffiles%2Fall_strict_aliasing.patch;fp=dev-lang%2Fphp%2Ffiles%2Fall_strict_aliasing.patch;h=cfa609085e5e7b42d8b37e84c986febbf59a77d5;hp=0000000000000000000000000000000000000000;hb=e9b6003551af59f6957afa8e076c2433c3778166;hpb=15005b00acc089b4c7cec4bdaaf3d58f0aef444c diff --git a/dev-lang/php/files/all_strict_aliasing.patch b/dev-lang/php/files/all_strict_aliasing.patch new file mode 100644 index 0000000..cfa6090 --- /dev/null +++ b/dev-lang/php/files/all_strict_aliasing.patch @@ -0,0 +1,14 @@ +upstream bug: http://bugs.php.net/bug.php?id=46311 +The current patch follows a suggestion from Siarhei Siamashka +Adapted for php 5.5 +--- Zend/zend_execute.h.old 2013-01-01 13:49:04.587825704 +0100 ++++ Zend/zend_execute.h 2013-01-01 13:53:28.762958578 +0100 +@@ -293,7 +293,7 @@ + void **end = p - (int)(zend_uintptr_t)*p; + + while (p != end) { +- zval *q = *(zval **)(--p); ++ zval *q = (zval *)*(--p); + *p = NULL; + i_zval_ptr_dtor(q ZEND_FILE_LINE_CC); + }