aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2007-09-02 22:05:52 +0800
committerarved <arved@FreeBSD.org>2007-09-02 22:05:52 +0800
commitd9a1647a1a78f861bc463bc89e71880fe3c60d3c (patch)
tree0ec66f9c7d763711ca2fbd6fcdd49805eaf75547 /games
parent32218ac0af21ed281f81ee6e981d409948ef8dd7 (diff)
downloadfreebsd-ports-gnome-d9a1647a1a78f861bc463bc89e71880fe3c60d3c.tar.gz
freebsd-ports-gnome-d9a1647a1a78f861bc463bc89e71880fe3c60d3c.tar.zst
freebsd-ports-gnome-d9a1647a1a78f861bc463bc89e71880fe3c60d3c.zip
Fix build with gcc42
PR: 115726 Reported by: Gustavo Perez <gustau.perez@gmail.com>
Diffstat (limited to 'games')
-rw-r--r--games/brutalchess/files/patch-src-md3view.cpp20
-rw-r--r--games/brutalchess/files/patch-src-objview.cpp29
2 files changed, 49 insertions, 0 deletions
diff --git a/games/brutalchess/files/patch-src-md3view.cpp b/games/brutalchess/files/patch-src-md3view.cpp
new file mode 100644
index 000000000000..5be8d4cf9243
--- /dev/null
+++ b/games/brutalchess/files/patch-src-md3view.cpp
@@ -0,0 +1,20 @@
+--- src/md3view.cpp.orig 2007-09-02 15:56:32.000000000 +0200
++++ src/md3view.cpp 2007-09-02 16:00:35.000000000 +0200
+@@ -72,7 +72,7 @@
+ exit( returnCode );
+ }
+
+-int initGL( GLvoid );
++int initGL();
+ // function to reset our viewport after a window resize
+ int resizeWindow( int width, int height )
+ {
+@@ -108,7 +108,7 @@
+
+
+ // general OpenGL initialization function
+-int initGL( GLvoid )
++int initGL()
+ {
+ cout << "Initializing OpenGL" << endl;
+ // Enable smooth shading
diff --git a/games/brutalchess/files/patch-src-objview.cpp b/games/brutalchess/files/patch-src-objview.cpp
new file mode 100644
index 000000000000..4d1415bc1a2d
--- /dev/null
+++ b/games/brutalchess/files/patch-src-objview.cpp
@@ -0,0 +1,29 @@
+--- src/objview.cpp.orig 2007-09-02 16:01:24.000000000 +0200
++++ src/objview.cpp 2007-09-02 16:02:00.000000000 +0200
+@@ -73,7 +73,7 @@
+ exit( returnCode );
+ }
+
+-int initGL( GLvoid );
++int initGL();
+ // function to reset our viewport after a window resize
+ int resizeWindow( int width, int height )
+ {
+@@ -109,7 +109,7 @@
+
+
+ // general OpenGL initialization function
+-int initGL( GLvoid )
++int initGL()
+ {
+ cout << "Initializing OpenGL" << endl;
+ // Enable smooth shading
+@@ -158,7 +158,7 @@
+ }
+
+ // Here goes our drawing code
+-int drawGLScene( GLvoid )
++int drawGLScene()
+ {
+ // These are to calculate our fps
+ static GLint T0 = 0;