summaryrefslogtreecommitdiff
path: root/app-text/qpdf
diff options
context:
space:
mode:
Diffstat (limited to 'app-text/qpdf')
-rw-r--r--app-text/qpdf/Manifest3
-rw-r--r--app-text/qpdf/files/qpdf-11.9.1-include-cstdint.patch37
-rw-r--r--app-text/qpdf/qpdf-11.9.1.ebuild4
3 files changed, 43 insertions, 1 deletions
diff --git a/app-text/qpdf/Manifest b/app-text/qpdf/Manifest
index c57dd9a59acc..2716da631570 100644
--- a/app-text/qpdf/Manifest
+++ b/app-text/qpdf/Manifest
@@ -1,3 +1,4 @@
+AUX qpdf-11.9.1-include-cstdint.patch 1167 BLAKE2B b393358804b57ba2da81b5f8bb3588acfbf3f85e0f5047e74dd1d6c970e796c0ac356bf3b44d9c3cc383248d74f1c5763a58712eb8772c98715ee8bde3f2b8e1 SHA512 2a7228fd525750c43af3a5ca496ebe256cf33e827b75899b2b4bca114536e15b207a993492d7ba30162907fe07814600f33f78a5241e9b3165225446fc0028a0
DIST qpdf-11.7.0-doc.zip 6874893 BLAKE2B b14b0f68f4599bd4f396cccbc35b13b0f52b72856de1afd3fdb0c70b33e1702c4afd7c954011df72905c06ff262b08dc9519e44dcef9b7633423d38208542795 SHA512 7ceeff62788defe3649a8d242220c7c8208ebe92dbd9d67b4b53d5036afb1cdbcfe46b4140b064b0542cba2d8eaaad6eedec1ed7b7bd0ccafe2dd7aa20efaa69
DIST qpdf-11.7.0.tar.gz 18124824 BLAKE2B aa10e154899a7fd53d696b9521cc8a44d4a336094711ddc2a506dac8841ae12ce5bcd604555725d2b6bae3c63a6a3f6ef0e9ab6baf38dd3d7fa71507234378a3 SHA512 6ee302671fd4513c5b22f101feb773b4101de6cc5ff6b0e25d1daa03df82420f87ce7db49a6c47758d7e8bbc3beeb997d4671d52e4cf0ac0d4f817f10677d1f9
DIST qpdf-11.7.0.tar.gz.asc 833 BLAKE2B e0b15e6ed6b67fc222f7b4d9f863e8630af814bede3605ca56b83b287d7e02c700092e59f3805565884b55af96c4ddd407331cae26273287b546c32a7975c331 SHA512 ef5aa1661944fd56c3f929ee1ffc78229667ed1d1c639aab82a0ff3a3891455e4dcf3dffbb17e9d22862d6426a263182360b19dd58435a2413c19761abc9b966
@@ -13,5 +14,5 @@ DIST qpdf-11.9.1.tar.gz.asc 833 BLAKE2B 4b676ac2469971e0b4862d329d489ca4c37a11a7
EBUILD qpdf-11.7.0.ebuild 2259 BLAKE2B 32818e0fb63640328c1f9d71f9c869f6cb17c34fc9c15b396c73f6c5c5074f129345cf7f75091fa5be388fbd1a160e0628e44672fbf364dac7bc82f1fc4c98e9 SHA512 64de2e586bcda0b81aa78838d9d490ec33f731267afdb0fbbfbd0477d357c09fc4e034ee5a56ca3d1544dad464b8a55fee4f5b3d24f97f75c83e96e7b4b9c7f4
EBUILD qpdf-11.8.0.ebuild 2267 BLAKE2B ca085253af322e80a5fecd4453ee71bd9d4fe1fe2c290a76b3658965f45704b4434a8921fa3f4a63f9e62f75049153c1b57adfe4e6d9a4482f362ae0d1d39777 SHA512 d2b95baa69ab421755708297e5e4f68a1436f797d73d849c40a7eb4427dff05d547f97f2fcbd9c43a4a100a68ca6c7c89c10c89eec5bee03ec4150a8603061ef
EBUILD qpdf-11.9.0.ebuild 2267 BLAKE2B ca085253af322e80a5fecd4453ee71bd9d4fe1fe2c290a76b3658965f45704b4434a8921fa3f4a63f9e62f75049153c1b57adfe4e6d9a4482f362ae0d1d39777 SHA512 d2b95baa69ab421755708297e5e4f68a1436f797d73d849c40a7eb4427dff05d547f97f2fcbd9c43a4a100a68ca6c7c89c10c89eec5bee03ec4150a8603061ef
-EBUILD qpdf-11.9.1.ebuild 2267 BLAKE2B ca085253af322e80a5fecd4453ee71bd9d4fe1fe2c290a76b3658965f45704b4434a8921fa3f4a63f9e62f75049153c1b57adfe4e6d9a4482f362ae0d1d39777 SHA512 d2b95baa69ab421755708297e5e4f68a1436f797d73d849c40a7eb4427dff05d547f97f2fcbd9c43a4a100a68ca6c7c89c10c89eec5bee03ec4150a8603061ef
+EBUILD qpdf-11.9.1.ebuild 2338 BLAKE2B 0d0d0c819a8f7409d3cbe8e2eb86d6d42b1e5608363c6633b0b90f14683bbddb51484baa3cefe5a9d98db36963b36f7964a9b5431cfe65b7354c2e761a33624b SHA512 08d65951a861949c68a25a96c1d0082ee04d1321297feec4efc78d851873afc4588855bb2a2e6c8b1f5273902b53b5fb96da555166f072f161e1a857205b8478
MISC metadata.xml 444 BLAKE2B 1febc86d8f85aff5ec02d910550aca3bde66111c3e7364b264db3fca10020ea9bc2887dc8283217e2cb8d05ba46c176a92993e0d418528cbe590771dccc49d90 SHA512 dde5e34ef0d6c65df8a2ca8d630182413800f4c10f4b9860ed752623b6f4864dd4969c757e06b2689c8c5da3377bfcc28ec223e531432add083cd4a68211ea1c
diff --git a/app-text/qpdf/files/qpdf-11.9.1-include-cstdint.patch b/app-text/qpdf/files/qpdf-11.9.1-include-cstdint.patch
new file mode 100644
index 000000000000..0c292e3e9626
--- /dev/null
+++ b/app-text/qpdf/files/qpdf-11.9.1-include-cstdint.patch
@@ -0,0 +1,37 @@
+https://github.com/qpdf/qpdf/commit/6918f0b7eb0160059d712ee19ba0ce2d65b9f89c
+
+From: Christopher Fore <csfore@posteo.net>
+Date: Mon, 5 Aug 2024 09:41:50 -0400
+Subject: [PATCH] libtests: include cstdint for GCC 15
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+GCC 15 starts to no longer include this by default, requiring it to be
+explicitly included.
+
+Error message:
+libtests/cxx11.cc:75:16: error: ‘uint8_t’ was not declared in this scope
+ 75 | check_size<uint8_t>(1, false);
+ | ^~~~~~~
+libtests/cxx11.cc:10:1: note: ‘uint8_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’
+ 9 | #include <regex>
+ +++ |+#include <cstdint>
+ 10 | #include <type_traits>
+
+Signed-off-by: Christopher Fore <csfore@posteo.net>
+---
+ libtests/cxx11.cc | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/libtests/cxx11.cc b/libtests/cxx11.cc
+index 59c74fa86..953ad00f9 100644
+--- a/libtests/cxx11.cc
++++ b/libtests/cxx11.cc
+@@ -1,5 +1,6 @@
+ #include <qpdf/assert_test.h>
+
++#include <cstdint>
+ #include <cstdlib>
+ #include <cstring>
+ #include <functional>
diff --git a/app-text/qpdf/qpdf-11.9.1.ebuild b/app-text/qpdf/qpdf-11.9.1.ebuild
index 055841cf1036..a329de298b37 100644
--- a/app-text/qpdf/qpdf-11.9.1.ebuild
+++ b/app-text/qpdf/qpdf-11.9.1.ebuild
@@ -54,6 +54,10 @@ QA_CONFIG_IMPL_DECL_SKIP=(
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/jberkenbilt.asc
+PATCHES=(
+ "${FILESDIR}/${PN}-11.9.1-include-cstdint.patch" #937571
+)
+
src_unpack() {
if use verify-sig ; then
verify-sig_verify_detached "${DISTDIR}"/${P}.tar.gz{,.asc}