aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStuart Shelton <stuart@shelton.me>2015-04-24 13:36:07 +0100
committerStuart Shelton <stuart@shelton.me>2015-04-24 13:36:07 +0100
commit8c69ce4a5d95e86c8be05ef8eca3f1d147f93714 (patch)
treecbe0dedbe0a12c328abb9fe68a64ab14db242c57 /dev-lang/php/files/all_strict_aliasing.patch
parentUpdate files for net-firewall/iptables-nftables (diff)
downloadsrcshelton-8c69ce4a5d95e86c8be05ef8eca3f1d147f93714.tar.gz
srcshelton-8c69ce4a5d95e86c8be05ef8eca3f1d147f93714.tar.bz2
srcshelton-8c69ce4a5d95e86c8be05ef8eca3f1d147f93714.zip
Add dev-lang/php, dev-php/PEAR-PEAR, media-libs/libvpx with 'addpredict' updates to allow '/var/state' to be used in place of '/var/lib'
Diffstat (limited to 'dev-lang/php/files/all_strict_aliasing.patch')
-rw-r--r--dev-lang/php/files/all_strict_aliasing.patch14
1 files changed, 14 insertions, 0 deletions
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 00000000..cfa60908
--- /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);
+ }