summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'www-servers/cherokee/files')
-rw-r--r--www-servers/cherokee/files/cherokee-0.7.2-signed_unsigned_char.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/www-servers/cherokee/files/cherokee-0.7.2-signed_unsigned_char.patch b/www-servers/cherokee/files/cherokee-0.7.2-signed_unsigned_char.patch
new file mode 100644
index 000000000000..9eafc4090c77
--- /dev/null
+++ b/www-servers/cherokee/files/cherokee-0.7.2-signed_unsigned_char.patch
@@ -0,0 +1,12 @@
+diff -Naur cherokee-0.7.2.orig/cherokee/buffer.c cherokee-0.7.2/cherokee/buffer.c
+--- cherokee-0.7.2.orig/cherokee/buffer.c 2008-06-20 09:55:45.000000000 +0200
++++ cherokee-0.7.2/cherokee/buffer.c 2008-06-20 09:57:41.000000000 +0200
+@@ -1250,7 +1250,7 @@
+ * "A-Za-z0-9+/".
+ */
+
+- static const char
++ static const signed char
+ b64_decode_tab[256] = {
+ -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, /* 00-0F */
+ -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, /* 10-1F */