pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/games/zoom Fix build on MacOS; noted by Edgar Fuss in ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/e37180733ea7
branches: trunk
changeset: 576071:e37180733ea7
user: dholland <dholland%pkgsrc.org@localhost>
date: Mon May 31 23:53:36 2010 +0000
description:
Fix build on MacOS; noted by Edgar Fuss in PR 41539, fix is obvious.
diffstat:
games/zoom/distinfo | 3 ++-
games/zoom/patches/patch-ab | 15 +++++++++++++++
2 files changed, 17 insertions(+), 1 deletions(-)
diffs (31 lines):
diff -r cb9df5dd7236 -r e37180733ea7 games/zoom/distinfo
--- a/games/zoom/distinfo Mon May 31 23:20:46 2010 +0000
+++ b/games/zoom/distinfo Mon May 31 23:53:36 2010 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.4 2005/08/04 10:40:38 adam Exp $
+$NetBSD: distinfo,v 1.5 2010/05/31 23:53:36 dholland Exp $
SHA1 (zoom-1.0.3.tar.gz) = 1a171aaae1f9eaffb4a6c9aee2c32e26c4c3a081
RMD160 (zoom-1.0.3.tar.gz) = e40b7c7848299ae7e5005c138ea329e523f7cade
Size (zoom-1.0.3.tar.gz) = 1186847 bytes
SHA1 (patch-aa) = 3e38ab601ff5f0ec423991c91d5107b4775644b7
+SHA1 (patch-ab) = c0953b6dcbbb41f7941b06ac86b22b62e225b90e
diff -r cb9df5dd7236 -r e37180733ea7 games/zoom/patches/patch-ab
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/games/zoom/patches/patch-ab Mon May 31 23:53:36 2010 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-ab,v 1.3 2010/05/31 23:53:36 dholland Exp $
+
+Fix build on MacOS.
+
+--- src/file.c~ 2005-05-16 11:28:45.000000000 +0000
++++ src/file.c
+@@ -574,7 +574,7 @@ ZByte* read_block(ZFile* file, int start
+ end_pos-start_pos, block, &rd);
+ if (erm != noErr)
+ zmachine_fatal("Error while reading from file - %s", file_error_text(erm));
+- if (erm == eofErr) endOfFile = 1;
++ if (erm == eofErr) file->endOfFile = 1;
+ if (rd != end_pos-start_pos)
+ zmachine_fatal("Tried to read %i items of 1 byte, got %i items",
+ end_pos-start_pos, rd);
Home |
Main Index |
Thread Index |
Old Index