Hello community, here is the log from the commit of package bsd-games checked in at Tue Aug 15 18:22:35 CEST 2006. -------- --- bsd-games/bsd-games.changes 2006-05-27 20:04:58.000000000 +0200 +++ bsd-games/bsd-games.changes 2006-08-15 15:19:29.000000000 +0200 @@ -1,0 +2,5 @@ +Tue Aug 15 15:18:17 CEST 2006 - anosek@suse.cz + +- fixed Hunt not working on 64 bit [#199214] (hunt-64bit.patch) + +------------------------------------------------------------------- New: ---- hunt-64bit.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ bsd-games.spec ++++++ --- /var/tmp/diff_new_pack.8raSQC/_old 2006-08-15 18:20:59.000000000 +0200 +++ /var/tmp/diff_new_pack.8raSQC/_new 2006-08-15 18:20:59.000000000 +0200 @@ -19,7 +19,7 @@ PreReq: permissions Autoreqprov: on Version: 2.13 -Release: 366 +Release: 367 Summary: Several Text-Mode Games Source: %{name}-%{version}.tar.bz2 Patch0: %{name}-%{version}.diff @@ -29,6 +29,7 @@ Patch4: %{name}-%{version}-execl.diff Patch5: %{name}-%{version}-codecleanup.diff Patch6: %{name}-%{version}-overflow.diff +Patch7: hunt-64bit.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -54,6 +55,7 @@ %patch4 -p1 %patch5 %patch6 +%patch7 %build (echo $RPM_BUILD_ROOT @@ -103,6 +105,8 @@ %attr(-,games,games) /usr/share/misc/* %changelog -n bsd-games +* Tue Aug 15 2006 - anosek@suse.cz +- fixed Hunt not working on 64 bit [#199214] (hunt-64bit.patch) * Sat May 27 2006 - schwab@suse.de - Don't strip binaries. * Fri Apr 14 2006 - mmarek@suse.cz ++++++ hunt-64bit.patch ++++++ --- hunt/hunt/playit.c +++ hunt/hunt/playit.c @@ -82,13 +82,13 @@ { int ch; int y, x; - long version; + uint32_t version; if (read(Socket, (char *) &version, LONGLEN) != LONGLEN) { bad_con(); /* NOTREACHED */ } - if (ntohl(version) != (unsigned long)HUNT_VERSION) { + if (ntohl(version) != (uint32_t)HUNT_VERSION) { bad_ver(); /* NOTREACHED */ } @@ -620,13 +620,13 @@ void do_message() { - long version; + uint32_t version; if (read(Socket, (char *) &version, LONGLEN) != LONGLEN) { bad_con(); /* NOTREACHED */ } - if (ntohl(version) != (unsigned long)HUNT_VERSION) { + if (ntohl(version) != (uint32_t)HUNT_VERSION) { bad_ver(); /* NOTREACHED */ } ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org