summaryrefslogtreecommitdiffstats
path: root/221.patch
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2015-11-05 19:47:12 +0100
committerRemi Collet <fedora@famillecollet.com>2015-11-05 19:47:12 +0100
commit04329ec1cb81ce982891074235d83053a15ef576 (patch)
tree22f18bcfe1a92739e878215ef9605268e29cb9a7 /221.patch
parentab16b07ac79825b548ac6fefe65c13f1b51b4dd5 (diff)
php-pecl-xdebug: 2.4.0beta1 (php 5 and 7)
Diffstat (limited to '221.patch')
-rw-r--r--221.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/221.patch b/221.patch
new file mode 100644
index 0000000..9244f65
--- /dev/null
+++ b/221.patch
@@ -0,0 +1,22 @@
+From 7d540886765540e593c2dc89d63e41504697f1b2 Mon Sep 17 00:00:00 2001
+From: Remi Collet <fedora@famillecollet.com>
+Date: Thu, 5 Nov 2015 19:13:33 +0100
+Subject: [PATCH] fix build on i686
+
+---
+ xdebug_code_coverage.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/xdebug_code_coverage.c b/xdebug_code_coverage.c
+index 6c52f81..8745b04 100644
+--- a/xdebug_code_coverage.c
++++ b/xdebug_code_coverage.c
+@@ -554,7 +554,7 @@ static zend_brk_cont_element* xdebug_find_brk_cont(zend_uint nest_levels, int ar
+
+ static int xdebug_find_jump(zend_op_array *opa, unsigned int position, long *jmp1, long *jmp2)
+ {
+-#if PHP_VERSION_ID < 70000
++#if defined(ZEND_USE_ABS_JMP_ADDR) || PHP_VERSION_ID < 70000
+ zend_op *base_address = &(opa->opcodes[0]);
+ #endif
+