Date: Sun, 25 Oct 2020 08:26:15 +0000 (UTC) From: Martin Matuska <mm@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r553246 - in head/graphics/php-facedetect: . files Message-ID: <202010250826.09P8QF56092611@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mm Date: Sun Oct 25 08:26:15 2020 New Revision: 553246 URL: https://svnweb.freebsd.org/changeset/ports/553246 Log: graphics/php-facedetect: unbreak build with PHP 8 Added: head/graphics/php-facedetect/files/patch-php__facedetect.h (contents, props changed) Modified: head/graphics/php-facedetect/Makefile head/graphics/php-facedetect/files/patch-facedetect.c Modified: head/graphics/php-facedetect/Makefile ============================================================================== --- head/graphics/php-facedetect/Makefile Sun Oct 25 08:21:28 2020 (r553245) +++ head/graphics/php-facedetect/Makefile Sun Oct 25 08:26:15 2020 (r553246) @@ -3,7 +3,7 @@ PORTNAME= facedetect PORTVERSION= 1.1 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= graphics PKGNAMEPREFIX= ${PHP_PKGNAMEPREFIX} Modified: head/graphics/php-facedetect/files/patch-facedetect.c ============================================================================== --- head/graphics/php-facedetect/files/patch-facedetect.c Sun Oct 25 08:21:28 2020 (r553245) +++ head/graphics/php-facedetect/files/patch-facedetect.c Sun Oct 25 08:26:15 2020 (r553246) @@ -1,5 +1,5 @@ ---- 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 <opencv/cv.h> Added: head/graphics/php-facedetect/files/patch-php__facedetect.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/php-facedetect/files/patch-php__facedetect.h Sun Oct 25 08:26:15 2020 (r553246) @@ -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 +
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202010250826.09P8QF56092611>