aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorsbruno <sbruno@FreeBSD.org>2014-12-31 08:35:22 +0800
committersbruno <sbruno@FreeBSD.org>2014-12-31 08:35:22 +0800
commitced15c8b41052e1b265d9e1effff260e4827213d (patch)
treecf0cea1bf65eebc61a525601cc43f854dc1b51c1 /lang
parente820d785d77365d9b5aa2043b76482196e222c67 (diff)
downloadfreebsd-ports-gnome-ced15c8b41052e1b265d9e1effff260e4827213d.tar.gz
freebsd-ports-gnome-ced15c8b41052e1b265d9e1effff260e4827213d.tar.zst
freebsd-ports-gnome-ced15c8b41052e1b265d9e1effff260e4827213d.zip
Fix build for armv6 with an upstream commit:
http://git.php.net/?p=php-src.git;a=commitdiff;h=050aae2860e1c202e2e9db715beaa97d0a4c9c33;hp=e67a2b9e471a7bc0b774b9056bb38745b7187969#patch1 PR: 196067 Submitted by: mikael.urankar@gmail.com Reviewed by: flo@ Approved by: mentor (implicit)
Diffstat (limited to 'lang')
-rw-r--r--lang/php53/Makefile2
-rw-r--r--lang/php53/files/patch-Zend_zend__ini.h11
2 files changed, 12 insertions, 1 deletions
diff --git a/lang/php53/Makefile b/lang/php53/Makefile
index b0f539a07c2a..fbd8eba13675 100644
--- a/lang/php53/Makefile
+++ b/lang/php53/Makefile
@@ -3,7 +3,7 @@
PORTNAME= php53
PORTVERSION= 5.3.29
-PORTREVISION?= 2
+PORTREVISION?= 3
CATEGORIES?= lang devel www
MASTER_SITES= ${MASTER_SITE_PHP}
MASTER_SITE_SUBDIR= distributions
diff --git a/lang/php53/files/patch-Zend_zend__ini.h b/lang/php53/files/patch-Zend_zend__ini.h
new file mode 100644
index 000000000000..f1a55168e581
--- /dev/null
+++ b/lang/php53/files/patch-Zend_zend__ini.h
@@ -0,0 +1,11 @@
+--- Zend/zend_ini.h.orig 2014-12-17 16:24:10 UTC
++++ Zend/zend_ini.h
+@@ -28,7 +28,7 @@
+ #define ZEND_INI_ALL (ZEND_INI_USER|ZEND_INI_PERDIR|ZEND_INI_SYSTEM)
+
+ #ifndef XtOffsetOf
+-# if defined(CRAY) || (defined(__arm) && !defined(LINUX))
++# if defined(CRAY) || (defined(__ARMCC_VERSION) && !defined(LINUX))
+ # ifdef __STDC__
+ # define XtOffset(p_type, field) _Offsetof(p_type, field)
+ # else