games/brutalchess: Updated for version 0.5.2

This commit is contained in:
Erik Hanson 2010-05-11 22:22:58 +02:00 committed by Robby Workman
parent 49c607a73d
commit 40dce7991a
4 changed files with 52 additions and 2 deletions

View File

@ -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;

View File

@ -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 .

View File

@ -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"

View File

@ -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