Bug 240866 - databases/pecl-mongodb: fix build on GCC architectures with php74
Summary: databases/pecl-mongodb: fix build on GCC architectures with php74
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Kurt Jaeger
Depends on:
Reported: 2019-09-27 09:59 UTC by Piotr Kubaj
Modified: 2019-09-27 22:51 UTC (History)
1 user (show)

See Also:
pi: maintainer-feedback+

patch (331 bytes, patch)
2019-09-27 09:59 UTC, Piotr Kubaj
pkubaj: maintainer-approval? (pi)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Kubaj freebsd_committer 2019-09-27 09:59:12 UTC
Created attachment 207881 [details]

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/pecl-mongodb/work-php74/mongodb-1.6.0/src/BSON/Javascript.c:17:
/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 here
Comment 1 Kurt Jaeger freebsd_committer 2019-09-27 10:23:08 UTC
Approved. I'm traveling, can you commit it ?
Comment 2 Piotr Kubaj freebsd_committer 2019-09-27 22:51:24 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240883 fixes it in better way.