aboutsummaryrefslogtreecommitdiffstats
path: root/net/gopher
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-08-22 22:02:08 +0800
committerkrion <krion@FreeBSD.org>2004-08-22 22:02:08 +0800
commit8d66c40c692b9772816c17712d4539cb6f386f9b (patch)
tree080cc3936dc348e6be9aef2865701e7eaa1732ac /net/gopher
parent841574ba774ab96feae431b9d4ce86bd3d1847ab (diff)
downloadfreebsd-ports-gnome-8d66c40c692b9772816c17712d4539cb6f386f9b.tar.gz
freebsd-ports-gnome-8d66c40c692b9772816c17712d4539cb6f386f9b.tar.zst
freebsd-ports-gnome-8d66c40c692b9772816c17712d4539cb6f386f9b.zip
Fix build with gcc-3.4
Diffstat (limited to 'net/gopher')
-rw-r--r--net/gopher/files/patch-gopher_form.c15
-rw-r--r--net/gopher/files/patch-object_BLblock.c54
-rw-r--r--net/gopher/files/patch-object_GSgopherobj.c14
-rw-r--r--net/gopher/files/patch-object_url.c15
4 files changed, 98 insertions, 0 deletions
diff --git a/net/gopher/files/patch-gopher_form.c b/net/gopher/files/patch-gopher_form.c
new file mode 100644
index 000000000000..74f16f985507
--- /dev/null
+++ b/net/gopher/files/patch-gopher_form.c
@@ -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;
+ }
diff --git a/net/gopher/files/patch-object_BLblock.c b/net/gopher/files/patch-object_BLblock.c
new file mode 100644
index 000000000000..e34201aaf663
--- /dev/null
+++ b/net/gopher/files/patch-object_BLblock.c
@@ -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;
++ }
+ }
+
+
diff --git a/net/gopher/files/patch-object_GSgopherobj.c b/net/gopher/files/patch-object_GSgopherobj.c
new file mode 100644
index 000000000000..fbc6dfd5c631
--- /dev/null
+++ b/net/gopher/files/patch-object_GSgopherobj.c
@@ -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)) {
diff --git a/net/gopher/files/patch-object_url.c b/net/gopher/files/patch-object_url.c
new file mode 100644
index 000000000000..e2d7b80118d3
--- /dev/null
+++ b/net/gopher/files/patch-object_url.c
@@ -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);
+ }
+