graphics/libheif: unbreak on 10, clean up Makefile

PR:		230767
Submitted by:	yuri
This commit is contained in:
Kurt Jaeger 2018-08-21 19:33:58 +00:00
parent 7b3900c418
commit f7a00b2bbb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=477754
2 changed files with 14 additions and 9 deletions

View file

@ -11,22 +11,17 @@ COMMENT= Libheif is an ISO/IEC 23008-12:2017 HEIF file format de- and encoder
LICENSE= LGPL3+
LICENSE_FILE= ${WRKSRC}/COPYING
BROKEN_FreeBSD_10= encoder_fuzzer.cc:84:5: error: use of undeclared identifier 'free'
LIB_DEPENDS= libde265.so:multimedia/libde265
LIB_DEPENDS+= libx265.so:multimedia/x265
LIB_DEPENDS+= libpng16.so:graphics/png
LIB_DEPENDS= libde265.so:multimedia/libde265 \
libx265.so:multimedia/x265 \
libpng16.so:graphics/png
USES= autoreconf libtool pkgconfig shared-mime-info \
shebangfix
USE_GITHUB= yes
GH_ACCOUNT= strukturag
GH_PROJECT= libheif
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
SHEBANG_GLOB= *.sh
USE_LDCONFIG= yes
.include <bsd.port.mk>

View file

@ -0,0 +1,10 @@
--- libheif/encoder_fuzzer.cc.orig 2018-06-19 09:35:37 UTC
+++ libheif/encoder_fuzzer.cc
@@ -20,6 +20,7 @@
#include <assert.h>
#include <string.h>
+#include <stdlib.h>
#include <memory>