summaryrefslogtreecommitdiff
path: root/dev-libs/libnop
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/libnop')
-rw-r--r--dev-libs/libnop/Manifest3
-rw-r--r--dev-libs/libnop/files/libnop-2021.11.03-libstdc++.patch11
-rw-r--r--dev-libs/libnop/libnop-2021.11.03.ebuild2
3 files changed, 15 insertions, 1 deletions
diff --git a/dev-libs/libnop/Manifest b/dev-libs/libnop/Manifest
index 66074e310197..9cba5ddcf26a 100644
--- a/dev-libs/libnop/Manifest
+++ b/dev-libs/libnop/Manifest
@@ -1,3 +1,4 @@
+AUX libnop-2021.11.03-libstdc++.patch 436 BLAKE2B 0aaa1d19cb2013b607754943ca1757f91f16b523c869661b489bddb7912e8afeabe9cb8a8119c47b710f3daf6b2d26f9865f6c81eb93aaf5ba5f2b34527cf65f SHA512 42201352f929aafe431b31e967a49675dc1edcf7bdd845d01158317272729a3abbee77534a73351593a0681668caeff024775d98f737776bb259bb6a8d8a68b0
DIST libnop-2021.11.03.tar.gz 124143 BLAKE2B 44b1c4c341d2120ff22511176fbf3c6f64328c97ddddae458e09676baae491e9218ea33a5836c7a6647090d3f06ac1d66529707af5e2684a14b409b3b57f3af1 SHA512 27f62710afb41165db5ef54bb2d09f89ed9c0c0cb401bffe2c52590bb28c67ed6ba68922510cdedd6dc7cc75fc267a02a2f9cbcca4bfa85042792a121e27097e
-EBUILD libnop-2021.11.03.ebuild 622 BLAKE2B f6ea77961d08f628447bf466251b438681889afbf1eecdb53744d3d61ffe445aa4dd155a968b1ffa44f3099bb13aa373e45c59e49a44cc4ca1255a8f29ce4ea5 SHA512 288653ebd4ea7454aef7bd741e93ec030aa9e1651c2f6056de7b9eff8059fb45e9894c9ed346827841e10da6ce6c643bebbbb1d34fa77aebd1042aceb213cbdd
+EBUILD libnop-2021.11.03.ebuild 670 BLAKE2B 609f901d2317c711c7951e3986881d29a30084f2f745a0db6643eea3b4d44e61b286243e0bcf7ab88ee7d0a00f514aa85ac1f7c261db7889208cb6e19d764f95 SHA512 49ec9272cd40026ab4c3f80161919ab57773c9cd81030e0095572ace66a98868e7ec25666977958587b4c9e8c2abe385947a1cb8a7b85717795cf1fb921fedea
MISC metadata.xml 326 BLAKE2B 267fcac4709c61daf177b248011fea40b932ae34ed27e75425c54476fa93f1ddca627a7f090476f514ec24ba97cdd6a31513c74b1098b198b9fdf3ea6213430c SHA512 7831679de5573dc2c3492655679ce8477ada2b482d30a3ac598970c1cfeb3005d6587a7a74b2425565e6f2d1e99e2ee5e17836e4525e3ad043cbe69f91d34cf3
diff --git a/dev-libs/libnop/files/libnop-2021.11.03-libstdc++.patch b/dev-libs/libnop/files/libnop-2021.11.03-libstdc++.patch
new file mode 100644
index 000000000000..9a65070ec7f1
--- /dev/null
+++ b/dev-libs/libnop/files/libnop-2021.11.03-libstdc++.patch
@@ -0,0 +1,11 @@
+--- a/test/test_reader.h 2023-11-14 22:21:10.528641740 +0100
++++ b/test/test_reader.h 2023-11-14 22:21:23.195431970 +0100
+@@ -57,7 +57,7 @@
+ if (length_bytes > (data_.size() - index_))
+ return ErrorStatus::ReadLimitReached;
+
+- std::copy(&data_[index_], &data_[index_ + length_bytes], begin_byte);
++ std::copy(&data_[index_], &data_[index_] + length_bytes, begin_byte);
+ index_ += length_bytes;
+ return {};
+ }
diff --git a/dev-libs/libnop/libnop-2021.11.03.ebuild b/dev-libs/libnop/libnop-2021.11.03.ebuild
index e673dc314e91..6ec8f7df146d 100644
--- a/dev-libs/libnop/libnop-2021.11.03.ebuild
+++ b/dev-libs/libnop/libnop-2021.11.03.ebuild
@@ -19,6 +19,8 @@ RESTRICT="!test? ( test )"
S="${WORKDIR}"/${PN}-${CommitId}
+PATCHES=( "${FILESDIR}"/${P}-libstdc++.patch )
+
src_compile() {
use test && default
}