Mailinglist Archive: opensuse-commit (2092 mails)

< Previous Next >
commit bsd-games
  • From: root@xxxxxxxxxxxxxxx (h_root)
  • Date: Thu, 09 Aug 2007 18:12:23 +0200
  • Message-id: <20070809161224.283E667832C@xxxxxxxxxxxxxxx>

Hello community,

here is the log from the commit of package bsd-games
checked in at Thu Aug 9 18:12:23 CEST 2007.

--------
--- bsd-games/bsd-games.changes 2007-08-03 15:48:24.000000000 +0200
+++ /mounts/work_src_done/STABLE/bsd-games/bsd-games.changes    2007-08-09 11:32:55.000000000 +0200
@@ -1,0 +2,5 @@
+Thu Aug  9 11:32:42 CEST 2007 - anosek@xxxxxxx
+
+- fixed build (compile.patch)
+
+-------------------------------------------------------------------

Old:
----
  bsd-games-2.17-dab.patch

New:
----
  bsd-games-2.17-compile.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ bsd-games.spec ++++++
--- /var/tmp/diff_new_pack.r31400/_old  2007-08-09 18:11:44.000000000 +0200
+++ /var/tmp/diff_new_pack.r31400/_new  2007-08-09 18:11:44.000000000 +0200
@@ -20,7 +20,7 @@
 PreReq:         permissions
 Autoreqprov:    on
 Version:        2.17
-Release:        1
+Release:        2
 Summary:        Several Text-Mode Games
 Source:         %{name}-%{version}.tar.bz2
 Patch0:         %{name}-%{version}.diff
@@ -30,7 +30,7 @@
 Patch4:         %{name}-%{version}-execl.diff
 Patch5:         %{name}-%{version}-codecleanup.diff
 Patch7:         hunt-64bit.patch
-Patch8:         %{name}-%{version}-dab.patch
+Patch8:         %{name}-%{version}-compile.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -60,11 +60,12 @@
 
 %build
 (echo $RPM_BUILD_ROOT
-echo "fortune dab dm"
+echo "fortune"
 for i in {1,2}{1,2,3,4,5}; do echo; done;              # 10 times default
-echo "n"
+echo
+echo "n"                                             # Set owners/groups on installed files
 yes "") | ./configure
-make OPTIMIZE="$RPM_OPT_FLAGS"
+make OPTIMIZE="$RPM_OPT_FLAGS" dab_CXXFLAGS="-DHAVE_fgetln"
 
 %install
 make INSTALL_PREFIX=$RPM_BUILD_ROOT install
@@ -76,10 +77,9 @@
     echo $i
     case $i in
         atc|battlestar|cfscores|cribbage|phantasia|robots|sail|snake|tetris-bsd|\
-       # adventure|arithmetic|backgammon|boggle|caesar|canfield|dm|fish|gomoku|hangman|\
-       adventure|arithmetic|backgammon|boggle|caesar|canfield|fish|gomoku|hangman|\
+       adventure|arithmetic|backgammon|boggle|caesar|canfield|dm|fish|gomoku|hangman|\
        hunt|huntd|mille|monop|pig|pom|ppt|primes|quiz|rain|snscore|teachgammon|\
-       trek|worm|worms|wump)
+       trek|worm|worms|wump|dab)
        echo "/usr/games/$i" >> $RPM_BUILD_ROOT/usr/share/games/sgidlist
        echo "%%verify(not mode) %%attr(0755,games,games) /usr/games/$i" >> filelist.add
        ;;
@@ -88,6 +88,7 @@
        ;;
     esac
 done
+rm $RPM_BUILD_ROOT/usr/share/doc/bsd-games/trek.me
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -107,6 +108,8 @@
 %attr(-,games,games) /usr/share/misc/*
 
 %changelog
+* Thu Aug 09 2007 - anosek@xxxxxxx
+- fixed build (compile.patch)
 * Fri Aug 03 2007 - anosek@xxxxxxx
 - updated to version 2.17
   - added new game dab (Dots and Boxes)

++++++ bsd-games-2.17-compile.patch ++++++
--- dm/Makefrag
+++ dm/Makefrag
@@ -27,7 +27,7 @@
 # SUCH DAMAGE.
 
 # Add -DLOG if you want logging
-dm_DEFS := $(GETLOADAVG_DEFS) -D_GNU_SOURCE -DSUPPORT_UTMPX -DSUPPORT_UTMP # -DLOG
+dm_DEFS := $(GETLOADAVG_DEFS) -D_GNU_SOURCE -DSUPPORT_UTMP # -DLOG
 dm_DIRS := $(GAMESDIR) $(MAN8DIR) $(MAN5DIR)
 
 dm_all:        dm/dm dm/dm.8 dm/dm.conf.5

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread