diff options
author | triaxx <triaxx@pkgsrc.org> | 2020-09-29 06:04:58 +0000 |
---|---|---|
committer | triaxx <triaxx@pkgsrc.org> | 2020-09-29 06:04:58 +0000 |
commit | 31eb75b14dd415e4015b6689f86b4e809e99b7f6 (patch) | |
tree | 0a241066b7d69a2fde34861177f06e3a3d2d1df3 /graphics | |
parent | b9a6bf6cc631f60ed03e86ef76fa1d2d759073eb (diff) | |
download | pkgsrc-31eb75b14dd415e4015b6689f86b4e809e99b7f6.tar.gz |
libheif: Fix build on FreeBSD
pkgsrc changes:
---------------
* Add preprocessor test for stdlib.h inclusion on FreeBSD
* Bump revision
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/libheif/Makefile | 3 | ||||
-rw-r--r-- | graphics/libheif/distinfo | 4 | ||||
-rw-r--r-- | graphics/libheif/patches/patch-examples_heif__convert.cc | 7 |
3 files changed, 9 insertions, 5 deletions
diff --git a/graphics/libheif/Makefile b/graphics/libheif/Makefile index 657cb74e651..3d1dd6e646b 100644 --- a/graphics/libheif/Makefile +++ b/graphics/libheif/Makefile @@ -1,6 +1,7 @@ -# $NetBSD: Makefile,v 1.4 2020/09/28 13:38:13 ryoon Exp $ +# $NetBSD: Makefile,v 1.5 2020/09/29 06:04:58 triaxx Exp $ DISTNAME= libheif-1.9.1 +PKGREVISION= 1 CATEGORIES= graphics MASTER_SITES= ${MASTER_SITE_GITHUB:=strukturag/} GITHUB_PROJECT= libheif diff --git a/graphics/libheif/distinfo b/graphics/libheif/distinfo index bc0a604e6c4..95d5765149f 100644 --- a/graphics/libheif/distinfo +++ b/graphics/libheif/distinfo @@ -1,8 +1,8 @@ -$NetBSD: distinfo,v 1.4 2020/09/28 13:38:13 ryoon Exp $ +$NetBSD: distinfo,v 1.5 2020/09/29 06:04:58 triaxx Exp $ SHA1 (libheif-1.9.1.tar.gz) = 4fd8929b68af2b8f8870f5f7e5ce6918b35460c6 RMD160 (libheif-1.9.1.tar.gz) = 92a6ff1b051c53da86643ef87c4d6c252772306b SHA512 (libheif-1.9.1.tar.gz) = a41ff9666877904da095c72af743b56196c75ce90deaeb1998be7eba9729a62282827e7e916e2a067489cc78e558c55fbb6d70da6a5b5281f6d2efcccbe6dbbe Size (libheif-1.9.1.tar.gz) = 1556450 bytes SHA1 (patch-configure) = 859f4ae06e77a79a723f2760d426c88787916a9c -SHA1 (patch-examples_heif__convert.cc) = b4b6b16d40ad87ca20730c4decf337e7bf123ce4 +SHA1 (patch-examples_heif__convert.cc) = 6bdcf91c237824aaa63541370d342d86f5255db8 diff --git a/graphics/libheif/patches/patch-examples_heif__convert.cc b/graphics/libheif/patches/patch-examples_heif__convert.cc index a3f1b5194b2..8be4f7afb61 100644 --- a/graphics/libheif/patches/patch-examples_heif__convert.cc +++ b/graphics/libheif/patches/patch-examples_heif__convert.cc @@ -1,15 +1,18 @@ -$NetBSD: patch-examples_heif__convert.cc,v 1.2 2020/09/28 13:38:13 ryoon Exp $ +$NetBSD: patch-examples_heif__convert.cc,v 1.3 2020/09/29 06:04:58 triaxx Exp $ Include alloca.h on SunOS --- examples/heif_convert.cc.orig 2020-09-23 14:02:39.000000000 +0000 +++ examples/heif_convert.cc -@@ -27,7 +27,7 @@ +@@ -27,8 +27,10 @@ #include "config.h" #endif -#if defined(_MSC_VER) || defined(__MINGW32__) +#if defined(_MSC_VER) || defined(__MINGW32__) || defined(__NetBSD__) # include <malloc.h> ++#elif defined(__FreeBSD__) ++# include <stdlib.h> #else # include <alloca.h> + #endif |