[Bug 240867] graphics/php-facedetect: fix build on GCC architectures with php74

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Sep 27 10:01:29 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240867

            Bug ID: 240867
           Summary: graphics/php-facedetect: fix build on GCC
                    architectures with php74
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: mm at FreeBSD.org
          Reporter: pkubaj at FreeBSD.org
          Assignee: mm at FreeBSD.org
             Flags: maintainer-feedback?(mm at FreeBSD.org)

Created attachment 207882
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=207882&action=edit
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/graphics/php-facedetect/work-php74/PHP-Facedetect-4b1dfe1/facedetect.c:23:
/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
/wrkdirs/usr/ports/graphics/php-facedetect/work-php74/PHP-Facedetect-4b1dfe1/facedetect.c:
In function 'php_facedetect':
/wrkdirs/usr/ports/graphics/php-facedetect/work-php74/PHP-Facedetect-4b1dfe1/facedetect.c:94:
warning: assignment makes pointer from integer without a cast

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list