git: 52229d416b79 - main - graphics/libavif: unbreak tests on 32-bit archs after 36a733d8a533
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 17 Oct 2022 17:51:53 UTC
The branch main has been updated by jbeich:
URL: https://cgit.FreeBSD.org/ports/commit/?id=52229d416b798c0d2d6c0dd88372d824c4252863
commit 52229d416b798c0d2d6c0dd88372d824c4252863
Author: Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2022-10-17 17:40:50 +0000
Commit: Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2022-10-17 17:51:18 +0000
graphics/libavif: unbreak tests on 32-bit archs after 36a733d8a533
tests/gtest/avifincrtest_helpers.cc:136:28: error: implicit conversion loses integer precision: 'unsigned long long' to 'size_t' (aka 'unsigned int') [-Werror,-Wshorten-64-to-32]
size = data->full_size - offset;
~ ~~~~~~~~~~~~~~~~^~~~~~~~
---
graphics/libavif/Makefile | 1 +
graphics/libavif/distinfo | 2 ++
2 files changed, 3 insertions(+)
diff --git a/graphics/libavif/Makefile b/graphics/libavif/Makefile
index a597a69ec733..86666d02933c 100644
--- a/graphics/libavif/Makefile
+++ b/graphics/libavif/Makefile
@@ -6,6 +6,7 @@ CATEGORIES= graphics
PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
PATCHFILES+= 2340cdb5f0c2.patch:-p1 # https://github.com/AOMediaCodec/libavif/pull/296
PATCHFILES+= fac19c9b5a71.patch:-p1 # https://github.com/AOMediaCodec/libavif/pull/1163
+PATCHFILES+= dfb427987185.patch:-p1 # https://github.com/AOMediaCodec/libavif/pull/1167
MAINTAINER= jbeich@FreeBSD.org
COMMENT= Library for encoding and decoding .avif files
diff --git a/graphics/libavif/distinfo b/graphics/libavif/distinfo
index 5e84d081659f..83d643f56dd9 100644
--- a/graphics/libavif/distinfo
+++ b/graphics/libavif/distinfo
@@ -5,3 +5,5 @@ SHA256 (2340cdb5f0c2.patch) = acc0733963b7e1c9f4bb3563b052a15aff6705729ae08a5012
SIZE (2340cdb5f0c2.patch) = 1714
SHA256 (fac19c9b5a71.patch) = 054fbe8571ad387375a1f259a86e6d3dfe0e826dce47b17e6989b9daf0e508e0
SIZE (fac19c9b5a71.patch) = 2417
+SHA256 (dfb427987185.patch) = 554f1250e7eb9b67f2c1bebbd8b2cacfe97bd5ad611a48dc2f04cdcdb3f14ce3
+SIZE (dfb427987185.patch) = 1969