summaryrefslogtreecommitdiff
path: root/app-text/libmspub
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-08-16 12:22:56 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-08-16 12:22:56 +0100
commit2ca31eebd5b7496656193e0aa6ae39200d69a017 (patch)
tree6cf0c8f4ce90a3960c27acf45011134fb674dd62 /app-text/libmspub
parent3ad1879f00b279af69d6b9cd3ef97a2a7496d734 (diff)
gentoo auto-resync : 16:08:2024 - 12:22:56
Diffstat (limited to 'app-text/libmspub')
-rw-r--r--app-text/libmspub/Manifest3
-rw-r--r--app-text/libmspub/files/libmspub-0.1.4-gcc15.patch42
-rw-r--r--app-text/libmspub/libmspub-0.1.4.ebuild7
3 files changed, 50 insertions, 2 deletions
diff --git a/app-text/libmspub/Manifest b/app-text/libmspub/Manifest
index 56f051b84122..b713fc02645a 100644
--- a/app-text/libmspub/Manifest
+++ b/app-text/libmspub/Manifest
@@ -1,5 +1,6 @@
AUX libmspub-0.1.4-gcc10.patch 752 BLAKE2B b59c1feef001da863688cf108dd30b3624577eb6cf7c8fadb8295cc6a0336dcd98c39c79dd369c3ed239da12574439737e85fe6bb5d7d0a1aae85d0d72c28686 SHA512 f38730c9e552dd1b0264b789e5138c7c09feb717934bc0d80bf65797343422d64f9d0173edae47af15d89a1bd352636ed56de74b7f3d5bfa69030cc1e994db00
+AUX libmspub-0.1.4-gcc15.patch 1310 BLAKE2B 0aab7785398282a6fe279874691c1da7c136129208a72c09fd1122e152f9555a3b645b1fb19d791bd3efcb1be7c44213566df8fdc1e6e04e6c0a7d0c07939ca3 SHA512 41969de0641d3c63e8b73410d2838667603b314203187d61304c31b13964ac5404cb3288cff0bbf33aa02af1ff29796904565534b56736f1930cdc607378c4c3
DIST libmspub-0.1.4.tar.xz 377472 BLAKE2B 89bd994a5aa2b3a22681dfe78fcea19561ea6057210e61630fa904ded12cca4694d715dd8f2fe8f687a91951bfa2f7aec1ff11d0b978a517476545bb07f654dd SHA512 7275f890645961b3fd56df4584788962e8c064fe3f99f5834c6ba6177ce76d00d544fbe9a25b7ab2f4180d2f3a90c609fe0bb68d61ea24e95b086190390fff31
-EBUILD libmspub-0.1.4.ebuild 1213 BLAKE2B 3882237cc1e5cc3768b679a15cc2b9364d91e14736c689d37fcfa0941658e73cdc38963be34f4a825fac8bafb5bb15b995d08b792213057727af063012241423 SHA512 8d87fb4ae3a4a5a133e6df0745f6b79baaf91456ab2a8b2e6c3daa68adfa705447a8f499fafb0423d4561f5cd6df0e099fc8e3175ba68ff23bd0c1643e69aea8
+EBUILD libmspub-0.1.4.ebuild 1290 BLAKE2B a23943056d1d6717a4c1f9949cb6afd0c80b5a0f01cad3571dcf5b9923fbd7dcd76b9841f89286930422e276e213a180708782604c99a6219f59a3789a6f68fd SHA512 867452ecfa61e1cc5f2ef99c0d133a0cb633b495d12849e5999445184fb86b70390a9910968896660107f69d00246508d10ad9326b18df8518f59a6faac8b8fd
EBUILD libmspub-9999.ebuild 1168 BLAKE2B 4c231452f3b85c54901f5902ed0af24a03f66ba0e5726e1f01eb3f40cce04b04748dd6e970ebf094bfdb726f8c158136af1bba4210773e5219bf8303b810d4f7 SHA512 32f5b376edab124a430fe0a77846b855e3c4e43032c1602e7db6b979dcd3b51b2a842df8d2cf2123643828308d4ec39b5f3b0b59d569cb246a3bbab655365133
MISC metadata.xml 256 BLAKE2B 28554175365761f81817e75e2c125714b94680527103d72118d0daf2eb0d2359082c36f2c8b0e92574e93c9c00038c944486a31d7843108dcc285d809bd52fe6 SHA512 1a0e13dd42f80f5c8669910c7360c6c1542e9a2f143da3a812f874966ba4729248152efb36e03bdfd47f09086797e6e1410e1ac735925d304811c847aa2b6398
diff --git a/app-text/libmspub/files/libmspub-0.1.4-gcc15.patch b/app-text/libmspub/files/libmspub-0.1.4-gcc15.patch
new file mode 100644
index 000000000000..31377b852de4
--- /dev/null
+++ b/app-text/libmspub/files/libmspub-0.1.4-gcc15.patch
@@ -0,0 +1,42 @@
+From 06cd691e6d9664847d0fb5f096e296be85bedc59 Mon Sep 17 00:00:00 2001
+From: Eli Schwartz <eschwartz@gentoo.org>
+Date: Thu, 15 Aug 2024 20:55:25 -0400
+Subject: [PATCH] fix missing include
+
+int64_t comes from stdint.h, but it was never included. This is
+transitively provided by some headers, on some versions of GCC, but in
+GCC 15 a bit of routine cleanup means this header is no longer silently
+exposed to arbitrary codebases without asking.
+
+As such, it fails to build.
+
+In upstream libmspub commit 28c545e7d04d58af998bcf4af5d1bb326d29836c,
+the boost cstdint header was added as part of other work. I am not sure
+why -- maybe to fix this missing header? :D But using all of boost for
+this is a bit odd and unnecessary, especially when not backporting an
+entire commit.
+
+Add in the correct stdlib header as a local backport while distros wait
+for libmspub to release a new version.
+
+Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
+---
+ src/lib/Coordinate.h | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/src/lib/Coordinate.h b/src/lib/Coordinate.h
+index bec3fe2..b87608d 100644
+--- a/src/lib/Coordinate.h
++++ b/src/lib/Coordinate.h
+@@ -10,6 +10,8 @@
+ #ifndef INCLUDED_COORDINATE_H
+ #define INCLUDED_COORDINATE_H
+
++#include <cstdint>
++
+ #include "MSPUBConstants.h"
+
+ namespace libmspub
+--
+2.44.2
+
diff --git a/app-text/libmspub/libmspub-0.1.4.ebuild b/app-text/libmspub/libmspub-0.1.4.ebuild
index 78d0df1963cf..40612b0cc463 100644
--- a/app-text/libmspub/libmspub-0.1.4.ebuild
+++ b/app-text/libmspub/libmspub-0.1.4.ebuild
@@ -33,7 +33,12 @@ BDEPEND="
doc? ( app-text/doxygen )
"
-PATCHES=( "${FILESDIR}/${P}-gcc10.patch" )
+PATCHES=(
+ # upstream backport
+ "${FILESDIR}/${P}-gcc10.patch"
+ # manually backported
+ "${FILESDIR}/${P}-gcc15.patch"
+)
src_prepare() {
default