1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

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)
This commit is contained in:
Sean Bruno 2014-12-31 00:35:22 +00:00
parent de85d6b218
commit 1cd6488449
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=375867
2 changed files with 12 additions and 1 deletions

View File

@ -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

View File

@ -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