Mailinglist Archive: opensuse-commit (1318 mails)

< Previous Next >
commit bsd-games
  • From: root@xxxxxxx (h_root)
  • Date: Tue, 15 Aug 2006 18:22:35 +0200 (CEST)
  • Message-id: <20060815162235.3EEA195157@xxxxxxxxxxxxxxx>

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@xxxxxxx
+
+- 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@xxxxxxx
+- fixed Hunt not working on 64 bit [#199214] (hunt-64bit.patch)
* Sat May 27 2006 - schwab@xxxxxxx
- Don't strip binaries.
* Fri Apr 14 2006 - mmarek@xxxxxxx

++++++ 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@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages