aboutsummaryrefslogtreecommitdiff
path: root/www/cherokee/files
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-05-26 17:22:05 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-05-26 17:22:05 +0000
commit8e7ee177338b3a72d490bd34fca7654f374975ce (patch)
tree05c9e1a7be5cf89525b8143d79603234e938aa47 /www/cherokee/files
parentb7bfffcb8f06d00808aebfbc21936f9affa016c0 (diff)
downloadports-8e7ee177338b3a72d490bd34fca7654f374975ce.tar.gz
ports-8e7ee177338b3a72d490bd34fca7654f374975ce.zip
Notes
Diffstat (limited to 'www/cherokee/files')
-rw-r--r--www/cherokee/files/patch-cherokee-buffer.c13
-rw-r--r--www/cherokee/files/patch-cherokee-config_protocol_scanner.c11
2 files changed, 24 insertions, 0 deletions
diff --git a/www/cherokee/files/patch-cherokee-buffer.c b/www/cherokee/files/patch-cherokee-buffer.c
new file mode 100644
index 000000000000..fa39cd33b536
--- /dev/null
+++ b/www/cherokee/files/patch-cherokee-buffer.c
@@ -0,0 +1,13 @@
+--- cherokee/buffer.c.orig Tue May 24 00:46:59 2005
++++ cherokee/buffer.c Tue May 24 16:18:01 2005
+@@ -39,6 +39,10 @@
+ #include "util.h"
+ #include "crc32.h"
+
++#ifndef va_copy
++#define va_copy(to,fr) ((to)=(fr))
++#endif
++
+ #define BUFFER_VA_LEN 200
+
+ #define TO_HEX(c) (c>9? c+'a'-10 : c+'0')
diff --git a/www/cherokee/files/patch-cherokee-config_protocol_scanner.c b/www/cherokee/files/patch-cherokee-config_protocol_scanner.c
new file mode 100644
index 000000000000..e69adfa6fcf9
--- /dev/null
+++ b/www/cherokee/files/patch-cherokee-config_protocol_scanner.c
@@ -0,0 +1,11 @@
+--- cherokee/config_protocol_scanner.c.orig Sat May 21 02:14:14 2005
++++ cherokee/config_protocol_scanner.c Tue May 24 16:15:26 2005
+@@ -782,7 +782,7 @@
+ case 6:
+ YY_RULE_SETUP
+ #line 47 "config_protocol_scanner.l"
+-{ yy_config_protocol_lval.number = atoll(yy_config_protocol_text); return T_NUM; }
++{ yy_config_protocol_lval.number = strtoll(yy_config_protocol_text, (char **)NULL, 10); return T_NUM; }
+ YY_BREAK
+ case 7:
+ /* rule 7 can match eol */