Bug 196067

Summary: [PATCH] lang/php53 fails to build on armv6
Product: Ports & Packages Reporter: Mikael Urankar <mikael>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed FIXED    
Severity: Affects Many People CC: flo, sbruno
Priority: --- Flags: sbruno: maintainer-feedback?
Version: Latest   
Hardware: arm   
OS: Any   
Attachments:
Description Flags
files/patch-Zend_zend__ini.h none

Description Mikael Urankar freebsd_committer freebsd_triage 2014-12-17 16:33:06 UTC
Created attachment 150684 [details]
files/patch-Zend_zend__ini.h

Current build error:
/wrkdirs/usr/ports/lang/php53/work/php-5.3.29/ext/date/php_date.c:516:88: error: unexpected type name 'zend_date_globals': expected expression
        STD_PHP_INI_ENTRY("date.timezone", "", PHP_INI_ALL, OnUpdateString, default_timezone, zend_date_globals, date_globals)

It was fixed upstream by this commit:
http://git.php.net/?p=php-src.git;a=commitdiff;h=050aae2860e1c202e2e9db715beaa97d0a4c9c33;hp=e67a2b9e471a7bc0b774b9056bb38745b7187969#patch1

Put the attached file in lang/php53/files

build log on armv6:
http://mikael.urankar.free.fr/FreeBSD/arm/build_logs/php53-5.3.29_2.log
Comment 2 commit-hook freebsd_committer freebsd_triage 2014-12-31 00:36:00 UTC
A commit references this bug:

Author: sbruno
Date: Wed Dec 31 00:35:23 UTC 2014
New revision: 375867
URL: https://svnweb.freebsd.org/changeset/ports/375867

Log:
  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)

Changes:
  head/lang/php53/Makefile
  head/lang/php53/files/patch-Zend_zend__ini.h