Index: head/graphics/php-facedetect/Makefile =================================================================== --- head/graphics/php-facedetect/Makefile (revision 553245) +++ head/graphics/php-facedetect/Makefile (revision 553246) @@ -1,28 +1,28 @@ # Created by: Martin Matuska # $FreeBSD$ PORTNAME= facedetect PORTVERSION= 1.1 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= graphics PKGNAMEPREFIX= ${PHP_PKGNAMEPREFIX} MAINTAINER= mm@FreeBSD.org COMMENT= Face detection extension for PHP using OpenCV library LICENSE= PHP30 LIB_DEPENDS= libopencv_objdetect.so:graphics/opencv USE_GITHUB= yes GH_ACCOUNT= infusion GH_PROJECT= PHP-Facedetect GH_TAGNAME= 4b1dfe1 LIBS+= -lopencv_core USES= localbase php:ext CONFIGURE_ARGS+= --with-facedetect .include Index: head/graphics/php-facedetect/files/patch-facedetect.c =================================================================== --- head/graphics/php-facedetect/files/patch-facedetect.c (revision 553245) +++ head/graphics/php-facedetect/files/patch-facedetect.c (revision 553246) @@ -1,10 +1,10 @@ ---- facedetect.c.orig 2018-05-02 21:46:34.553339000 +0000 -+++ facedetect.c 2018-05-02 21:46:52.704512000 +0000 +--- facedetect.c.orig 2011-12-28 16:18:09 UTC ++++ facedetect.c @@ -25,6 +25,7 @@ #include #include +#include /* {{{ facedetect_functions[] * Index: head/graphics/php-facedetect/files/patch-php__facedetect.h =================================================================== --- head/graphics/php-facedetect/files/patch-php__facedetect.h (nonexistent) +++ head/graphics/php-facedetect/files/patch-php__facedetect.h (revision 553246) @@ -0,0 +1,14 @@ +--- php_facedetect.h.orig 2020-10-25 08:22:36 UTC ++++ php_facedetect.h +@@ -32,5 +32,11 @@ PHP_FUNCTION(face_count); + extern zend_module_entry facedetect_module_entry; + #define phpext_facedetect_ptr &facedetect_module_entry + ++#if PHP_VERSION_ID >= 80000 ++#ifndef TSRMLS_CC ++#define TSRMLS_CC ++#endif ++#endif ++ + #endif + Property changes on: head/graphics/php-facedetect/files/patch-php__facedetect.h ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property