summaryrefslogtreecommitdiff
path: root/dev-libs/mimetic
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-03-24 23:59:54 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-03-24 23:59:54 +0000
commit401101f9c8077911929d3f2b60a37098460a5d89 (patch)
treec2bef4719f6787550f0916aeaa8f4f403a9296af /dev-libs/mimetic
parent4cbcc855382a06088e2f016f62cafdbcb7e40665 (diff)
gentoo resync : 25.03.2022
Diffstat (limited to 'dev-libs/mimetic')
-rw-r--r--dev-libs/mimetic/Manifest3
-rw-r--r--dev-libs/mimetic/files/mimetic-0.9.8-uint-musl.patch36
-rw-r--r--dev-libs/mimetic/mimetic-0.9.8.ebuild3
3 files changed, 40 insertions, 2 deletions
diff --git a/dev-libs/mimetic/Manifest b/dev-libs/mimetic/Manifest
index fd14b3592007..41187d312dea 100644
--- a/dev-libs/mimetic/Manifest
+++ b/dev-libs/mimetic/Manifest
@@ -1,5 +1,6 @@
AUX mimetic-0.9.8-build-mmap.patch 688 BLAKE2B ca85ba15a59d9581c14e5d04095988ea18c9e8ea5f6e55f085ce0796a7f0a84633a8506d503b55700155f5b5320ed9b9ae7aa32c9f26c95afdad9ed6e97bb605 SHA512 37bb61296c0f337ba670ab721360fcc22bbff375a7a5f8e612076e49545a34abe83e9c079bcd28c7735145b2f07a60e3b012eb55937999d9c3abab32d7e773d0
+AUX mimetic-0.9.8-uint-musl.patch 1164 BLAKE2B 98e45f7dc050f4ca01344578d3c076a85ad46fed2691d8a60e69ce79f7767df0f09b5ad3841cc21b7a65d7694b9fbea63dd3228684e822c35971ac9e3e95c3fb SHA512 bf01922ffa50ff443d1e2aa2e83d51338e8b6a21cb6d7ba03422e9f2518a44ffb9943cf52ff6fe14fced9b778e6504ea5a8f66e57a97a1bfe109b34025b98361
AUX signed-char.patch 1024 BLAKE2B 333955f24190ac0327cbc8ec786a91d62f431169aa157966ba592b1132681635bd231f893bdb7b70c849aed2d3910aa488a9813f7f00b8688d3bb46000076a10 SHA512 23f79103ff31d70d992a777118bc733f3fc52b5fc21b6827c19b0d40a099c11b74eda89feccad2690f83a4cc3f8e92d918d111cf9cef025b94481fdd75c3fb63
DIST mimetic-0.9.8.tar.gz 556716 BLAKE2B 16dcd2a869a5ec92f8aeffca52f41aa1773ad1446302cf827d25ac27c407bcb7e59ed3f8868a00102ec19ef874da440e72f80cb42150a20dfd962af5173901f8 SHA512 4157eecb3e26af314d475c91192a357d6da35271a07a07b037d5037e9af84952ce2636874e86df0e94e8887dcfdb8f594a1ba04e6448181e436b0e2675f48f58
-EBUILD mimetic-0.9.8.ebuild 996 BLAKE2B f535b304529f396415467b946c106e27699279a94f54ecb9934d64711fb04998332df9c1c4caf33c1bae88448687f76f8350861363e7bd18384e1a1b8289a583 SHA512 a2e3463bceda2a2b5bc31a2ec9d551b2448eac4c92d31e7f101cc07bd9e65ddecbe0d7509013947b76c619c9fce517c5512a13f681e4d64ec34d73f93e61f225
+EBUILD mimetic-0.9.8.ebuild 1032 BLAKE2B 2134b428597d03838486092071732affecaa050c54a342ffe8c259f7c5dd9f9231efe0cdb8bf9161f59ffcb73649426d9cc9015e94babc6a5c6c6bbcc2e25353 SHA512 3f06b9becb34de39ab7a2410034a660fbb24ef63203baf045b32ed815c8b0a8778b817a4b17d427649b2f97699f3a74bcc9d538bdf1722d1640ab5a9ff79efce
MISC metadata.xml 384 BLAKE2B 1e0f2435d4ee6e9726cbd965c7aff8b1c3ffb7b91e91fa1a41470fdbed020a32a87bf048dc6b79f8c53ffcfb653a15829236093b7f77d8d5554b6bf048c47d4b SHA512 4c876d6eebdeaac99d38cc9f479da4a90ee1b496d9a0e93c7b9fe5174b37aa046ecd45d410bec4002be4f87d43ced5761b64092e4e2c4e5866fd8f17a9ffe987
diff --git a/dev-libs/mimetic/files/mimetic-0.9.8-uint-musl.patch b/dev-libs/mimetic/files/mimetic-0.9.8-uint-musl.patch
new file mode 100644
index 000000000000..45e90c0450e2
--- /dev/null
+++ b/dev-libs/mimetic/files/mimetic-0.9.8-uint-musl.patch
@@ -0,0 +1,36 @@
+From 6afcd2f85332bdb25e38718cb9db6e3040797a8f Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Petr=20Van=C4=9Bk?= <arkamar@atlas.cz>
+Date: Sat, 12 Mar 2022 21:20:50 +0100
+Subject: [PATCH] Use unsigned int where uint is not defined
+
+Upstream-PR: https://github.com/tat/mimetic/pull/27
+
+diff --git a/mimetic/codec/other_codecs.h b/mimetic/codec/other_codecs.h
+index c4ccf3f..3e68dd9 100644
+--- a/mimetic/codec/other_codecs.h
++++ b/mimetic/codec/other_codecs.h
+@@ -109,7 +109,7 @@ struct MaxLineLen: public unbuffered_codec, public chainable_codec<MaxLineLen>
+ : m_max(0), m_written(0)
+ {
+ }
+- MaxLineLen(uint m)
++ MaxLineLen(unsigned int m)
+ : m_max(m), m_written(0)
+ {
+ }
+diff --git a/mimetic/contenttype.cxx b/mimetic/contenttype.cxx
+index 81c36c0..0cb75e7 100644
+--- a/mimetic/contenttype.cxx
++++ b/mimetic/contenttype.cxx
+@@ -34,7 +34,7 @@ ContentType::Boundary::Boundary()
+ stringstream ss;
+ srand(time(0));
+ short tbSize = sizeof(tb)-1;
+- for(uint i=0; i < 48; ++i)
++ for(unsigned int i=0; i < 48; ++i)
+ {
+ unsigned int r = rand();
+ ss << tb[r % tbSize];
+--
+2.34.1
+
diff --git a/dev-libs/mimetic/mimetic-0.9.8.ebuild b/dev-libs/mimetic/mimetic-0.9.8.ebuild
index da9c0be7544b..4717e99d7e02 100644
--- a/dev-libs/mimetic/mimetic-0.9.8.ebuild
+++ b/dev-libs/mimetic/mimetic-0.9.8.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -19,6 +19,7 @@ BDEPEND="doc? ( app-doc/doxygen )"
PATCHES=(
"${FILESDIR}/signed-char.patch"
"${FILESDIR}/${P}-build-mmap.patch"
+ "${FILESDIR}/${P}-uint-musl.patch"
)
src_prepare() {