aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;