aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-08-22 21:54:48 +0800
committerkrion <krion@FreeBSD.org>2004-08-22 21:54:48 +0800
commit841574ba774ab96feae431b9d4ce86bd3d1847ab (patch)
treefa15baf161c38beb1b35d730915e061ab4b36f87 /net
parentb9df3ffbdbd97dc989ffd901bfdb3ecc55336951 (diff)
downloadfreebsd-ports-gnome-841574ba774ab96feae431b9d4ce86bd3d1847ab.tar.gz
freebsd-ports-gnome-841574ba774ab96feae431b9d4ce86bd3d1847ab.tar.zst
freebsd-ports-gnome-841574ba774ab96feae431b9d4ce86bd3d1847ab.zip
Fix build with gcc-3.4
Diffstat (limited to 'net')
-rw-r--r--net/gnome-vnc/files/patch-gnome-vnc-viewer.c14
-rw-r--r--net/gnome-vnc/files/patch-vnc-viewer.c32
2 files changed, 46 insertions, 0 deletions
diff --git a/net/gnome-vnc/files/patch-gnome-vnc-viewer.c b/net/gnome-vnc/files/patch-gnome-vnc-viewer.c
new file mode 100644
index 000000000000..cf16c177f3fa
--- /dev/null
+++ b/net/gnome-vnc/files/patch-gnome-vnc-viewer.c
@@ -0,0 +1,14 @@
+
+$FreeBSD$
+
+--- gnome-vnc-viewer.c.orig Sun Aug 22 15:48:17 2004
++++ gnome-vnc-viewer.c Sun Aug 22 15:48:33 2004
+@@ -343,7 +343,7 @@
+ curShared = TRUE; break;
+ case -2:
+
+- }
++ break;}
+ case POPT_CALLBACK_REASON_PRE:
+ if (!strcmp(arg, "8"))
+ curDepth = VNC_VIEWER_DEPTH_8BIT;
diff --git a/net/gnome-vnc/files/patch-vnc-viewer.c b/net/gnome-vnc/files/patch-vnc-viewer.c
new file mode 100644
index 000000000000..f8cffa9f9ad0
--- /dev/null
+++ b/net/gnome-vnc/files/patch-vnc-viewer.c
@@ -0,0 +1,32 @@
+
+$FreeBSD$
+
+--- vnc-viewer.c.orig Sun Aug 22 15:47:19 2004
++++ vnc-viewer.c Sun Aug 22 15:47:52 2004
+@@ -391,7 +391,7 @@
+ g_free(text);
+ break;
+ }
+- default:
++ default: break;
+ }
+ g_free(msg);
+ }
+@@ -781,7 +781,7 @@
+ case 1: vnc->button_mask |= rfbButton1Mask; break;
+ case 2: vnc->button_mask |= rfbButton2Mask; break;
+ case 3: vnc->button_mask |= rfbButton3Mask; break;
+- default:
++ default: break;
+ }
+
+ x = vnc->hadj->value + (guint16)event->x;
+@@ -801,7 +801,7 @@
+ case 1: vnc->button_mask &= ~rfbButton1Mask; break;
+ case 2: vnc->button_mask &= ~rfbButton2Mask; break;
+ case 3: vnc->button_mask &= ~rfbButton3Mask; break;
+- default:
++ default: break;
+ }
+
+ x = vnc->hadj->value + (guint16)event->x;