Codebase list mimetic / 5f71552
Drop patch signed-char.patch, present upstream. Debian Janitor 2 years ago
3 changed file(s) with 1 addition(s) and 33 deletion(s). Raw diff Collapse all Expand all
1313
1414 [ Debian Janitor ]
1515 * New upstream snapshot.
16 * Drop patch signed-char.patch, present upstream.
1617
1718 -- gregor herrmann <gregoa@debian.org> Fri, 23 Jul 2021 04:29:30 -0000
1819
0 signed-char.patch
10 g++-11.patch
+0
-32
debian/patches/signed-char.patch less more
0 Description: fix FTBFS on architectures where char is unsigned
1 Fix error
2 base64.cxx:30:1: error: narrowing conversion of '-1' from 'int' to 'char' inside { } [-Wnarrowing]
3 by making Base64::sDecTable a signed char.
4 Bug-Debian: https://bugs.debian.org/859963
5 Forwarded: via email
6 Author: gregor herrmann <gregoa@debian.org>
7 Last-Update: 2021-04-13
8 Applied: d83e0363e316836d1b8d587f4b89e8e09229abe4 and 2f1bb2b93ecec3167a0aa3410ea4423d5b26320a
9
10 --- a/mimetic/codec/base64.cxx
11 +++ b/mimetic/codec/base64.cxx
12 @@ -13,7 +13,7 @@
13 "abcdefghijklmnopqrstuvwxyz"
14 "0123456789+/=";
15
16 -const char Base64::sDecTable[] = {
17 +const signed char Base64::sDecTable[] = {
18 -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,
19 -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,
20 -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,
21 --- a/mimetic/codec/base64.h
22 +++ b/mimetic/codec/base64.h
23 @@ -20,7 +20,7 @@
24 enum { default_maxlen = 76 };
25 enum { eq_sign = 100 };
26 static const char sEncTable[];
27 - static const char sDecTable[];
28 + static const signed char sDecTable[];
29 static const int sDecTableSz;
30 public:
31 class Encoder; class Decoder;