svn commit: r555066 - head/graphics/php-facedetect

Piotr Kubaj pkubaj at FreeBSD.org
Sat Nov 14 01:37:41 UTC 2020


Author: pkubaj
Date: Sat Nov 14 01:37:40 2020
New Revision: 555066
URL: https://svnweb.freebsd.org/changeset/ports/555066

Log:
  graphics/php-facedetect: fix build on GCC architectures
  
  /wrkdirs/usr/ports/graphics/php-facedetect/work-php72/PHP-Facedetect-2a8974b/facedetect.cc:203: error: reference to 'uint32_t' is ambiguous
  /usr/include/sys/_stdint.h:66: error: candidates are: typedef __uint32_t uint32_t
  /usr/local/include/opencv2/core/cvdef.h:492: error:                 typedef uint32_t cv::uint32_t

Modified:
  head/graphics/php-facedetect/Makefile

Modified: head/graphics/php-facedetect/Makefile
==============================================================================
--- head/graphics/php-facedetect/Makefile	Sat Nov 14 00:22:55 2020	(r555065)
+++ head/graphics/php-facedetect/Makefile	Sat Nov 14 01:37:40 2020	(r555066)
@@ -21,7 +21,7 @@ GH_TAGNAME=	2a8974b
 
 LIBS+=		-lopencv_core
 
-USES=		localbase php:ext pkgconfig
+USES=		compiler:c11 localbase php:ext pkgconfig
 
 CONFIGURE_ARGS+=	--with-facedetect
 


More information about the svn-ports-all mailing list