aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcpiazza <cpiazza@FreeBSD.org>2000-01-09 17:19:54 +0800
committercpiazza <cpiazza@FreeBSD.org>2000-01-09 17:19:54 +0800
commit6102975409fb8db83d2bce511d571fc2d368f01c (patch)
tree6a2735a4b8423eeb447ef34c18e033a5e33be47b
parentacad3a58973686037e8b98723bf5232ba4b0a78f (diff)
downloadfreebsd-ports-graphics-6102975409fb8db83d2bce511d571fc2d368f01c.tar.gz
freebsd-ports-graphics-6102975409fb8db83d2bce511d571fc2d368f01c.tar.zst
freebsd-ports-graphics-6102975409fb8db83d2bce511d571fc2d368f01c.zip
Unbreak for newgcc
-rw-r--r--games/flying/files/patch-ab11
-rw-r--r--games/flying/files/patch-ac11
-rw-r--r--games/flying/files/patch-ad11
-rw-r--r--games/flying/files/patch-ae11
-rw-r--r--games/flying/files/patch-af20
5 files changed, 64 insertions, 0 deletions
diff --git a/games/flying/files/patch-ab b/games/flying/files/patch-ab
new file mode 100644
index 00000000000..2b0002e1e12
--- /dev/null
+++ b/games/flying/files/patch-ab
@@ -0,0 +1,11 @@
+--- carrom.C.orig Sun Jan 9 01:09:14 2000
++++ carrom.C Sun Jan 9 01:09:37 2000
+@@ -114,7 +114,7 @@
+ void Carrom::Setup( double x, double y )
+ {
+ static int nc[5] = { 3, 4, 5, 4, 3 }; // Steine pro Spalte
+-static t[19] = { -1, 1, -2, // Steinverteilung
++static int t[19] = { -1, 1, -2, // Steinverteilung
+ 2, -3, 3, 4,
+ -4, 5, 0, -5, -6,
+ 6, -7, 7, 8,
diff --git a/games/flying/files/patch-ac b/games/flying/files/patch-ac
new file mode 100644
index 00000000000..3cd229238fc
--- /dev/null
+++ b/games/flying/files/patch-ac
@@ -0,0 +1,11 @@
+--- xgraph.C.orig Sun Jan 9 01:11:55 2000
++++ xgraph.C Sun Jan 9 01:12:25 2000
+@@ -603,7 +603,7 @@
+ XSizeHints hints;
+ XEvent event;
+ static int offx=10;
+-const frame = 7;
++const int frame = 7;
+
+ hints.flags = PPosition | PSize | PAspect | PMinSize | PMaxSize;
+ hints.x = DisplayWidth(dpy,scr) -offx-width-frame;
diff --git a/games/flying/files/patch-ad b/games/flying/files/patch-ad
new file mode 100644
index 00000000000..ab80ac7abcc
--- /dev/null
+++ b/games/flying/files/patch-ad
@@ -0,0 +1,11 @@
+--- main.C.orig Sun Jan 9 01:15:53 2000
++++ main.C Sun Jan 9 01:15:55 2000
+@@ -366,7 +366,7 @@
+
+ if (in1) p1 = new PBall( game_pball, in1 );
+ if (in2) p2 = new PBall( game_pball, in2 );
+- if (!demo_flag&&!p1) p1 = new PBall( game_pball, (disp)?disp:"" );
++ if (!demo_flag&&!p1) p1 = new PBall( game_pball, (disp)?disp:(char *)"" );
+
+
+ g->DrawBackground();
diff --git a/games/flying/files/patch-ae b/games/flying/files/patch-ae
new file mode 100644
index 00000000000..31c62dc7062
--- /dev/null
+++ b/games/flying/files/patch-ae
@@ -0,0 +1,11 @@
+--- xmover.C.orig Sun Jan 9 01:16:44 2000
++++ xmover.C Sun Jan 9 01:16:51 2000
+@@ -101,7 +101,7 @@
+ private:
+ int ws; // Bits klein
+ const int wl; // Bits gross
+- static mtab[9];
++ static int mtab[9];
+ };
+
+ int Stuffer::mtab[9] = { 0x00, 0x01, 0x03, 0x07, 0x0f, 0x1f, 0x3f, 0x7f, 0xff };
diff --git a/games/flying/files/patch-af b/games/flying/files/patch-af
new file mode 100644
index 00000000000..535090bc340
--- /dev/null
+++ b/games/flying/files/patch-af
@@ -0,0 +1,20 @@
+--- pool8.C.orig Sun Jan 9 01:17:59 2000
++++ pool8.C Sun Jan 9 01:18:18 2000
+@@ -56,7 +56,7 @@
+
+ void Pool8::Triangle( const Vec2 &vec )
+ {
+-static t[15] = { 1,
++static int t[15] = { 1,
+ -1, -2,
+ 2, 0, 3,
+ -3, 4, -4, -5,
+@@ -186,7 +186,7 @@
+
+ void Pool9::Triangle( const Vec2 &vec )
+ {
+-static t[9] = { 1,
++static int t[9] = { 1,
+ 2, 3,
+ 4, -1, 5,
+ 6, 7,