summaryrefslogtreecommitdiff
path: root/www/bozohttpd
diff options
context:
space:
mode:
authorwiz <wiz>2003-09-27 15:37:43 +0000
committerwiz <wiz>2003-09-27 15:37:43 +0000
commit6da0a62f9d540c06cb3dffd4cac5b74480a5e1c6 (patch)
treec23854227d82b6a247b39c127777a26a3602099a /www/bozohttpd
parent734e973154d692e290f93553cd00c79378f6cf0d (diff)
downloadpkgsrc-6da0a62f9d540c06cb3dffd4cac5b74480a5e1c6.tar.gz
Fix build with gcc3 (hi mrg! :) ).
Diffstat (limited to 'www/bozohttpd')
-rw-r--r--www/bozohttpd/distinfo4
-rw-r--r--www/bozohttpd/patches/patch-aa26
2 files changed, 26 insertions, 4 deletions
diff --git a/www/bozohttpd/distinfo b/www/bozohttpd/distinfo
index 32ea3e8e3c8..50af909128a 100644
--- a/www/bozohttpd/distinfo
+++ b/www/bozohttpd/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.26 2003/09/22 08:38:17 wiz Exp $
+$NetBSD: distinfo,v 1.27 2003/09/27 15:37:43 wiz Exp $
SHA1 (bozohttpd-20030626.tar.bz2) = 9ea81e7810def0b4d587803cd7707008d5198baf
Size (bozohttpd-20030626.tar.bz2) = 26831 bytes
-SHA1 (patch-aa) = 2c48c5d355625cc72f78300af2013873f05c18f7
+SHA1 (patch-aa) = f9bde6f13297c3222f671867e753fb15d431ec25
diff --git a/www/bozohttpd/patches/patch-aa b/www/bozohttpd/patches/patch-aa
index b524edb47d2..40c0f95b53d 100644
--- a/www/bozohttpd/patches/patch-aa
+++ b/www/bozohttpd/patches/patch-aa
@@ -1,6 +1,6 @@
-$NetBSD: patch-aa,v 1.8 2003/09/22 08:38:59 wiz Exp $
+$NetBSD: patch-aa,v 1.9 2003/09/27 15:37:43 wiz Exp $
---- bozohttpd.c.orig Wed Jul 9 17:53:47 2003
+--- bozohttpd.c.orig 2003-07-09 17:53:47.000000000 +0200
+++ bozohttpd.c
@@ -2092,6 +2092,9 @@ static struct content_map content_map[]
{ ".ice", "x-conference/x-cooltalk", "", "", NULL },
@@ -12,3 +12,25 @@ $NetBSD: patch-aa,v 1.8 2003/09/22 08:38:59 wiz Exp $
{ NULL, NULL, NULL, NULL, NULL, },
};
+@@ -2332,10 +2335,10 @@ error(int code, const char *fmt, ...)
+ /* the follow functions and variables are used in handling HTTP errors */
+ /* ARGSUSED */
+ static void
+-http_error(code, request, log)
++http_error(code, request, logstr)
+ int code;
+ http_req *request;
+- const char *log;
++ const char *logstr;
+ {
+ static char buf[BUFSIZ]; /* static so we don't need to malloc? */
+ char portbuf[20];
+@@ -2344,7 +2347,7 @@ http_error(code, request, log)
+ const char *proto = (request && request->hr_proto) ? request->hr_proto : http_11;
+ int size;
+
+- debug((DEBUG_FAT, "http_error %d: %s", code, log));
++ debug((DEBUG_FAT, "http_error %d: %s", code, logstr));
+ if (header == NULL || reason == NULL)
+ error(1, "http_error() failed (short = %p, long = %p)",
+ header, reason);