diff options
author | Bernd Kuhls <bernd.kuhls@t-online.de> | 2016-08-28 13:15:59 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2016-08-28 13:38:46 +0200 |
commit | aa9fde1c459dbc20b268694eafd7a1d3341dbf76 (patch) | |
tree | 966718cdd24d8fab986d919b7f8080305c9f8ed7 /package/libxmlrpc | |
parent | e732bd1f221309eebc2584addbc296313cb471bf (diff) |
package/libxmlrpc: Fix build with gcc6
Fixes
http://autobuild.buildroot.net/results/c45/c45530f34bf2074bd204c485615124df928f246c/
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/libxmlrpc')
-rw-r--r-- | package/libxmlrpc/0006-narrowing.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/package/libxmlrpc/0006-narrowing.patch b/package/libxmlrpc/0006-narrowing.patch new file mode 100644 index 0000000000..43a5ca5f40 --- /dev/null +++ b/package/libxmlrpc/0006-narrowing.patch @@ -0,0 +1,20 @@ +Fix build with gcc6 + +Downloaded from +https://build.opensuse.org/package/view_file/devel:libraries:c_c++/xmlrpc-c/narrowing.patch + +Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> + +Index: xmlrpc-c-1.33.18/src/cpp/base64.cpp +=================================================================== +--- xmlrpc-c-1.33.18.orig/src/cpp/base64.cpp ++++ xmlrpc-c-1.33.18/src/cpp/base64.cpp +@@ -14,7 +14,7 @@ using namespace xmlrpc_c; + + namespace { + +-char const table_a2b_base64[] = { ++signed char const table_a2b_base64[] = { + -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, |