Fix build with gcc-3.4
This commit is contained in:
parent
337073231a
commit
a61475e4b5
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=117024
15
net/gopher/files/patch-gopher_form.c
Normal file
15
net/gopher/files/patch-gopher_form.c
Normal file
@ -0,0 +1,15 @@
|
||||
|
||||
$FreeBSD$
|
||||
|
||||
--- gopher/form.c.orig Sun Aug 22 15:55:22 2004
|
||||
+++ gopher/form.c Sun Aug 22 15:55:36 2004
|
||||
@@ -288,7 +288,8 @@
|
||||
case ITEM_UNINIT: /* Unhandled cases... */
|
||||
case ITEM_LABEL:
|
||||
case ITEM_FILENAME:
|
||||
- }
|
||||
+ break;
|
||||
+ }
|
||||
}
|
||||
responses[respnum++] = NULL;
|
||||
}
|
54
net/gopher/files/patch-object_BLblock.c
Normal file
54
net/gopher/files/patch-object_BLblock.c
Normal file
@ -0,0 +1,54 @@
|
||||
|
||||
$FreeBSD$
|
||||
|
||||
--- object/BLblock.c.orig Sun Aug 22 15:52:31 2004
|
||||
+++ object/BLblock.c Sun Aug 22 15:53:33 2004
|
||||
@@ -118,7 +118,7 @@
|
||||
STAinit(bl->data.text);
|
||||
break;
|
||||
case BDATA_NONE:
|
||||
- }
|
||||
+ break;}
|
||||
}
|
||||
|
||||
/*
|
||||
@@ -141,7 +141,8 @@
|
||||
GSdestroy(bl->data.gs);
|
||||
break;
|
||||
case BDATA_NONE:
|
||||
- }
|
||||
+ break;
|
||||
+ }
|
||||
}
|
||||
|
||||
/*
|
||||
@@ -174,7 +175,8 @@
|
||||
BLsetText(dest, orig->data.text);
|
||||
break;
|
||||
case BDATA_NONE:
|
||||
- }
|
||||
+ break;
|
||||
+ }
|
||||
}
|
||||
|
||||
|
||||
@@ -209,7 +211,8 @@
|
||||
case BDATA_NONE:
|
||||
case BDATA_FILE:
|
||||
case BDATA_GREF:
|
||||
- }
|
||||
+ break;
|
||||
+ }
|
||||
return(NULL);
|
||||
}
|
||||
|
||||
@@ -343,7 +346,8 @@
|
||||
fclose(infile);
|
||||
break;
|
||||
case BDATA_NONE:
|
||||
- }
|
||||
+ break;
|
||||
+ }
|
||||
}
|
||||
|
||||
|
14
net/gopher/files/patch-object_GSgopherobj.c
Normal file
14
net/gopher/files/patch-object_GSgopherobj.c
Normal file
@ -0,0 +1,14 @@
|
||||
|
||||
$FreeBSD$
|
||||
|
||||
--- object/GSgopherobj.c.orig Sun Aug 22 15:51:21 2004
|
||||
+++ object/GSgopherobj.c Sun Aug 22 15:51:30 2004
|
||||
@@ -2003,7 +2003,7 @@
|
||||
case news:
|
||||
case unset:
|
||||
case unknown:
|
||||
- }
|
||||
+ break;}
|
||||
|
||||
if (serviceType == ftp) {
|
||||
if (!(doneflags & G_PATH)) {
|
15
net/gopher/files/patch-object_url.c
Normal file
15
net/gopher/files/patch-object_url.c
Normal file
@ -0,0 +1,15 @@
|
||||
|
||||
$FreeBSD$
|
||||
|
||||
--- object/url.c.orig Sun Aug 22 15:54:02 2004
|
||||
+++ object/url.c Sun Aug 22 15:54:25 2004
|
||||
@@ -362,7 +362,8 @@
|
||||
case ftp:
|
||||
case unset:
|
||||
case unknown:
|
||||
- }
|
||||
+ break;
|
||||
+ }
|
||||
URLsetHost(url, cp);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user