diff options
Diffstat (limited to 'www/Mosaic/patches')
-rw-r--r-- | www/Mosaic/patches/patch-ab | 26 | ||||
-rw-r--r-- | www/Mosaic/patches/patch-ac | 26 | ||||
-rw-r--r-- | www/Mosaic/patches/patch-ad | 6 | ||||
-rw-r--r-- | www/Mosaic/patches/patch-ae | 58 | ||||
-rw-r--r-- | www/Mosaic/patches/patch-af | 21 | ||||
-rw-r--r-- | www/Mosaic/patches/patch-ah | 32 | ||||
-rw-r--r-- | www/Mosaic/patches/patch-as | 35 |
7 files changed, 110 insertions, 94 deletions
diff --git a/www/Mosaic/patches/patch-ab b/www/Mosaic/patches/patch-ab index fb7420fcc39..331fe326425 100644 --- a/www/Mosaic/patches/patch-ab +++ b/www/Mosaic/patches/patch-ab @@ -1,14 +1,14 @@ -$NetBSD: patch-ab,v 1.2 1998/08/07 11:14:15 agc Exp $ +$NetBSD: patch-ab,v 1.3 2004/05/03 23:30:00 wiz Exp $ -*** libwww2/HTTCP.c.orig Mon Aug 7 17:12:22 1995 ---- libwww2/HTTCP.c Mon Aug 7 17:12:28 1995 -*************** -*** 65,71 **** - extern int errno; - #endif /* errno */ - -- extern char *sys_errlist[]; /* see man perror on cernvax */ - extern int sys_nerr; - - /* Report Internet Error ---- 65,70 ---- +--- libwww2/HTTCP.c.orig 1996-06-27 02:22:48.000000000 +0200 ++++ libwww2/HTTCP.c +@@ -72,9 +72,6 @@ PRIVATE char *hostname=0; /* The name o + extern int errno; + #endif /* errno */ + +-extern char *sys_errlist[]; /* see man perror on cernvax */ +-extern int sys_nerr; +- + /* Report Internet Error + ** --------------------- + */ diff --git a/www/Mosaic/patches/patch-ac b/www/Mosaic/patches/patch-ac index caf0b91406f..b8e013ca4ea 100644 --- a/www/Mosaic/patches/patch-ac +++ b/www/Mosaic/patches/patch-ac @@ -1,14 +1,14 @@ -$NetBSD: patch-ac,v 1.2 1998/08/07 11:14:16 agc Exp $ +$NetBSD: patch-ac,v 1.3 2004/05/03 23:30:00 wiz Exp $ -*** src/gui-dialogs.c.orig Mon Aug 7 18:23:34 1995 ---- src/gui-dialogs.c Mon Aug 7 18:23:46 1995 -*************** -*** 75,81 **** - /*swp -- for ~ expansion*/ - #include <pwd.h> - extern int sys_nerr; -- extern char *sys_errlist[]; - extern int errno; - #define __MAX_HOME_LEN__ 256 - int pathEval(char *dest, char *src); ---- 75,80 ---- +--- src/gui-dialogs.c.orig 1996-07-18 09:49:41.000000000 +0200 ++++ src/gui-dialogs.c +@@ -87,9 +87,6 @@ extern int is_uncompressed; + + /*swp -- for ~ expansion*/ + #include <pwd.h> +-extern int sys_nerr; +-extern char *sys_errlist[]; +-extern int errno; + #define __MAX_HOME_LEN__ 256 + int pathEval(char *dest, char *src); + char *getFileName(char *file_src); diff --git a/www/Mosaic/patches/patch-ad b/www/Mosaic/patches/patch-ad index f4e4085cfcd..b8820d152af 100644 --- a/www/Mosaic/patches/patch-ad +++ b/www/Mosaic/patches/patch-ad @@ -1,7 +1,7 @@ -$NetBSD: patch-ad,v 1.3 1998/08/07 11:14:16 agc Exp $ +$NetBSD: patch-ad,v 1.4 2004/05/03 23:30:00 wiz Exp $ ---- ./src/xresources.h.org Tue Apr 9 21:41:26 1996 -+++ ./src/xresources.h Tue Apr 9 21:43:12 1996 +--- src/xresources.h.org Tue Apr 9 21:41:26 1996 ++++ src/xresources.h Tue Apr 9 21:43:12 1996 @@ -94,7 +94,7 @@ { "confirmExit", "ConfirmExit", XtRBoolean, sizeof (Boolean), offset (confirm_exit), XtRString, "True" }, diff --git a/www/Mosaic/patches/patch-ae b/www/Mosaic/patches/patch-ae index 32c8930c72b..8cebdcad3d6 100644 --- a/www/Mosaic/patches/patch-ae +++ b/www/Mosaic/patches/patch-ae @@ -1,38 +1,22 @@ -$NetBSD: patch-ae,v 1.2 1998/08/07 11:14:17 agc Exp $ +$NetBSD: patch-ae,v 1.3 2004/05/03 23:30:00 wiz Exp $ -*** src/comment.h.bak Fri Jun 7 00:01:43 1996 ---- src/comment.h Sat Aug 3 13:58:11 1996 -*************** -*** 67,73 **** - #ifndef _COMMENT_H - #define _COMMENT_H - -! char *comment_card_html_top= \ - "<title>\n" \ - " Comment Card for Mosaic 2.6\n" \ - "</title>\n" \ ---- 67,73 ---- - #ifndef _COMMENT_H - #define _COMMENT_H - -! static char *comment_card_html_top= \ - "<title>\n" \ - " Comment Card for Mosaic 2.6\n" \ - "</title>\n" \ -*************** -*** 103,109 **** - " <p>\n" \ - "\n"; - -! char *comment_card_html_bot= \ - " </p>\n" \ - " </li>\n" \ - " <br>\n" \ ---- 103,109 ---- - " <p>\n" \ - "\n"; - -! static char *comment_card_html_bot= \ - " </p>\n" \ - " </li>\n" \ - " <br>\n" \ +--- src/comment.h.orig 1996-06-06 22:01:43.000000000 +0200 ++++ src/comment.h +@@ -67,7 +67,7 @@ + #ifndef _COMMENT_H + #define _COMMENT_H + +-char *comment_card_html_top= \ ++static char *comment_card_html_top= \ + "<title>\n" \ + " Comment Card for Mosaic 2.6\n" \ + "</title>\n" \ +@@ -103,7 +103,7 @@ char *comment_card_html_top= \ + " <p>\n" \ + "\n"; + +-char *comment_card_html_bot= \ ++static char *comment_card_html_bot= \ + " </p>\n" \ + " </li>\n" \ + " <br>\n" \ diff --git a/www/Mosaic/patches/patch-af b/www/Mosaic/patches/patch-af index 8d391939fc2..12d54a8df32 100644 --- a/www/Mosaic/patches/patch-af +++ b/www/Mosaic/patches/patch-af @@ -1,12 +1,17 @@ -$NetBSD: patch-af,v 1.3 1999/11/27 23:50:25 rh Exp $ +$NetBSD: patch-af,v 1.4 2004/05/03 23:30:00 wiz Exp $ ---- libnut/system.c.orig Sun Nov 28 00:47:49 1999 -+++ libnut/system.c Sun Nov 28 00:47:49 1999 -@@ -103,7 +103,6 @@ +--- libnut/system.c.orig 1996-06-27 03:08:52.000000000 +0200 ++++ libnut/system.c +@@ -101,12 +101,6 @@ + extern char *strdup(char *str); + #endif - #ifndef VMS - extern int sys_nerr; +-#ifndef VMS +-extern int sys_nerr; -extern char *sys_errlist[]; - extern int errno; - #endif +-extern int errno; +-#endif +- + #ifndef DISABLE_TRACE + int nutTrace=0; diff --git a/www/Mosaic/patches/patch-ah b/www/Mosaic/patches/patch-ah index 927868c9ca7..d2a1b65e4b7 100644 --- a/www/Mosaic/patches/patch-ah +++ b/www/Mosaic/patches/patch-ah @@ -1,21 +1,13 @@ -$NetBSD: patch-ah,v 1.2 1998/08/07 11:14:18 agc Exp $ +$NetBSD: patch-ah,v 1.3 2004/05/03 23:30:00 wiz Exp $ -*** src/readJPEG.c.bak Thu Jun 27 02:57:16 1996 ---- src/readJPEG.c Sat Aug 3 14:04:36 1996 -*************** -*** 127,133 **** - fprintf(stderr,"cinfo.actual_number_of_colors=%d\n",cinfo.actual_number_of_colors); - fprintf(stderr,"colrs[0].red=%d colrs[99].red=%d\n",colrs[0].red,colrs[99].red); - fprintf(stderr,"cinfo.colormap[0][0]=%d\n",cinfo.colormap[0][0]); -! {char dummy[80]; fprintf(stderr,"RETURN\n"); gets(dummy);} - } - #endif - ---- 127,133 ---- - fprintf(stderr,"cinfo.actual_number_of_colors=%d\n",cinfo.actual_number_of_colors); - fprintf(stderr,"colrs[0].red=%d colrs[99].red=%d\n",colrs[0].red,colrs[99].red); - fprintf(stderr,"cinfo.colormap[0][0]=%d\n",cinfo.colormap[0][0]); -! {char dummy[80]; fprintf(stderr,"RETURN\n"); fgets(dummy, sizeof(dummy), stdin);} - } - #endif - +--- src/readJPEG.c.orig 1996-06-27 00:57:16.000000000 +0200 ++++ src/readJPEG.c +@@ -127,7 +127,7 @@ int i; + fprintf(stderr,"cinfo.actual_number_of_colors=%d\n",cinfo.actual_number_of_colors); + fprintf(stderr,"colrs[0].red=%d colrs[99].red=%d\n",colrs[0].red,colrs[99].red); + fprintf(stderr,"cinfo.colormap[0][0]=%d\n",cinfo.colormap[0][0]); +- {char dummy[80]; fprintf(stderr,"RETURN\n"); gets(dummy);} ++ {char dummy[80]; fprintf(stderr,"RETURN\n"); fgets(dummy, sizeof(dummy), stdin);} + } + #endif + diff --git a/www/Mosaic/patches/patch-as b/www/Mosaic/patches/patch-as new file mode 100644 index 00000000000..b8d07d6ed2a --- /dev/null +++ b/www/Mosaic/patches/patch-as @@ -0,0 +1,35 @@ +$NetBSD: patch-as,v 1.1 2004/05/03 23:30:00 wiz Exp $ + +--- libhtmlw/HTML-PSformat.c.orig 1996-06-27 01:36:53.000000000 +0200 ++++ libhtmlw/HTML-PSformat.c +@@ -59,9 +59,9 @@ + * + */ + #include "../config.h" +-#include <varargs.h> + + #include <string.h> ++#include <stdarg.h> + #include <stdio.h> + #include <ctype.h> + #include <math.h> +@@ -229,9 +229,7 @@ GetDpi(HTMLWidget hw) + * + */ + static int +-PSprintf(format, va_alist) +- char* format; +- va_dcl ++PSprintf(char *format, ...) + { + int len; + char *s; +@@ -251,7 +249,7 @@ PSprintf(format, va_alist) + } + PS_string = s; + } +- va_start(args); ++ va_start(args, format); + len = vsprintf(PS_string+PS_len, format, args); + /* this is a hack to make it work on systems were vsprintf(s,...) + * returns s, instead of the len. |