Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 165088 - games-board/brutalchess-0.5.2_alpha.ebuild (New Package)
Summary: games-board/brutalchess-0.5.2_alpha.ebuild (New Package)
Status: RESOLVED LATER
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Games
URL: http://brutalchess.sourceforge.net/
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2007-02-03 05:42 UTC by Paul Bredbury
Modified: 2010-07-26 17:29 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
brutalchess-0.5.2_alpha.ebuild (brutalchess-0.5.2_alpha.ebuild,1.20 KB, text/plain)
2007-02-03 05:43 UTC, Paul Bredbury
Details
brutalchess-0.5.2_alpha.ebuild (brutalchess-0.5.2_alpha.ebuild,1.19 KB, text/plain)
2007-02-03 05:47 UTC, Paul Bredbury
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Bredbury 2007-02-03 05:42:56 UTC
Hi, here is an ebuild for Brutal Chess, an OpenGL chess game.
Comment 1 Paul Bredbury 2007-02-03 05:43:37 UTC
Created attachment 108987 [details]
brutalchess-0.5.2_alpha.ebuild
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2007-02-03 05:46:30 UTC
reopen when it's out of alpha.
Comment 3 Paul Bredbury 2007-02-03 05:47:46 UTC
Created attachment 108989 [details]
brutalchess-0.5.2_alpha.ebuild

Using virtual/glut instead of media-libs/glut.
Comment 4 John M. Drescher 2007-02-04 06:17:33 UTC
I have tested this ebuild and it works on amd64 as well.
Comment 5 Lat Miver 2010-07-26 17:29:43 UTC
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;