diff options
author | pi <pi@FreeBSD.org> | 2018-08-22 03:33:58 +0800 |
---|---|---|
committer | pi <pi@FreeBSD.org> | 2018-08-22 03:33:58 +0800 |
commit | 30306d450f56bd9197d86cc17ffc6d74e7585d74 (patch) | |
tree | 4878f1e28e2220dd5e0bc8c0e904bdc53ae78870 /graphics/libheif | |
parent | f07b810df36160732a5c1f1a7087012e6e9b0337 (diff) | |
download | freebsd-ports-gnome-30306d450f56bd9197d86cc17ffc6d74e7585d74.tar.gz freebsd-ports-gnome-30306d450f56bd9197d86cc17ffc6d74e7585d74.tar.zst freebsd-ports-gnome-30306d450f56bd9197d86cc17ffc6d74e7585d74.zip |
graphics/libheif: unbreak on 10, clean up Makefile
PR: 230767
Submitted by: yuri
Diffstat (limited to 'graphics/libheif')
-rw-r--r-- | graphics/libheif/Makefile | 13 | ||||
-rw-r--r-- | graphics/libheif/files/patch-libheif__encoder_fuzzer.cc | 10 |
2 files changed, 14 insertions, 9 deletions
diff --git a/graphics/libheif/Makefile b/graphics/libheif/Makefile index bc3adab2476c..f30d73bded75 100644 --- a/graphics/libheif/Makefile +++ b/graphics/libheif/Makefile @@ -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 - -SHEBANG_GLOB= *.sh - USE_LDCONFIG= yes +SHEBANG_GLOB= *.sh .include <bsd.port.mk> diff --git a/graphics/libheif/files/patch-libheif__encoder_fuzzer.cc b/graphics/libheif/files/patch-libheif__encoder_fuzzer.cc new file mode 100644 index 000000000000..52f0ffd865cb --- /dev/null +++ b/graphics/libheif/files/patch-libheif__encoder_fuzzer.cc @@ -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> + |