Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master games grimoire by Andraž Levstik (f9e0dc3d9e2f6791d4c181b955c50b3781371192)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Andraž Levstik <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master games grimoire by Andraž Levstik (f9e0dc3d9e2f6791d4c181b955c50b3781371192)
  • Date: Fri, 2 May 2008 03:41:38 -0500

GIT changes to master games grimoire by Andraž Levstik <ruskie AT codemages.net>:

games-terminal/bsd-games/HISTORY | 4 ++++
games-terminal/bsd-games/PRE_BUILD | 9 ++++++---
games-terminal/bsd-games/bsd-games-2.17.patch | 14 ++++++++++++++
3 files changed, 24 insertions(+), 3 deletions(-)

New commits:
commit f9e0dc3d9e2f6791d4c181b955c50b3781371192
Author: Andraž Levstik <ruskie AT codemages.net>
Commit: Andraž Levstik <ruskie AT codemages.net>

bsd-games: fixes for gcc 4.3 thanks to Javier bug #14505

diff --git a/games-terminal/bsd-games/HISTORY
b/games-terminal/bsd-games/HISTORY
index 2dfcb2c..319dbd6 100644
--- a/games-terminal/bsd-games/HISTORY
+++ b/games-terminal/bsd-games/HISTORY
@@ -1,3 +1,7 @@
+2008-05-02 Andraž "ruskie" Levstik <ruskie AT mages.ath.cx>
+ * PRE_BUILD: fixing bug #14505 thanks to Javier
+ * bds-games-2.17.patch: added patch from debian thanks to Javier
+
2006-06-19 Andraž "ruskie" Levstik <ruskie AT mages.ath.cx>
* BUILD: build api 2 split
* INSTALL: build api 2 split, added
diff --git a/games-terminal/bsd-games/PRE_BUILD
b/games-terminal/bsd-games/PRE_BUILD
index 6ab0994..ce47f33 100755
--- a/games-terminal/bsd-games/PRE_BUILD
+++ b/games-terminal/bsd-games/PRE_BUILD
@@ -1,3 +1,6 @@
-default_pre_build &&
-cd $SOURCE_DIRECTORY/include &&
-patch -p0 < $SCRIPT_DIRECTORY/stdio.h.patch
+default_pre_build &&
+cd $SOURCE_DIRECTORY/include &&
+patch -p0 < $SPELL_DIRECTORY/stdio.h.patch &&
+cd $SOURCE_DIRECTORY &&
+patch -p1 < "$SPELL_DIRECTORY/bsd-games-2.17.patch"
+
diff --git a/games-terminal/bsd-games/bsd-games-2.17.patch
b/games-terminal/bsd-games/bsd-games-2.17.patch
new file mode 100644
index 0000000..4219291
--- /dev/null
+++ b/games-terminal/bsd-games/bsd-games-2.17.patch
@@ -0,0 +1,14 @@
+--- bsd-games-2.17.orig/dab/gamescreen.h
++++ bsd-games-2.17/dab/gamescreen.h
+@@ -70,9 +70,9 @@
+ virtual void redraw(void) = 0; // Refresh
+ virtual int getinput(void) = 0; // Get user input
+ virtual void bell(void) = 0; // Beep
+- virtual void score(size_t p, const PLAYER& p) = 0; // Post
current score
+- virtual void games(size_t p, const PLAYER& p) = 0; // Post games
won
+- virtual void total(size_t p, const PLAYER& p) = 0; // Post total
score
++ virtual void score(size_t s, const PLAYER& p) = 0; // Post
current score
++ virtual void games(size_t s, const PLAYER& p) = 0; // Post games
won
++ virtual void total(size_t s, const PLAYER& p) = 0; // Post total
score
+ virtual void ties(const PLAYER& p) = 0; // Post tie games
+ };



  • [SM-Commit] GIT changes to master games grimoire by Andraž Levstik (f9e0dc3d9e2f6791d4c181b955c50b3781371192), Andraž Levstik, 05/02/2008

Archive powered by MHonArc 2.6.24.

Top of Page