Unbreak on armv7/arm64, clang + char unsigned by default
from Markus Hennecke
This commit is contained in:
parent
0ac926161e
commit
84aabdcf7b
@ -1,10 +1,10 @@
|
||||
# $OpenBSD: Makefile,v 1.11 2017/11/16 23:20:39 naddy Exp $
|
||||
# $OpenBSD: Makefile,v 1.12 2018/05/28 16:46:14 jca Exp $
|
||||
|
||||
COMMENT = C++ MIME library
|
||||
|
||||
DISTNAME = mimetic-0.9.8
|
||||
CATEGORIES = mail devel
|
||||
REVISION = 2
|
||||
REVISION = 3
|
||||
|
||||
SHARED_LIBS = mimetic 1.0 #0.0
|
||||
|
||||
|
14
mail/mimetic/patches/patch-mimetic_codec_base64_cxx
Normal file
14
mail/mimetic/patches/patch-mimetic_codec_base64_cxx
Normal file
@ -0,0 +1,14 @@
|
||||
$OpenBSD: patch-mimetic_codec_base64_cxx,v 1.1 2018/05/28 16:46:14 jca Exp $
|
||||
|
||||
Index: mimetic/codec/base64.cxx
|
||||
--- mimetic/codec/base64.cxx.orig
|
||||
+++ mimetic/codec/base64.cxx
|
||||
@@ -13,7 +13,7 @@ const char Base64::sEncTable[] =
|
||||
"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,
|
14
mail/mimetic/patches/patch-mimetic_codec_base64_h
Normal file
14
mail/mimetic/patches/patch-mimetic_codec_base64_h
Normal file
@ -0,0 +1,14 @@
|
||||
$OpenBSD: patch-mimetic_codec_base64_h,v 1.1 2018/05/28 16:46:14 jca Exp $
|
||||
|
||||
Index: mimetic/codec/base64.h
|
||||
--- mimetic/codec/base64.h.orig
|
||||
+++ mimetic/codec/base64.h
|
||||
@@ -20,7 +20,7 @@ class Base64
|
||||
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;
|
Loading…
x
Reference in New Issue
Block a user