pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/games/orbital_eunuchs_sniper Update to 1.30:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a7167a186615
branches:  trunk
changeset: 545773:a7167a186615
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Tue Aug 12 16:08:19 2008 +0000

description:
Update to 1.30:

1.30
Added game data dir knowledge.
Added fopen error checking.
Corrected 64bit builds.
Added OSX Makefile to tarballs.
Fixed uninitialized update function crash.
Adjusted configure to abort when libraries are missing.
Compiler warning cleanups.

diffstat:

 games/orbital_eunuchs_sniper/Makefile         |  13 +++++++++----
 games/orbital_eunuchs_sniper/PLIST            |   4 ++--
 games/orbital_eunuchs_sniper/distinfo         |  14 ++++++--------
 games/orbital_eunuchs_sniper/patches/patch-aa |  18 +++++++++---------
 games/orbital_eunuchs_sniper/patches/patch-ab |  14 --------------
 games/orbital_eunuchs_sniper/patches/patch-ac |  14 +++++++-------
 games/orbital_eunuchs_sniper/patches/patch-af |  26 --------------------------
 7 files changed, 33 insertions(+), 70 deletions(-)

diffs (177 lines):

diff -r 11a97440234d -r a7167a186615 games/orbital_eunuchs_sniper/Makefile
--- a/games/orbital_eunuchs_sniper/Makefile     Tue Aug 12 15:11:18 2008 +0000
+++ b/games/orbital_eunuchs_sniper/Makefile     Tue Aug 12 16:08:19 2008 +0000
@@ -1,10 +1,9 @@
-# $NetBSD: Makefile,v 1.12 2006/06/12 16:28:10 wiz Exp $
+# $NetBSD: Makefile,v 1.13 2008/08/12 16:08:19 wiz Exp $
 #
 
-DISTNAME=              orbital_eunuchs_sniper-1.29
-PKGREVISION=           7
+DISTNAME=              orbital_eunuchs_sniper-1.30
 CATEGORIES=            games
-MASTER_SITES=          http://filesingularity.timedoctor.org/
+MASTER_SITES=          http://icculus.org/oes/
 
 MAINTAINER=            wiz%NetBSD.org@localhost
 HOMEPAGE=              http://icculus.org/oes/
@@ -19,6 +18,12 @@
 REPLACE.bash.new=      ${SH}
 REPLACE_FILES.bash=    src/snipe2d.in
 
+.if ${MACHINE_ARCH} == "x86_64"
+PLIST_SUBST+=          CPU=amd64
+.else
+PLIST_SUBST+=          CPU=${MACHINE_ARCH}
+.endif
+
 post-install:
        ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/orbital_eunuchs_sniper
        ${INSTALL_DATA} ${WRKSRC}/README \
diff -r 11a97440234d -r a7167a186615 games/orbital_eunuchs_sniper/PLIST
--- a/games/orbital_eunuchs_sniper/PLIST        Tue Aug 12 15:11:18 2008 +0000
+++ b/games/orbital_eunuchs_sniper/PLIST        Tue Aug 12 16:08:19 2008 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2004/08/04 16:21:45 wiz Exp $
+@comment $NetBSD: PLIST,v 1.3 2008/08/12 16:08:19 wiz Exp $
 bin/snipe2d
 libexec/orbital_eunuchs_sniper/aimap.png
 libexec/orbital_eunuchs_sniper/audiooff.png
@@ -42,7 +42,7 @@
 libexec/orbital_eunuchs_sniper/recharge.ogg
 libexec/orbital_eunuchs_sniper/resumegame.png
 libexec/orbital_eunuchs_sniper/resumegameh.png
-libexec/orbital_eunuchs_sniper/snipe2d.x86.dynamic
+libexec/orbital_eunuchs_sniper/snipe2d.${CPU}.dynamic
 libexec/orbital_eunuchs_sniper/twang.wav
 libexec/orbital_eunuchs_sniper/window.png
 libexec/orbital_eunuchs_sniper/windowh.png
diff -r 11a97440234d -r a7167a186615 games/orbital_eunuchs_sniper/distinfo
--- a/games/orbital_eunuchs_sniper/distinfo     Tue Aug 12 15:11:18 2008 +0000
+++ b/games/orbital_eunuchs_sniper/distinfo     Tue Aug 12 16:08:19 2008 +0000
@@ -1,10 +1,8 @@
-$NetBSD: distinfo,v 1.7 2006/10/17 23:44:59 wiz Exp $
+$NetBSD: distinfo,v 1.8 2008/08/12 16:08:19 wiz Exp $
 
-SHA1 (orbital_eunuchs_sniper-1.29.tar.gz) = c5c33de0645c717b35e6eff7c88946e9de65b866
-RMD160 (orbital_eunuchs_sniper-1.29.tar.gz) = 49520028f6f21e9163c37fcf14030a4868a01b01
-Size (orbital_eunuchs_sniper-1.29.tar.gz) = 4043177 bytes
-SHA1 (patch-aa) = 05ce263d290c8508c49d0902418ed56d9f129cb9
-SHA1 (patch-ab) = 23fc32880df6c5457fd2f303988e24d9de76b587
-SHA1 (patch-ac) = 1f33c3bf6f8e310d92b47b9916ef28d2a9396308
+SHA1 (orbital_eunuchs_sniper-1.30.tar.gz) = 67f5cec96179faabefe475cbea0c3b45f0b5f7c2
+RMD160 (orbital_eunuchs_sniper-1.30.tar.gz) = 6014dbdb5567054763349226c46412ac665761aa
+Size (orbital_eunuchs_sniper-1.30.tar.gz) = 4056847 bytes
+SHA1 (patch-aa) = a668a76fccf25326df64642c3e294d4d11d2e770
+SHA1 (patch-ac) = 51acd5acb96420f8fc2069a793f1adb7d3068464
 SHA1 (patch-ad) = 94d479604dad6737ab85b7260f2b0e125de24df9
-SHA1 (patch-af) = 7df3074576f5b0ee5d0a9d516c72ad995d937fb9
diff -r 11a97440234d -r a7167a186615 games/orbital_eunuchs_sniper/patches/patch-aa
--- a/games/orbital_eunuchs_sniper/patches/patch-aa     Tue Aug 12 15:11:18 2008 +0000
+++ b/games/orbital_eunuchs_sniper/patches/patch-aa     Tue Aug 12 16:08:19 2008 +0000
@@ -1,14 +1,14 @@
-$NetBSD: patch-aa,v 1.1.1.1 2004/07/23 16:07:15 wiz Exp $
+$NetBSD: patch-aa,v 1.2 2008/08/12 16:08:19 wiz Exp $
 
---- src/Makefile.in.orig       2003-04-21 16:33:08.000000000 +0200
+--- src/Makefile.in.orig       2006-10-19 03:38:42.000000000 +0000
 +++ src/Makefile.in
-@@ -126,8 +126,7 @@ subdir = src
- mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
- CONFIG_HEADER = $(top_builddir)/config.h
- CONFIG_CLEAN_FILES = snipe2d
+@@ -38,8 +38,7 @@ POST_UNINSTALL = :
+ build_triplet = @build@
+ host_triplet = @host@
+ target_triplet = @target@
 -pkgdata_PROGRAMS = snipe2d.@CPU_IS@.dynamic$(EXEEXT) \
 -      snipe2d.@CPU_IS@.static$(EXEEXT)
 +pkgdata_PROGRAMS = snipe2d.@CPU_IS@.dynamic$(EXEEXT)
- PROGRAMS = $(pkgdata_PROGRAMS)
- 
- am__objects_1 = ai.$(OBJEXT) binds.$(OBJEXT) gameover.$(OBJEXT) \
+ subdir = src
+ DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
+       $(srcdir)/snipe2d.in
diff -r 11a97440234d -r a7167a186615 games/orbital_eunuchs_sniper/patches/patch-ab
--- a/games/orbital_eunuchs_sniper/patches/patch-ab     Tue Aug 12 15:11:18 2008 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-$NetBSD: patch-ab,v 1.1.1.1 2004/07/23 16:07:15 wiz Exp $
-
---- src/snipe2d.h.orig 2003-04-21 13:18:47.000000000 +0200
-+++ src/snipe2d.h
-@@ -36,7 +36,9 @@
- //
- //#include <windows.h>
- #include <iostream>
-+#ifdef __linux__
- #include <linux/limits.h>
-+#endif
- #include <stdlib.h>
- #include <math.h>
- #include <string.h>
diff -r 11a97440234d -r a7167a186615 games/orbital_eunuchs_sniper/patches/patch-ac
--- a/games/orbital_eunuchs_sniper/patches/patch-ac     Tue Aug 12 15:11:18 2008 +0000
+++ b/games/orbital_eunuchs_sniper/patches/patch-ac     Tue Aug 12 16:08:19 2008 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-ac,v 1.3 2006/03/28 22:02:38 joerg Exp $
+$NetBSD: patch-ac,v 1.4 2008/08/12 16:08:19 wiz Exp $
 
---- configure.orig     2006-03-28 21:53:00.000000000 +0000
+--- configure.orig     2006-10-19 03:38:43.000000000 +0000
 +++ configure
-@@ -4700,12 +4700,12 @@ fi
+@@ -5149,12 +5149,12 @@ fi
  
  
  echo "$as_me:$LINENO: checking for SDL_Init in -lSDL" >&5
@@ -15,14 +15,14 @@
 -LIBS="-lSDL  $LIBS"
 +LIBS="-lSDL ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}  $LIBS"
  cat >conftest.$ac_ext <<_ACEOF
- #line $LINENO "configure"
  /* confdefs.h.  */
-@@ -4758,7 +4758,7 @@ if test $ac_cv_lib_SDL_SDL_Init = yes; t
+ _ACEOF
+@@ -5217,7 +5217,7 @@ if test $ac_cv_lib_SDL_SDL_Init = yes; t
  #define HAVE_LIBSDL 1
  _ACEOF
  
 -  LIBS="-lSDL $LIBS"
 +  LIBS="-lSDL ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS} $LIBS"
  
- fi
- 
+ else
+   { { echo "$as_me:$LINENO: error: SDL is required" >&5
diff -r 11a97440234d -r a7167a186615 games/orbital_eunuchs_sniper/patches/patch-af
--- a/games/orbital_eunuchs_sniper/patches/patch-af     Tue Aug 12 15:11:18 2008 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,26 +0,0 @@
-$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.");



Home | Main Index | Thread Index | Old Index