aboutsummaryrefslogtreecommitdiff
path: root/graphics/libavif
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2022-03-19 20:42:57 +0000
committerDimitry Andric <dim@FreeBSD.org>2022-03-19 20:47:05 +0000
commit48c0caf10662a52b27757f20c23f49b35720be15 (patch)
tree49a9f17212be572f99c8583edd1e3681c9579487 /graphics/libavif
parentdf9d4384c471796d2d85de1258f3d212a748ef06 (diff)
downloadports-48c0caf10662a52b27757f20c23f49b35720be15.tar.gz
ports-48c0caf10662a52b27757f20c23f49b35720be15.zip
graphics/libavif: fix build with clang 14
Clang >= 14 warns that mixing declarations and code is incompatible with standards before C99, even if you compile with -std=c99 or -std=gnu99. Add `-Wno-declaration-after-statement` if it is supported, to silence the warning. PR: 262634 Approved by: jbeich (maintainer) Obtained from: https://github.com/AOMediaCodec/libavif/pull/886 MFH: 2022Q1
Diffstat (limited to 'graphics/libavif')
-rw-r--r--graphics/libavif/Makefile1
-rw-r--r--graphics/libavif/distinfo4
2 files changed, 4 insertions, 1 deletions
diff --git a/graphics/libavif/Makefile b/graphics/libavif/Makefile
index acc2a2493c8e..b71f203fc334 100644
--- a/graphics/libavif/Makefile
+++ b/graphics/libavif/Makefile
@@ -12,6 +12,7 @@ PATCHFILES+= 993cd893f520.patch:-p1 # https://github.com/AOMediaCodec/libavif/pu
PATCHFILES+= 29424a42c7e2.patch:-p1 # https://github.com/AOMediaCodec/libavif/pull/807
PATCHFILES+= de08d6436ea3.patch:-p1 # https://github.com/AOMediaCodec/libavif/pull/807
PATCHFILES+= 480fb4bf3ed6.patch:-p1 # https://github.com/AOMediaCodec/libavif/pull/807
+PATCHFILES+= c18228ff746a.patch:-p1 # https://github.com/AOMediaCodec/libavif/pull/886
MAINTAINER= jbeich@FreeBSD.org
COMMENT= Library for encoding and decoding .avif files
diff --git a/graphics/libavif/distinfo b/graphics/libavif/distinfo
index 78c457db69bf..12dadd38700e 100644
--- a/graphics/libavif/distinfo
+++ b/graphics/libavif/distinfo
@@ -1,4 +1,4 @@
-TIMESTAMP = 1634768575
+TIMESTAMP = 1647722519
SHA256 (AOMediaCodec-libavif-v0.9.3_GH0.tar.gz) = bcd9a1f57f982a9615eb7e2faf87236dc88eb1d0c886f3471c7440ead605060d
SIZE (AOMediaCodec-libavif-v0.9.3_GH0.tar.gz) = 2000521
SHA256 (2340cdb5f0c2.patch) = acc0733963b7e1c9f4bb3563b052a15aff6705729ae08a50123f7a0d537396e5
@@ -15,3 +15,5 @@ SHA256 (de08d6436ea3.patch) = 202c5447e41a94bf4e0bfa3aec87c680d9ca1fdd0402a46b80
SIZE (de08d6436ea3.patch) = 1140
SHA256 (480fb4bf3ed6.patch) = f8d0298d4e89a6dec1ce8bf2faf8a19b90feb34ac9b1719a0ff887be85d4258e
SIZE (480fb4bf3ed6.patch) = 1170
+SHA256 (c18228ff746a.patch) = fb29f79f76a1514f9e693295c70a3f58ffb5fdad9d8330930f21803dafb18466
+SIZE (c18228ff746a.patch) = 1387