Bug 240813 - databases/php-memcache: fix build on GCC architectures with PHP 7.4
Summary: databases/php-memcache: fix build on GCC architectures with PHP 7.4
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Po-Chuan Hsieh
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-09-25 13:28 UTC by Piotr Kubaj
Modified: 2019-09-25 20:56 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (sunpoet)


Attachments
patch (383 bytes, patch)
2019-09-25 13:28 UTC, Piotr Kubaj
pkubaj: maintainer-approval? (sunpoet)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Kubaj freebsd_committer freebsd_triage 2019-09-25 13:28:48 UTC
Created attachment 207800 [details]
patch

php74 introduced C11 requirement:
In file included from /usr/local/include/php/Zend/zend_modules.h:24,
                 from /usr/local/include/php/Zend/zend_API.h:25,
                 from /usr/local/include/php/main/php.h:37,
                 from /wrkdirs/usr/ports/databases/php-memcache/work-php74/pecl-memcache-4.0.4/php7/memcache_pool.h:44,
                 from /wrkdirs/usr/ports/databases/php-memcache/work-php74/pecl-memcache-4.0.4/php7/memcache_binary_protocol.c:36:
/usr/local/include/php/Zend/zend_compile.h:363: error: redefinition of typedef 'zend_property_info'
/usr/local/include/php/Zend/zend_types.h:385: error: previous declaration of 'zend_property_info' was her
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2019-09-25 17:55:11 UTC
Approved as mentor (builds on ppcports) pending maintainer review.
Comment 2 commit-hook freebsd_committer freebsd_triage 2019-09-25 20:55:19 UTC
A commit references this bug:

Author: sunpoet
Date: Wed Sep 25 20:55:07 UTC 2019
New revision: 512856
URL: https://svnweb.freebsd.org/changeset/ports/512856

Log:
  Fix build on GCC architectures with PHP 7.4

  PR:		240813
  Submitted by:	pkubaj

Changes:
  head/databases/php-memcache/Makefile
Comment 3 Po-Chuan Hsieh freebsd_committer freebsd_triage 2019-09-25 20:56:17 UTC
Committed. Thanks!