summaryrefslogtreecommitdiff
path: root/media-libs/woff2
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-08-07 12:37:21 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-08-07 12:37:21 +0100
commitb8c7370a682e4e29cda623222d17a790c01c3642 (patch)
treef6caa14689bd00a5760eadaa381ff41e50ef3c1b /media-libs/woff2
parent8a4997a7e2d1e36c089d4d76935b5a902d98d3d0 (diff)
gentoo auto-resync : 07:08:2024 - 12:37:20
Diffstat (limited to 'media-libs/woff2')
-rw-r--r--media-libs/woff2/Manifest3
-rw-r--r--media-libs/woff2/files/woff2-1.0.2-gcc15.patch33
-rw-r--r--media-libs/woff2/woff2-1.0.2-r6.ebuild1
3 files changed, 36 insertions, 1 deletions
diff --git a/media-libs/woff2/Manifest b/media-libs/woff2/Manifest
index 2a2c7db1c824..85bcc1dc7678 100644
--- a/media-libs/woff2/Manifest
+++ b/media-libs/woff2/Manifest
@@ -1,5 +1,6 @@
AUX woff2-1.0.2-aliasing.patch 2961 BLAKE2B 75fc42d2c5e7b1eb5aaffb4b08a183e46aac8548f0d6c133ae9940158b6fce022bab53847585a321f22dccac1050d009d4c20ef7e1bba494f8b41f5acb711476 SHA512 e4d401713c5f409ad488762f26e5ce2837326905c4eb9b74eb04a7a93638e8c33bcb88377934fdc3a50b8a25b653af95dbe0524272d5328bacea23b062bf0b0b
+AUX woff2-1.0.2-gcc15.patch 1125 BLAKE2B 34e466c3b1e04c128c47d0b2197c657ee9d2f9ead6964e6195f8312ea78023b90c2d14b55749eae576d39380684ad296bfcca56bb13281b1ec91dd1344d6f15d SHA512 fc04809999fbb7312f351dbf76b2143f2f35c2501e985856e6286e02be9152735a4995573ebcef304905325f414879973e32c8786bb302764e82c9e823f52c3e
DIST woff2-1.0.2.tar.gz 38934 BLAKE2B b4a762cb2377b896147d9ebdae97f17e80bdb94fa8ec1b04e28e9df48c2f3456f83fc548b10a49bbc271bead349348f7582a85c5011f60a9feb4dda84920b6f3 SHA512 c788bba1530aec463e755e901f9342f4b599e3a07f54645fef1dc388ab5d5c30625535e5dd38e9e792e04a640574baa50eeefb6b7338ab403755f4a4e0c3044d
EBUILD woff2-1.0.2-r5.ebuild 876 BLAKE2B a6803cb284df25b63d11e117534137639fd099c1c67eb2f98373838b795fb1026545d2558a4c0b3fbb5c8a0a6af7d40fdc9b01455ccd5b53a6f19f5cdfae329c SHA512 f52b1f5a8174a329013973e803df0756125048ddf55c50b1cba3425cc9023a219003ab150d8aa0f46fb6c7944f0a723ced988218b172af413a9cff6a4dccd60e
-EBUILD woff2-1.0.2-r6.ebuild 932 BLAKE2B d8a1dde8f68a21eff61eace0e909c8f8292a6a2cd736c13e61a60e6170e7ab14bace35748ddacbd06e2dfd91adaa88d47d9542d8becdd11d646119c9d4eeb396 SHA512 460f38183942f459efaad1153a3e4d397c386f0919f0e14c94b2c19952098071717c1646c296f4509ad0f0206f8849bf52c64cad6024f483bfc8ea5ccd32642e
+EBUILD woff2-1.0.2-r6.ebuild 971 BLAKE2B d4740cf0a79c6f287ad0112fef005c762ce5335ec37879c9549bfd41bf5840ea58558b8d380e599bc5773b0da8183ab55f49930ba3b217d2abcd469881321bfb SHA512 8f6eaf3117f2285c4964092ad74ac91919c3399993ea4644df486f7c538076d85153f6504da1460c47028aee4c331866b8ce63abd88a99aa2638b72b90a31841
MISC metadata.xml 455 BLAKE2B bad7293e8ad355104222c80ab6e6ec1d1c816629b6f16ff78036da29a2e2f9fb3ccbd92d0da40646ee5fc405f3137ea8ef70cd5028b0107bf3b62e9c2b20de17 SHA512 1b18c1af59f53418fb6847d92bb2ba1a016995b550c63f08d8168fc93802d0326599c254428aa995b81db3b65833e378d6295bb6a49ec4a6329d11aef1b38163
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 <slyich@gmail.com>
+Date: Fri, 2 Aug 2024 22:12:03 +0100
+Subject: [PATCH] include/woff2/output.h: add missing <stdint.h> 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 '<cstdint>';
+ this is probably fixable by adding '#include <cstdint>'
+ 15 | #include <string>
+ +++ |+#include <cstdint>
+ 16 |
+--- a/include/woff2/output.h
++++ b/include/woff2/output.h
+@@ -12,6 +12,7 @@
+ #include <algorithm>
+ #include <cstring>
+ #include <memory>
++#include <stdint.h>
+ #include <string>
+
+ 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() {