diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-02-29 18:01:47 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-02-29 18:01:47 +0000 |
commit | ceeeb463cc1eef97fd62eaee8bf2196ba04bc384 (patch) | |
tree | 9f47ee47c31a0f13f9496879cd88a1042550aa81 /dev-libs/mimetic | |
parent | 53cba99042fa967e2a93da9f8db806fe2d035543 (diff) |
gentoo (leap year) resync : 29.02.2020
Diffstat (limited to 'dev-libs/mimetic')
-rw-r--r-- | dev-libs/mimetic/Manifest | 3 | ||||
-rw-r--r-- | dev-libs/mimetic/files/signed-char.patch | 31 | ||||
-rw-r--r-- | dev-libs/mimetic/mimetic-0.9.8.ebuild | 6 |
3 files changed, 37 insertions, 3 deletions
diff --git a/dev-libs/mimetic/Manifest b/dev-libs/mimetic/Manifest index 066b7f4596d6..bea1fa98232c 100644 --- a/dev-libs/mimetic/Manifest +++ b/dev-libs/mimetic/Manifest @@ -1,3 +1,4 @@ +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 902 BLAKE2B 33656bde8ec41e87e3029814e7e45ba717a69c1f94d189543b98c317e6aa95dd5231cb381fc3884371ee4d08196e5d9b68e017211b493e056dc2312406b66deb SHA512 0133eebcbaa4de6bb4dc623b5fa6b58edc954d1fb058cdf092c73ef60bcc88aed0bcb29d46176c70d412496e45ba53f655fe00614f0f32f25e2739e865c6d514 +EBUILD mimetic-0.9.8.ebuild 951 BLAKE2B dea52f7d511ff1c0a11752477c2f94e7d547c3f425a64e46cb590efaf116f917d4d8a984035395da39a11959b1f844c3065a2c0a9f4c1cbff34fb5f4a5729922 SHA512 897f203937ee81452058c6acc1e2b703968a376a10d06b1fd0c9ef12502a13bd62ac63f9e005e757af383c3e197a00cc72f137b08c0b71053d9f7a589b601d7f MISC metadata.xml 293 BLAKE2B 34185556fb4bbb3af0e496075cd2422d5025f963a30d168715dfe6b941562ba8c3a734b975fce56b7078f6013c5eccf71b004d074beb7db11a4370b3669bde66 SHA512 83880131b4ea4a31515c133e27dac9deb71563c05baafbade66750aa0d00404ab51d42cea9dbd3f8774a36f3464c06e812578aca7fc17370507a9c74f4849fc4 diff --git a/dev-libs/mimetic/files/signed-char.patch b/dev-libs/mimetic/files/signed-char.patch new file mode 100644 index 000000000000..df33df9e2b72 --- /dev/null +++ b/dev-libs/mimetic/files/signed-char.patch @@ -0,0 +1,31 @@ +Description: fix FTBFS on architectures where char is unsigned + Fix error + base64.cxx:30:1: error: narrowing conversion of '-1' from 'int' to 'char' inside { } [-Wnarrowing] + by making Base64::sDecTable a signed char. +Bug-Debian: https://bugs.debian.org/859963 +Forwarded: via email +Author: gregor herrmann <gregoa@debian.org> +Last-Update: 2017-04-10 + +--- a/mimetic/codec/base64.cxx ++++ b/mimetic/codec/base64.cxx +@@ -13,7 +13,7 @@ + "abcdefghijklmnopqrstuvwxyz" + "0123456789+/="; + +-const char Base64::sDecTable[] = { ++const signed char Base64::sDecTable[] = { + -1,-1,-1,-1,-1,-1,-1,-1,-1,-1, + -1,-1,-1,-1,-1,-1,-1,-1,-1,-1, + -1,-1,-1,-1,-1,-1,-1,-1,-1,-1, +--- a/mimetic/codec/base64.h ++++ b/mimetic/codec/base64.h +@@ -20,7 +20,7 @@ + enum { default_maxlen = 76 }; + enum { eq_sign = 100 }; + static const char sEncTable[]; +- static const char sDecTable[]; ++ static const signed char sDecTable[]; + static const int sDecTableSz; + public: + class Encoder; class Decoder; diff --git a/dev-libs/mimetic/mimetic-0.9.8.ebuild b/dev-libs/mimetic/mimetic-0.9.8.ebuild index ffa4669138a1..3f54ec09712e 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-2016 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -11,11 +11,13 @@ SRC_URI="http://www.codesink.org/download/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 x86" +KEYWORDS="amd64 ~ppc64 x86" IUSE="doc examples" DEPEND="doc? ( app-doc/doxygen )" +PATCHES=( "${FILESDIR}/signed-char.patch" ) + src_prepare() { default |