From 3e5efebb2dc01504fe4a9aaedc40a4c10c46138b Mon Sep 17 00:00:00 2001 From: Jan Beich Date: Mon, 24 Aug 2020 08:40:22 +0000 Subject: [PATCH] graphics/libavif: switch Clang workaround to upstream --- graphics/libavif/Makefile | 4 +++- graphics/libavif/distinfo | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) 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