Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 May 2020 22:03:54 +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: r536534 - head/graphics/pecl-vips
Message-ID:  <202005252203.04PM3sDj096878@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pkubaj
Date: Mon May 25 22:03:54 2020
New Revision: 536534
URL: https://svnweb.freebsd.org/changeset/ports/536534

Log:
  graphics/pecl-vips: fix build on GCC architectures
  
  Use C11 compiler:
  In file included from /usr/local/include/vips/vips.h:125,
                   from /wrkdirs/usr/ports/graphics/pecl-vips/work-php72/vips-1.0.9/vips.c:19:
  /usr/local/include/vips/image.h:312: error: redefinition of typedef 'VipsImage'
  /usr/local/include/vips/basic.h:75: error: previous declaration of 'VipsImage' was here
  In file included from /usr/local/include/vips/vips.h:129,
                   from /wrkdirs/usr/ports/graphics/pecl-vips/work-php72/vips-1.0.9/vips.c:19:
  /usr/local/include/vips/region.h:109: error: redefinition of typedef 'VipsRegion'
  /usr/local/include/vips/basic.h:77: error: previous declaration of 'VipsRegion' was here

Modified:
  head/graphics/pecl-vips/Makefile

Modified: head/graphics/pecl-vips/Makefile
==============================================================================
--- head/graphics/pecl-vips/Makefile	Mon May 25 21:10:48 2020	(r536533)
+++ head/graphics/pecl-vips/Makefile	Mon May 25 22:03:54 2020	(r536534)
@@ -14,6 +14,6 @@ LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
 LIB_DEPENDS=	libvips.so:graphics/vips
 
-USES=		php:pecl pkgconfig
+USES=		compiler:c11 php:pecl pkgconfig
 
 .include <bsd.port.mk>



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