diff options
author | Erik Hanson <erik@slackbuilds.org> | 2010-05-11 22:22:58 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-11 22:22:58 +0200 |
commit | 40dce7991a5c3a51b9593954fd22022b42865687 (patch) | |
tree | 643cea96b9ce1f036c29d3c97ee0f3dbb8d4f156 /games | |
parent | 49c607a73d8c72b295683978fbded03811d35e9d (diff) |
games/brutalchess: Updated for version 0.5.2
Diffstat (limited to 'games')
-rw-r--r-- | games/brutalchess/bc_gcc4.2.diff | 49 | ||||
-rw-r--r-- | games/brutalchess/brutalchess.SlackBuild | 1 | ||||
-rw-r--r-- | games/brutalchess/brutalchess.info | 2 | ||||
-rw-r--r-- | games/brutalchess/doinst.sh | 2 |
4 files changed, 52 insertions, 2 deletions
diff --git a/games/brutalchess/bc_gcc4.2.diff b/games/brutalchess/bc_gcc4.2.diff new file mode 100644 index 0000000000000..79a725881cdc3 --- /dev/null +++ b/games/brutalchess/bc_gcc4.2.diff @@ -0,0 +1,49 @@ +--- a/src/md3view.cpp ++++ b/src/md3view.cpp +@@ -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 +--- a/src/objview.cpp ++++ b/src/objview.cpp +@@ -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; diff --git a/games/brutalchess/brutalchess.SlackBuild b/games/brutalchess/brutalchess.SlackBuild index d2d9c96cf24f1..f464a76c29b36 100644 --- a/games/brutalchess/brutalchess.SlackBuild +++ b/games/brutalchess/brutalchess.SlackBuild @@ -27,6 +27,7 @@ rm -rf $PRGNAM-$VERSION # but tar does not mind so do not change this. tar xvf $CWD/$PRGNAM-alpha-$VERSION-src.tar.gz || exit 1 cd $PRGNAM-$VERSION +patch -p1 < $CWD/bc_gcc4.2.diff || exit 1 chown -R root:root . chmod -R u+w,go+r-w,a-s . diff --git a/games/brutalchess/brutalchess.info b/games/brutalchess/brutalchess.info index 91e90917fef64..c0226a71b58fa 100644 --- a/games/brutalchess/brutalchess.info +++ b/games/brutalchess/brutalchess.info @@ -5,4 +5,4 @@ DOWNLOAD="http://dl.sourceforge.net/sourceforge/brutalchess/brutalchess-alpha-0. MD5SUM="370476b63091b8d82a9ea57c604dcbab" MAINTAINER="Erik Hanson" EMAIL="erik@slackbuilds.org" -APPROVED="elohim,rworkman" +APPROVED="rworkman" diff --git a/games/brutalchess/doinst.sh b/games/brutalchess/doinst.sh index 3412314ed0094..06e65784cdc87 100644 --- a/games/brutalchess/doinst.sh +++ b/games/brutalchess/doinst.sh @@ -1,5 +1,5 @@ if [ -x usr/bin/update-desktop-database ]; then - ./usr/bin/update-desktop-database ./usr/share/applications >/dev/null 2>&1 + usr/bin/update-desktop-database usr/share/applications &> /dev/null fi |