Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Mar 2022 20:47:31 GMT
From:      Dimitry Andric <dim@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 48c0caf10662 - main - graphics/libavif: fix build with clang 14
Message-ID:  <202203192047.22JKlV57034226@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by dim (src committer):

URL: https://cgit.FreeBSD.org/ports/commit/?id=48c0caf10662a52b27757f20c23f49b35720be15

commit 48c0caf10662a52b27757f20c23f49b35720be15
Author:     Dimitry Andric <dim@FreeBSD.org>
AuthorDate: 2022-03-19 20:42:57 +0000
Commit:     Dimitry Andric <dim@FreeBSD.org>
CommitDate: 2022-03-19 20:47:05 +0000

    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
---
 graphics/libavif/Makefile | 1 +
 graphics/libavif/distinfo | 4 +++-
 2 files changed, 4 insertions(+), 1 deletion(-)

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202203192047.22JKlV57034226>