Skip to contentSkip to conversation

package/libxmlrpc: Fix build with gcc6

PATCH New Bernd Kuhls 2 participants 2 messages Aug 28, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/libxmlrpc: Fix build with gcc6

Fixes
http://autobuild.buildroot.net/results/c45/c45530f34bf2074bd204c485615124df928f246c/

---
 package/libxmlrpc/0006-narrowing.patch | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 package/libxmlrpc/0006-narrowing.patch
package/libxmlrpc/0006-narrowing.patch new file +20 -0
new file mode 100644
index 0000000..43a5ca5
@@ -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 <[email protected]>
+
+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,
Signature · 1 line
2.9.3
#1 lore raw

PATCH 1/1 package/libxmlrpc: Fix build with gcc6

Hello,

Quoted 8 lines · Bernd Kuhls

Fixes
http://autobuild.buildroot.net/results/c45/c45530f34bf2074bd204c485615124df928f246c/

---
 package/libxmlrpc/0006-narrowing.patch | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 package/libxmlrpc/0006-narrowing.patch

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com