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
This commit is contained in:
parent
6395959833
commit
4af4de6821
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=536534
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user