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