pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/bozohttpd Fix build with gcc3 (hi mrg! :) ).



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0d71c97504a1
branches:  trunk
changeset: 462181:0d71c97504a1
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sat Sep 27 15:37:43 2003 +0000

description:
Fix build with gcc3 (hi mrg! :) ).

diffstat:

 www/bozohttpd/distinfo         |   4 ++--
 www/bozohttpd/patches/patch-aa |  26 ++++++++++++++++++++++++--
 2 files changed, 26 insertions(+), 4 deletions(-)

diffs (49 lines):

diff -r 64aea54e3c5f -r 0d71c97504a1 www/bozohttpd/distinfo
--- a/www/bozohttpd/distinfo    Sat Sep 27 15:29:47 2003 +0000
+++ b/www/bozohttpd/distinfo    Sat Sep 27 15:37:43 2003 +0000
@@ -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 -r 64aea54e3c5f -r 0d71c97504a1 www/bozohttpd/patches/patch-aa
--- a/www/bozohttpd/patches/patch-aa    Sat Sep 27 15:29:47 2003 +0000
+++ b/www/bozohttpd/patches/patch-aa    Sat Sep 27 15:37:43 2003 +0000
@@ -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 @@
        { 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);



Home | Main Index | Thread Index | Old Index