From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6432A15800F for ; Thu, 9 Feb 2023 04:08:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 88D97E0794; Thu, 9 Feb 2023 04:08:56 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6C3C5E0794 for ; Thu, 9 Feb 2023 04:08:56 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 65184335D59 for ; Thu, 9 Feb 2023 04:08:55 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B081C807 for ; Thu, 9 Feb 2023 04:08:53 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1675915145.56cd32a30a93c362963c55b4499b6033be7dc0bb.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/vorbis-tools/, media-sound/vorbis-tools/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-sound/vorbis-tools/files/vorbis-tools-1.4.2-clang16.patch media-sound/vorbis-tools/vorbis-tools-1.4.2-r1.ebuild media-sound/vorbis-tools/vorbis-tools-1.4.2-r2.ebuild X-VCS-Directories: media-sound/vorbis-tools/ media-sound/vorbis-tools/files/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 56cd32a30a93c362963c55b4499b6033be7dc0bb X-VCS-Branch: master Date: Thu, 9 Feb 2023 04:08:53 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: ed1274eb-89f2-42dc-af03-a50cea39d146 X-Archives-Hash: 06c667130ba3648796cab377d206f5dc commit: 56cd32a30a93c362963c55b4499b6033be7dc0bb Author: Sam James gentoo org> AuthorDate: Thu Feb 9 03:59:05 2023 +0000 Commit: Sam James gentoo org> CommitDate: Thu Feb 9 03:59:05 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56cd32a3 media-sound/vorbis-tools: fix build w/ clang 16 Closes: https://bugs.gentoo.org/871042 Signed-off-by: Sam James gentoo.org> .../files/vorbis-tools-1.4.2-clang16.patch | 22 ++++++++++++++++++++++ ....4.2-r1.ebuild => vorbis-tools-1.4.2-r2.ebuild} | 9 ++++++--- 2 files changed, 28 insertions(+), 3 deletions(-) diff --git a/media-sound/vorbis-tools/files/vorbis-tools-1.4.2-clang16.patch b/media-sound/vorbis-tools/files/vorbis-tools-1.4.2-clang16.patch new file mode 100644 index 000000000000..2d9b1158e635 --- /dev/null +++ b/media-sound/vorbis-tools/files/vorbis-tools-1.4.2-clang16.patch @@ -0,0 +1,22 @@ +https://gitlab.xiph.org/xiph/vorbis-tools/-/merge_requests/6 + +From ec3a1a1de87168f575b93bc9cedcfaeb82c048a4 Mon Sep 17 00:00:00 2001 +From: Florian Weimer +Date: Tue, 7 Feb 2023 08:48:05 +0100 +Subject: [PATCH] Fix C99 compatibility glitch in ogginfo/codec_skeleton.c + +Include "utf8.h" for a prototype of the utf8_decode function. +This avoids an implicit function declaration and build issues +with future compilers. +--- a/ogginfo/codec_skeleton.c ++++ b/ogginfo/codec_skeleton.c +@@ -25,6 +25,7 @@ + #include + + #include "i18n.h" ++#include "utf8.h" + + #include "private.h" + +-- +GitLab diff --git a/media-sound/vorbis-tools/vorbis-tools-1.4.2-r1.ebuild b/media-sound/vorbis-tools/vorbis-tools-1.4.2-r2.ebuild similarity index 87% rename from media-sound/vorbis-tools/vorbis-tools-1.4.2-r1.ebuild rename to media-sound/vorbis-tools/vorbis-tools-1.4.2-r2.ebuild index 94609125c5c9..88fbe65aadc1 100644 --- a/media-sound/vorbis-tools/vorbis-tools-1.4.2-r1.ebuild +++ b/media-sound/vorbis-tools/vorbis-tools-1.4.2-r2.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 DESCRIPTION="Tools for using the Ogg Vorbis sound file format" HOMEPAGE="https://xiph.org/vorbis/" @@ -29,7 +29,10 @@ BDEPEND=" nls? ( sys-devel/gettext ) " -PATCHES=( "${FILESDIR}"/${P}-docdir.patch ) +PATCHES=( + "${FILESDIR}"/${P}-docdir.patch + "${FILESDIR}"/${P}-clang16.patch +) src_configure() { local myeconfargs=(