From 7c520cd3ad42f5d94a9888bb9b3db7c79b6fd94f Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Tue, 2 Jun 2009 22:09:53 +0200 Subject: fix regressions for allconfig alix1c glibc target --- package/cbtt/patches/patch-base64_cpp | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 package/cbtt/patches/patch-base64_cpp (limited to 'package/cbtt') diff --git a/package/cbtt/patches/patch-base64_cpp b/package/cbtt/patches/patch-base64_cpp new file mode 100644 index 000000000..d69e6f997 --- /dev/null +++ b/package/cbtt/patches/patch-base64_cpp @@ -0,0 +1,20 @@ +$Id: update-patches 24 2008-08-31 14:56:13Z wbx $ +--- cbtt80-20060211-src.orig/base64.cpp 2006-02-07 18:44:58.000000000 +0100 ++++ cbtt80-20060211-src/base64.cpp 2009-06-01 19:00:07.000000000 +0200 +@@ -112,7 +112,7 @@ uchar pBase64[] = { + /* Returns: bool - True (!0) if the operation was successful. */ + /* False (0) if the operation was unsuccessful. */ + /*---------------------------------------------------------------------------*/ +-char *b64decode(const char *s) ++char *b64decode(char *s) + { + int l = strlen(s); // Get length of Base64 string. + char *b; // Decoding buffer pointers. +@@ -121,7 +121,6 @@ char *b64decode(const char *s) + int y = 0; + + static // Collating sequence... +- const // ...independant "===". + char pPad[] = {0x3d, 0x3d, 0x3d, 0x00}; + + if (l % 4) // If it's not modulo 4, then it... -- cgit v1.2.3