diff options
author | wiz <wiz@pkgsrc.org> | 2006-10-17 23:44:59 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2006-10-17 23:44:59 +0000 |
commit | 84150cc7b36adf9b9b9c227ad3a27336aec3b9da (patch) | |
tree | 3e0a11e514755e519ed3c4a4800c5c62660c1046 /games/orbital_eunuchs_sniper | |
parent | f4eba3da1521217f373c7c94346e33725f0f28fc (diff) | |
download | pkgsrc-84150cc7b36adf9b9b9c227ad3a27336aec3b9da.tar.gz |
Fix build on amd64.
Diffstat (limited to 'games/orbital_eunuchs_sniper')
-rw-r--r-- | games/orbital_eunuchs_sniper/distinfo | 3 | ||||
-rw-r--r-- | games/orbital_eunuchs_sniper/patches/patch-af | 26 |
2 files changed, 28 insertions, 1 deletions
diff --git a/games/orbital_eunuchs_sniper/distinfo b/games/orbital_eunuchs_sniper/distinfo index df15ab2e5b7..fd3991c9741 100644 --- a/games/orbital_eunuchs_sniper/distinfo +++ b/games/orbital_eunuchs_sniper/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.6 2006/03/28 22:02:37 joerg Exp $ +$NetBSD: distinfo,v 1.7 2006/10/17 23:44:59 wiz Exp $ SHA1 (orbital_eunuchs_sniper-1.29.tar.gz) = c5c33de0645c717b35e6eff7c88946e9de65b866 RMD160 (orbital_eunuchs_sniper-1.29.tar.gz) = 49520028f6f21e9163c37fcf14030a4868a01b01 @@ -7,3 +7,4 @@ SHA1 (patch-aa) = 05ce263d290c8508c49d0902418ed56d9f129cb9 SHA1 (patch-ab) = 23fc32880df6c5457fd2f303988e24d9de76b587 SHA1 (patch-ac) = 1f33c3bf6f8e310d92b47b9916ef28d2a9396308 SHA1 (patch-ad) = 94d479604dad6737ab85b7260f2b0e125de24df9 +SHA1 (patch-af) = 7df3074576f5b0ee5d0a9d516c72ad995d937fb9 diff --git a/games/orbital_eunuchs_sniper/patches/patch-af b/games/orbital_eunuchs_sniper/patches/patch-af new file mode 100644 index 00000000000..ea534a724fc --- /dev/null +++ b/games/orbital_eunuchs_sniper/patches/patch-af @@ -0,0 +1,26 @@ +$NetBSD: patch-af,v 1.1 2006/10/17 23:44:59 wiz Exp $ + +--- src/target.cpp.orig 2003-03-16 14:38:31.000000000 +0000 ++++ src/target.cpp +@@ -186,9 +186,9 @@ void target() + print(238, row, COLOR_YELLOW, "%20s", "VPB file ID"); + row += 7; + print(238, row, COLOR_YELLOW, " %03X-%07X/%02X", +- ((((unsigned int)Game.SightedCharacter) * 7001337) & 0xfff), +- (((unsigned int)Game.SightedCharacter) * 1337357) & 0xfffffff, +- (((unsigned int)Game.SightedCharacter) * 70741) & 0xff); ++ ((((unsigned long)Game.SightedCharacter) * 7001337) & 0xfff), ++ (((unsigned long)Game.SightedCharacter) * 1337357) & 0xfffffff, ++ (((unsigned long)Game.SightedCharacter) * 70741) & 0xff); + + + break; +@@ -217,7 +217,7 @@ void target() + row += 7; + print(238, row, COLOR_YELLOW, "%20s", "Net worth"); + row += 7; +- print(238, row, COLOR_YELLOW, "%17u KC", (((unsigned int)Game.SightedCharacter) * 1337357) % 71937); ++ print(238, row, COLOR_YELLOW, "%17u KC", (((unsigned long)Game.SightedCharacter) * 1337357) % 71937); + break; + case 3: + print(238, row, COLOR_YELLOW, "%20s", "Splat."); |