summaryrefslogtreecommitdiffstats
path: root/games/brutalchess/brutalchess-0.5.2-fix-FTBFS.patch
diff options
context:
space:
mode:
author Erik Hanson <erik@slackbuilds.org>2010-05-13 00:26:02 +0200
committer Robby Workman <rworkman@slackbuilds.org>2010-05-13 00:26:02 +0200
commit19d2918f62e7d89fb3f363072b94753ad9b32f03 (patch)
treed9514771bd0f0fcf319be8a2632f3ab31534e12d /games/brutalchess/brutalchess-0.5.2-fix-FTBFS.patch
parent997c3acf72361bbbb6758d39dd1a759a661c670c (diff)
downloadslackbuilds-19d2918f62e7d89fb3f363072b94753ad9b32f03.tar.gz
slackbuilds-19d2918f62e7d89fb3f363072b94753ad9b32f03.tar.xz
games/brutalchess: Updated for version 0.5.2
Diffstat (limited to 'games/brutalchess/brutalchess-0.5.2-fix-FTBFS.patch')
-rw-r--r--games/brutalchess/brutalchess-0.5.2-fix-FTBFS.patch49
1 files changed, 49 insertions, 0 deletions
diff --git a/games/brutalchess/brutalchess-0.5.2-fix-FTBFS.patch b/games/brutalchess/brutalchess-0.5.2-fix-FTBFS.patch
new file mode 100644
index 0000000000..1e9ac4e0b3
--- /dev/null
+++ b/games/brutalchess/brutalchess-0.5.2-fix-FTBFS.patch
@@ -0,0 +1,49 @@
+--- src/md3view.cpp.orig 2008-07-19 09:00:23.000000000 +0200
++++ src/md3view.cpp 2008-07-19 09:00:39.000000000 +0200
+@@ -72,7 +72,7 @@
+ exit( returnCode );
+ }
+
+-int initGL( GLvoid );
++int initGL( void );
+ // 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( void )
+ {
+ cout << "Initializing OpenGL" << endl;
+ // Enable smooth shading
+--- src/objview.cpp.orig 2008-07-19 09:00:55.000000000 +0200
++++ src/objview.cpp 2008-07-19 09:01:04.000000000 +0200
+@@ -73,7 +73,7 @@
+ exit( returnCode );
+ }
+
+-int initGL( GLvoid );
++int initGL( void );
+ // 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( void )
+ {
+ cout << "Initializing OpenGL" << endl;
+ // Enable smooth shading
+@@ -158,7 +158,7 @@
+ }
+
+ // Here goes our drawing code
+-int drawGLScene( GLvoid )
++int drawGLScene( void )
+ {
+ // These are to calculate our fps
+ static GLint T0 = 0;