diff -Nru mysql-workbench-6.3.4+dfsg/debian/changelog mysql-workbench-6.3.4+dfsg/debian/changelog --- mysql-workbench-6.3.4+dfsg/debian/changelog 2015-10-23 19:09:08.000000000 +0000 +++ mysql-workbench-6.3.4+dfsg/debian/changelog 2015-10-31 13:17:50.000000000 +0000 @@ -1,3 +1,9 @@ +mysql-workbench (6.3.4+dfsg-2+rpi1) stretch-staging; urgency=medium + + * Fix build failure on architectures where plain char is unsigned. + + -- Peter Michael Green Sat, 31 Oct 2015 13:17:34 +0000 + mysql-workbench (6.3.4+dfsg-2) unstable; urgency=medium * New upstream "gcc5.patch" from Marcin Szalowicz (fixes FTBFS). diff -Nru mysql-workbench-6.3.4+dfsg/debian/patches/series mysql-workbench-6.3.4+dfsg/debian/patches/series --- mysql-workbench-6.3.4+dfsg/debian/patches/series 2015-10-23 19:03:51.000000000 +0000 +++ mysql-workbench-6.3.4+dfsg/debian/patches/series 2015-10-31 13:16:04.000000000 +0000 @@ -2,3 +2,4 @@ gcc5.patch pythonlibs.patch wbcopytables-rpath.patch +specify-char-signedness diff -Nru mysql-workbench-6.3.4+dfsg/debian/patches/specify-char-signedness mysql-workbench-6.3.4+dfsg/debian/patches/specify-char-signedness --- mysql-workbench-6.3.4+dfsg/debian/patches/specify-char-signedness 1970-01-01 00:00:00.000000000 +0000 +++ mysql-workbench-6.3.4+dfsg/debian/patches/specify-char-signedness 2015-10-31 13:17:05.000000000 +0000 @@ -0,0 +1,27 @@ +Description: Fix error related to char signedness +Author: Peter Michael Green + +--- +The information above should follow the Patch Tagging Guidelines, please +checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here +are templates for supplementary fields that you might want to add: + +Origin: , +Bug: +Bug-Debian: https://bugs.debian.org/ +Bug-Ubuntu: https://launchpad.net/bugs/ +Forwarded: +Reviewed-By: +Last-Update: + +--- mysql-workbench-6.3.4+dfsg.orig/library/sql.parser/source/ctype-utf8.cpp ++++ mysql-workbench-6.3.4+dfsg/library/sql.parser/source/ctype-utf8.cpp +@@ -3869,7 +3869,7 @@ static uint16 uni_FF20_FF5F[64]= + + static int hexlo(int x) + { +- static char hex_lo_digit[256]= ++ static signed char hex_lo_digit[256]= + { + -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, /* ................ */