Summary: | games-board/brutalchess-0.5.2_alpha.ebuild (New Package) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Paul Bredbury <brebs> |
Component: | [OLD] Games | Assignee: | Gentoo Games <games> |
Status: | RESOLVED LATER | ||
Severity: | enhancement | CC: | drescherjm |
Priority: | High | Keywords: | EBUILD |
Version: | 2006.1 | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://brutalchess.sourceforge.net/ | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
brutalchess-0.5.2_alpha.ebuild
brutalchess-0.5.2_alpha.ebuild |
Description
Paul Bredbury
2007-02-03 05:42:56 UTC
Created attachment 108987 [details]
brutalchess-0.5.2_alpha.ebuild
reopen when it's out of alpha. Created attachment 108989 [details]
brutalchess-0.5.2_alpha.ebuild
Using virtual/glut instead of media-libs/glut.
I have tested this ebuild and it works on amd64 as well. The ebuilds did not compile for me, those patched solved the compilation: error: 'INT_MAX' was not declared in this scope patch: --- src/brutalplayer.cpp~ 2007-03-05 11:44:48.000000000 +0000 +++ src/brutalplayer.cpp 2007-03-05 11:45:01.000000000 +0000 @@ -10,6 +10,7 @@ #include "chessplayer.h" #include "options.h" +#include <climits> #include <vector> #include <time.h> error: '<anonymous>' has incomplete type patch: --- ./src/md3view.cpp~ 2007-02-03 15:18:26.000000000 +0000 +++ ./src/md3view.cpp 2007-02-03 15:18:38.000000000 +0000 @@ -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~ 2007-02-03 15:18:52.000000000 +0000 +++ ./src/objview.cpp 2007-02-03 15:19:06.000000000 +0000 @@ -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; |