svn commit: r536534 - head/graphics/pecl-vips
Piotr Kubaj
pkubaj at FreeBSD.org
Mon May 25 22:03:55 UTC 2020
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>
More information about the svn-ports-head
mailing list