aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-08-23 00:01:52 +0800
committerkrion <krion@FreeBSD.org>2004-08-23 00:01:52 +0800
commit31f269d280fb9b6f09da2b91312576d05b09b602 (patch)
tree95a5e6ee1ca1485e0054204aac003039ed0bc864 /games
parenta9db3bf8267f56d897837a7502e2d463e2262511 (diff)
downloadfreebsd-ports-graphics-31f269d280fb9b6f09da2b91312576d05b09b602.tar.gz
freebsd-ports-graphics-31f269d280fb9b6f09da2b91312576d05b09b602.tar.zst
freebsd-ports-graphics-31f269d280fb9b6f09da2b91312576d05b09b602.zip
Fix build with gcc-3.4
Diffstat (limited to 'games')
-rw-r--r--games/xmulti/files/patch-html_frame__add.c14
-rw-r--r--games/xmulti/files/patch-html_style__term.c13
-rw-r--r--games/xmulti/files/patch-html_style__y.y15
3 files changed, 42 insertions, 0 deletions
diff --git a/games/xmulti/files/patch-html_frame__add.c b/games/xmulti/files/patch-html_frame__add.c
new file mode 100644
index 00000000000..f7b26ef994b
--- /dev/null
+++ b/games/xmulti/files/patch-html_frame__add.c
@@ -0,0 +1,14 @@
+
+$FreeBSD$
+
+--- html/frame_add.c.orig Sun Aug 22 18:00:16 2004
++++ html/frame_add.c Sun Aug 22 18:00:27 2004
+@@ -215,7 +215,7 @@
+ case SSTERM_LENGTH_PX:
+ bfi->next_linesep = bsi->line_height.num - linesep;
+ break;
+- default:
++ default: break;
+ }
+
+ bfi->cur_x = 0;
diff --git a/games/xmulti/files/patch-html_style__term.c b/games/xmulti/files/patch-html_style__term.c
new file mode 100644
index 00000000000..27e1c6a78c5
--- /dev/null
+++ b/games/xmulti/files/patch-html_style__term.c
@@ -0,0 +1,13 @@
+
+$FreeBSD$
+
+--- html/style_term.c.orig Sun Aug 22 17:59:45 2004
++++ html/style_term.c Sun Aug 22 17:59:56 2004
+@@ -102,6 +102,7 @@
+ case SSTERM_HEXCOLOR:
+ case SSTERM_URL:
+ case SSTERM_RGB:
++ break;
+ }
+ return 0;
+ }
diff --git a/games/xmulti/files/patch-html_style__y.y b/games/xmulti/files/patch-html_style__y.y
new file mode 100644
index 00000000000..f9151d6c883
--- /dev/null
+++ b/games/xmulti/files/patch-html_style__y.y
@@ -0,0 +1,15 @@
+
+$FreeBSD$
+
+--- html/style_y.y.orig Sun Aug 22 17:59:06 2004
++++ html/style_y.y Sun Aug 22 17:59:22 2004
+@@ -255,7 +255,8 @@
+ case SSTERM_HEXCOLOR:
+ case SSTERM_URL:
+ case SSTERM_RGB:
+- }
++ break;
++ }
+ $$ = $2;
+ }
+ | '+' term_base { $$ = $2; }