svn commit: r553246 - in head/graphics/php-facedetect: . files

Martin Matuska mm at FreeBSD.org
Sun Oct 25 08:26:16 UTC 2020


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
+ 


More information about the svn-ports-all mailing list