aboutsummaryrefslogtreecommitdiff
path: root/graphics/libavif
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2020-08-24 08:40:22 +0000
committerJan Beich <jbeich@FreeBSD.org>2020-08-24 08:40:22 +0000
commit3e5efebb2dc01504fe4a9aaedc40a4c10c46138b (patch)
treef8f9ac3ff12902453e29c35d8ed7ab0688700dc2 /graphics/libavif
parentba951e978f439ab1e5e8bedb0f5411577acef2f9 (diff)
downloadports-3e5efebb2dc01504fe4a9aaedc40a4c10c46138b.tar.gz
ports-3e5efebb2dc01504fe4a9aaedc40a4c10c46138b.zip
graphics/libavif: switch Clang workaround to upstream
Notes
Notes: svn path=/head/; revision=546058
Diffstat (limited to 'graphics/libavif')
-rw-r--r--graphics/libavif/Makefile4
-rw-r--r--graphics/libavif/distinfo2
2 files changed, 5 insertions, 1 deletions
diff --git a/graphics/libavif/Makefile b/graphics/libavif/Makefile
index 4398dee30581..232a6f7997d2 100644
--- a/graphics/libavif/Makefile
+++ b/graphics/libavif/Makefile
@@ -6,6 +6,9 @@ DISTVERSION= 0.8.1
PORTREVISION= 1
CATEGORIES= graphics
+PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
+PATCHFILES+= 274766b5e5a4.patch:-p1 # https://github.com/AOMediaCodec/libavif/pull/270
+
MAINTAINER= jbeich@FreeBSD.org
COMMENT= Library for encoding and decoding .avif files
@@ -35,7 +38,6 @@ DAV1D_CMAKE_BOOL= AVIF_CODEC_DAV1D
PIXBUF_USES= gnome
PIXBUF_USE= GNOME=gdkpixbuf2
PIXBUF_CMAKE_BOOL= AVIF_BUILD_GDK_PIXBUF
-PIXBUF_CFLAGS= -Wno-error=cast-qual # https://github.com/AOMediaCodec/libavif/issues/251
RAV1E_DESC= AV1 encoding via librav1e
RAV1E_LIB_DEPENDS= librav1e.so:multimedia/librav1e
diff --git a/graphics/libavif/distinfo b/graphics/libavif/distinfo
index 54210bb92b8f..a7dabc922318 100644
--- a/graphics/libavif/distinfo
+++ b/graphics/libavif/distinfo
@@ -1,3 +1,5 @@
TIMESTAMP = 1596657453
SHA256 (AOMediaCodec-libavif-v0.8.1_GH0.tar.gz) = 27d39b69151fd090f26e10779ec79876af44876d180edda77beafa8e7e7aca26
SIZE (AOMediaCodec-libavif-v0.8.1_GH0.tar.gz) = 2915941
+SHA256 (274766b5e5a4.patch) = d446c8ed9be1366a4a9d02875e49d2878ceae108040dc30f0b3d7aabfaace6a9
+SIZE (274766b5e5a4.patch) = 1053