A signed char fix and fix two obvious typos pointed out by clang. - Matthew Martin
diff --git Makefile Makefile index 13dda6c9e91..8cc6733b52f 100644 --- Makefile +++ Makefile @@ -4,7 +4,7 @@ COMMENT= total conversion of the Space Hulk board game DISTNAME= spacehulk-1.5-beta1 PKGNAME= spacehulk-1.5beta1 -REVISION = 8 +REVISION = 9 CATEGORIES= games x11 HOMEPAGE= http://r.vinot.free.fr/spacehulk/ diff --git patches/patch-src_levelfct_cpp patches/patch-src_levelfct_cpp new file mode 100644 index 00000000000..eaab180a1f4 --- /dev/null +++ patches/patch-src_levelfct_cpp @@ -0,0 +1,19 @@ +$OpenBSD$ + +Index: src/levelfct.cpp +--- src/levelfct.cpp.orig ++++ src/levelfct.cpp +@@ -191,11 +191,11 @@ LvlFctAP::LvlFctAP(QDomElement fct, Level *l) + { + op = LvlFctAP::mean; + } +- else if(str_op = "sum") ++ else if(str_op == "sum") + { + op = LvlFctAP::sum; + } +- else if(str_op = "prod") ++ else if(str_op == "prod") + { + op = LvlFctAP::max; + } diff --git patches/patch-src_smtp_cpp patches/patch-src_smtp_cpp new file mode 100644 index 00000000000..f497978ba88 --- /dev/null +++ patches/patch-src_smtp_cpp @@ -0,0 +1,14 @@ +$OpenBSD$ + +Index: src/smtp.cpp +--- src/smtp.cpp.orig ++++ src/smtp.cpp +@@ -279,7 +279,7 @@ void Smtp::receivedAuth(QString &responseLine) + static const char base64char[65] = + "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; + +-static const char base64val[128] = { ++static const signed char base64val[128] = { + -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, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 62, -1, -1, -1, 63,
