FreeBSD Bugzilla – Attachment 232532 Details for
Bug 262634
graphics/libavif: Fix build with clang 14
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix build with clang 14
graphics__libavif-fix-clang14-build-1.diff (text/plain), 2.05 KB, created by
Dimitry Andric
on 2022-03-17 21:08:34 UTC
(
hide
)
Description:
Fix build with clang 14
Filename:
MIME Type:
Creator:
Dimitry Andric
Created:
2022-03-17 21:08:34 UTC
Size:
2.05 KB
patch
obsolete
>commit 3df4adf38d43857a89aba04095537f9ae3dd3f0d >Author: Dimitry Andric <dim@FreeBSD.org> >Date: Thu Mar 17 22:05:01 2022 +0100 > > 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. > > From: https://github.com/AOMediaCodec/libavif/pull/886 > >diff --git a/graphics/libavif/Makefile b/graphics/libavif/Makefile >index b1f095290148..bdb6a0244890 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+= f8fbe288e050.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..3c0ba7157320 100644 >--- a/graphics/libavif/distinfo >+++ b/graphics/libavif/distinfo >@@ -1,4 +1,4 @@ >-TIMESTAMP = 1634768575 >+TIMESTAMP = 1647549549 > 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 (f8fbe288e050.patch) = 3bc0c17a80d8aca4525b20eb56866276d0ff57400ef7c406b27523b29559f148 >+SIZE (f8fbe288e050.patch) = 1387
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
jbeich
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 262634
: 232532