Skip to Content.
Sympa Menu

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

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Andra?? Levstik <scm AT mail.sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master games grimoire by Andra?? Levstik (bb56f6d2b2ca2860a52715a7cf51467846e0032f)
  • Date: Mon, 19 Jun 2006 10:22:51 -0500

GIT changes to master games grimoire by Andra?? Levstik <ruskie AT mages.ath.cx>:

games-terminal/bsd-games/BUILD | 27 ++++++---------------------
games-terminal/bsd-games/DEPENDS | 3 ++-
games-terminal/bsd-games/DETAILS | 12 ++++++------
games-terminal/bsd-games/HISTORY | 11 +++++++++--
games-terminal/bsd-games/INSTALL | 3 +++
games-terminal/bsd-games/PRE_BUILD | 3 +++
games-terminal/bsd-games/stdio.h.patch | 17 +++++++++++++++++
7 files changed, 46 insertions(+), 30 deletions(-)

New commits:
commit bb56f6d2b2ca2860a52715a7cf51467846e0032f
Author: Andra?? Levstik <ruskie AT mages.ath.cx>
Commit: Andra?? Levstik <ruskie AT mages.ath.cx>

Updated for bug #11667

diff --git a/games-terminal/bsd-games/BUILD b/games-terminal/bsd-games/BUILD
index 6c864c9..1e3b614 100755
--- a/games-terminal/bsd-games/BUILD
+++ b/games-terminal/bsd-games/BUILD
@@ -1,21 +1,6 @@
-(
- # factor is provided by coreutils
- rm -rf factor/ &&
- # fortune is from ... fortune
- rm -rf fortune/ &&
- yes "" | ./configure &&
- make &&
- prepare_install &&
- make install &&
- chown games:games /var/games/robots_roll &&
- chown games:games /var/games/sail &&
- chown games:games /var/games/saillog &&
- chown games:games /var/games/snake.log &&
- chown games:games /var/games/snakerawscores &&
- chown games:games /var/games/tetris-bsd.scores &&
- chown games:games /var/games/atc_score &&
- chown games:games /var/games/battlestar.log &&
- chown games:games /var/games/cfscores &&
- chown games:games /var/games/criblog
-
-) > $C_FIFO 2>&1
+# factor is provided by coreutils
+rm -rf factor/ &&
+# fortune is from ... fortune
+rm -rf fortune/ &&
+yes "" | ./configure &&
+make
diff --git a/games-terminal/bsd-games/DEPENDS
b/games-terminal/bsd-games/DEPENDS
index 047b4fa..d90cf14 100755
--- a/games-terminal/bsd-games/DEPENDS
+++ b/games-terminal/bsd-games/DEPENDS
@@ -1,2 +1,3 @@
-depends ncurses &&
+depends ncurses &&
+depends g++ &&
depends miscfiles #boggle and hangman need /usr/share/dict/words
diff --git a/games-terminal/bsd-games/DETAILS
b/games-terminal/bsd-games/DETAILS
index 0238add..8100c73 100755
--- a/games-terminal/bsd-games/DETAILS
+++ b/games-terminal/bsd-games/DETAILS
@@ -7,12 +7,12 @@ SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL
ENTERED=20030123
UPDATED=20040106
LICENSE[0]=BSD
- BUILD_API=1
SHORT="bsd-games are games and fun programs from BSD."
cat << EOF
-caesar: rot13 generalized.
-snake: Run around a field picking up money and avoid being bitten.
-fish: The card game Go Fish.
-random: Drop lines at random from a text file or generate random numbers.
-etc.
+Port of most of the games from NetBSD-current. Games
+included: adventure arithmetic atc backgammon banner battlestar
+bcd boggle caesar canfield countmail cribbage dab dm factor fish
+fortune gomoku hack hangman hunt mille monop morse number phantasia
+pig pom ppt primes quiz rain random robots sail snake tetris trek
+wargames worm worms wtf wump.
EOF
diff --git a/games-terminal/bsd-games/HISTORY
b/games-terminal/bsd-games/HISTORY
index 56236a8..63f9453 100644
--- a/games-terminal/bsd-games/HISTORY
+++ b/games-terminal/bsd-games/HISTORY
@@ -1,3 +1,11 @@
+2006-06-19 Andra?? "ruskie" Levstik <ruskie AT mages.ath.cx>
+ * BUILD: build api 2 split
+ * INSTALL: build api 2 split, added
+ * DETAILS: build api 2 split, added a bit different description
+ * PRE_BUILD: added for patch, added
+ * stdio.h.patch: patch as per bug #11667, added
+ * DEPENDS: g++ needed for some
+
2006-06-12 Arwed v. Merkatz <v.merkatz AT gmx.net>
* DETAILS: inserted BUILD_API=1 line

@@ -8,7 +16,7 @@
* DETAILS: update to 2.17

2004-03-27 Jason Flatt <jflatt AT sourcemage.org>
- * BUILD: Modified chown settings per Cl?ment MATHIEU and bug # 6478.
+ * BUILD: Modified chown settings per Cl?ment MATHIEU and bug # 6478.

2004-03-27 Jason Flatt <jflatt AT sourcemage.org>
* DETAILS: Updated to version 2.16
@@ -30,4 +38,3 @@

2003-01-23 Pierre Abbat <phma AT webjockey.net>
* Wrote this spell.
-
diff --git a/games-terminal/bsd-games/INSTALL
b/games-terminal/bsd-games/INSTALL
new file mode 100755
index 0000000..ec729d9
--- /dev/null
+++ b/games-terminal/bsd-games/INSTALL
@@ -0,0 +1,3 @@
+make install &&
+cd ${INSTALL_ROOT}/var/games/ &&
+find_and_scam
diff --git a/games-terminal/bsd-games/PRE_BUILD
b/games-terminal/bsd-games/PRE_BUILD
new file mode 100755
index 0000000..6ab0994
--- /dev/null
+++ b/games-terminal/bsd-games/PRE_BUILD
@@ -0,0 +1,3 @@
+default_pre_build &&
+cd $SOURCE_DIRECTORY/include &&
+patch -p0 < $SCRIPT_DIRECTORY/stdio.h.patch
diff --git a/games-terminal/bsd-games/stdio.h.patch
b/games-terminal/bsd-games/stdio.h.patch
new file mode 100644
index 0000000..32a3d1e
--- /dev/null
+++ b/games-terminal/bsd-games/stdio.h.patch
@@ -0,0 +1,17 @@
+--- stdio.h.orig 2000-08-04 08:24:39.000000000 +0800
++++ stdio.h 2006-04-28 12:00:43.000000000 +0800
+@@ -34,6 +34,14 @@
+ #include <bsd-games.h>
+ #include_next <stdio.h>
+
++#ifdef __cplusplus
++extern "C" {
++#endif
++
+ #ifndef HAVE_fgetln
+ extern char *fgetln(FILE *stream, size_t *len);
+ #endif
++
++#ifdef __cplusplus
++}
++#endif



  • [SM-Commit] GIT changes to master games grimoire by Andra?? Levstik (bb56f6d2b2ca2860a52715a7cf51467846e0032f), Andra?? Levstik, 06/19/2006

Archive powered by MHonArc 2.6.24.

Top of Page