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) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id EB50F159C9B for ; Sat, 3 Aug 2024 02:58:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BD049E29F3; Sat, 3 Aug 2024 02:58:26 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 99F13E29F2 for ; Sat, 3 Aug 2024 02:58:26 +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 8789D340C7B for ; Sat, 3 Aug 2024 02:58:25 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C18801E99 for ; Sat, 3 Aug 2024 02:58:23 +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: <1722653422.b341eb04555e08004865595997fbc96518c99906.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/woff2/files/, media-libs/woff2/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/woff2/files/woff2-1.0.2-gcc15.patch media-libs/woff2/woff2-1.0.2-r6.ebuild X-VCS-Directories: media-libs/woff2/ media-libs/woff2/files/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: b341eb04555e08004865595997fbc96518c99906 X-VCS-Branch: master Date: Sat, 3 Aug 2024 02:58:23 +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: 975076e2-7bd4-470f-ba3e-dfaefa6d5863 X-Archives-Hash: b480ab11b64abd589b94948cbffe096f commit: b341eb04555e08004865595997fbc96518c99906 Author: Sam James gentoo org> AuthorDate: Sat Aug 3 02:50:22 2024 +0000 Commit: Sam James gentoo org> CommitDate: Sat Aug 3 02:50:22 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b341eb04 media-libs/woff2: fix build w/ gcc-15 Signed-off-by: Sam James gentoo.org> media-libs/woff2/files/woff2-1.0.2-gcc15.patch | 33 ++++++++++++++++++++++++++ media-libs/woff2/woff2-1.0.2-r6.ebuild | 1 + 2 files changed, 34 insertions(+) diff --git a/media-libs/woff2/files/woff2-1.0.2-gcc15.patch b/media-libs/woff2/files/woff2-1.0.2-gcc15.patch new file mode 100644 index 000000000000..a8030e471aa2 --- /dev/null +++ b/media-libs/woff2/files/woff2-1.0.2-gcc15.patch @@ -0,0 +1,33 @@ +https://github.com/google/woff2/pull/176 + +From 3905a7d9bc349786b458a71587a6176b241e682f Mon Sep 17 00:00:00 2001 +From: Sergei Trofimovich +Date: Fri, 2 Aug 2024 22:12:03 +0100 +Subject: [PATCH] include/woff2/output.h: add missing include + +Without the change `woff2` build fails on upcoming `gcc-15` as: + + In file included from src/woff2_out.cc:9: + include/woff2/output.h:73:25: error: expected ')' before '*' token + 73 | WOFF2MemoryOut(uint8_t* buf, size_t buf_size); + | ~ ^ + | ) + include/woff2/output.h:79:3: error: 'uint8_t' does not name a type + 79 | uint8_t* buf_; + | ^~~~~~~ + include/woff2/output.h:16:1: note: 'uint8_t' is defined in header ''; + this is probably fixable by adding '#include ' + 15 | #include + +++ |+#include + 16 | +--- a/include/woff2/output.h ++++ b/include/woff2/output.h +@@ -12,6 +12,7 @@ + #include + #include + #include ++#include + #include + + namespace woff2 { + diff --git a/media-libs/woff2/woff2-1.0.2-r6.ebuild b/media-libs/woff2/woff2-1.0.2-r6.ebuild index f104cb69f87d..b0f52cd42fca 100644 --- a/media-libs/woff2/woff2-1.0.2-r6.ebuild +++ b/media-libs/woff2/woff2-1.0.2-r6.ebuild @@ -20,6 +20,7 @@ BDEPEND="virtual/pkgconfig" PATCHES=( "${FILESDIR}"/${P}-aliasing.patch + "${FILESDIR}"/${PN}-1.0.2-gcc15.patch ) src_configure() {