Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Nov 2020 01:37:40 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r555066 - head/graphics/php-facedetect
Message-ID:  <202011140137.0AE1beE5082737@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202011140137.0AE1beE5082737>