diff options
author | Daichi GOTO <daichi@FreeBSD.org> | 2003-07-02 07:36:55 +0000 |
---|---|---|
committer | Daichi GOTO <daichi@FreeBSD.org> | 2003-07-02 07:36:55 +0000 |
commit | d5223c033c0dce6dedd682eeccac01fc14b723d9 (patch) | |
tree | 7b005b70ad4b1ac6c85e0fc7b1873cb567252153 /games/bzflag/files | |
parent | update x11/xmon: (diff) |
update games/bzflag: 1.7g.0 --> 1.7g.2
PR: 53767
Submitted by: KATO Tsuguru <tkato@prontomail.com>
Notes
Notes:
svn path=/head/; revision=84026
Diffstat (limited to 'games/bzflag/files')
-rw-r--r-- | games/bzflag/files/config-sys | 105 | ||||
-rw-r--r-- | games/bzflag/files/patch-BzfString.h | 11 | ||||
-rw-r--r-- | games/bzflag/files/patch-Make-common | 46 | ||||
-rw-r--r-- | games/bzflag/files/patch-bzfio.h | 11 | ||||
-rw-r--r-- | games/bzflag/files/patch-bzflag.cxx | 11 | ||||
-rw-r--r-- | games/bzflag/files/patch-config | 14 | ||||
-rw-r--r-- | games/bzflag/files/patch-configure.in | 36 | ||||
-rw-r--r-- | games/bzflag/files/patch-man-Makefile | 25 | ||||
-rw-r--r-- | games/bzflag/files/patch-resources.h | 11 |
9 files changed, 36 insertions, 234 deletions
diff --git a/games/bzflag/files/config-sys b/games/bzflag/files/config-sys deleted file mode 100644 index b6f69facb964..000000000000 --- a/games/bzflag/files/config-sys +++ /dev/null @@ -1,105 +0,0 @@ -# bzflag -# Copyright 1993-1999, Chris Schoeneman -# -# This package is free software; you can redistribute it and/or -# modify it under the terms of the license found in the file -# named LICENSE that should have accompanied this file. -# -# THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR -# IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED -# WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. - -# -# configuration for generic linux -# -CONFIG = linux - -# -# use XF86 vidmode extension (comment out to disable) -# -XF86VIDMODE_DEF = -DXF86VIDMODE_EXT -XF86VIDMODE_LIB = -lXxf86vm - -# -# install locations -# -INSTALL_DATA_DIR = ${PORTPREFIX}/share/bzflag/data - -# -# tools -# -AR = /usr/bin/ar cru -#CC = /usr/bin/gcc -#CXX = /usr/bin/g++ -CD = cd -CP = /bin/cp -LD = /usr/bin/ld -MKDIR = /bin/mkdir -NROFF = /usr/bin/nroff -RM = /bin/rm -f -RMR = $(RM) -r -SHELL = /bin/sh -ECHO = echo - -# -# compiler definitions -# -PCDEFS = $(XF86VIDMODE_DEF) -PCXXDEFS = $(XF86VIDMODE_DEF) - -# -# compiler options -# -PCOPTS = -Wall -W -ansi $(ACOPTS) -PCXXOPTS = -Wall -W -fno-exceptions -fno-rtti $(ACXXOPTS) -COPT = -DNDEBUG ${PORTCFLAGS} -DUSBJOYSTICK -CXXOPT = -DNDEBUG ${PORTCXXFLAGS} -DUSBJOYSTICK -ffast-math -fomit-frame-pointer \ - -fnonnull-objects -fexpensive-optimizations -CDEBUG = -DDEBUG -g -CXXDEBUG = -DDEBUG -g -CWOFF = -CXXWOFF = - -# -# search paths -# -PCINCS = -I/usr/include -I/usr/X11R6/include -PCXXINCS = -I/usr/include -I/usr/X11R6/include - -# -# linker options -# -PLDOPTS = -L${X11BASE}/lib - -# -# dirt -# -PDIRT = *.[eou] a.out core ar.tmp.* - -# -# libraries -# -AUDIO_LIBS = \ - $(NULL) - -DISPLAY_LIBS = \ - $(XF86VIDMODE_LIB) \ - $(NULL) - -GL_LIBS = \ - -lGLU \ - -lGL \ - $(NULL) - -IMAGE_LIBS = \ - $(NULL) - -NETWORK_LIBS = \ - $(NULL) - -WINDOW_LIBS = \ - -lusbhid \ - -lXext \ - -lX11 \ - $(NULL) - diff --git a/games/bzflag/files/patch-BzfString.h b/games/bzflag/files/patch-BzfString.h deleted file mode 100644 index 43ddce4d0ee6..000000000000 --- a/games/bzflag/files/patch-BzfString.h +++ /dev/null @@ -1,11 +0,0 @@ ---- include/BzfString.h.orig Thu Oct 17 04:29:38 2002 -+++ include/BzfString.h Mon Dec 9 22:08:01 2002 -@@ -40,6 +40,8 @@ - #include "common.h" - #include "bzfio.h" - -+using std::ostream; -+ - class BzfString { - public: - BzfString(); diff --git a/games/bzflag/files/patch-Make-common b/games/bzflag/files/patch-Make-common deleted file mode 100644 index 91eb9560ea63..000000000000 --- a/games/bzflag/files/patch-Make-common +++ /dev/null @@ -1,46 +0,0 @@ ---- Make-common.orig Wed Feb 14 03:34:09 2001 -+++ Make-common Fri Aug 10 01:04:44 2001 -@@ -33,7 +33,7 @@ - # - # C options - # --CFLAGS = $(LCFLAGS) $(PCFLAGS) $(GCFLAGS) $(COPTIMIZER) $(MKDEPOPT) $(CWOFF) -+CFLAGS = $(LCFLAGS) $(PCFLAGS) $(GCFLAGS) $(COPTIMIZER) $(MKDEPOPT) $(CWOFF) ${PTHREAD_CFLAGS} - LCFLAGS = $(LCDEFS) $(LCINCS) $(LCOPTS) - PCFLAGS = $(PCDEFS) $(PCINCS) $(PCOPTS) - GCFLAGS = $(GCDEFS) $(GCINCS) $(GCOPTS) -@@ -51,7 +51,7 @@ - # - # C++ options - # --CXXFLAGS = $(LCXXFLAGS) $(PCXXFLAGS) $(GCXXFLAGS) $(CXXOPTIMIZER) $(MKDEPOPT) $(CXXWOFF) -+CXXFLAGS = $(LCXXFLAGS) $(PCXXFLAGS) $(GCXXFLAGS) $(CXXOPTIMIZER) $(MKDEPOPT) $(CXXWOFF) ${PTHREAD_CFLAGS} - LCXXFLAGS = $(LCXXDEFS) $(LCXXINCS) $(LCXXOPTS) - PCXXFLAGS = $(PCXXDEFS) $(PCXXINCS) $(PCXXOPTS) - GCXXFLAGS = $(GCXXDEFS) $(GCXXINCS) $(GCXXOPTS) -@@ -69,7 +69,7 @@ - # - # ld options - # --LDFLAGS = $(LDOPTS) $(LDLIBS) -+LDFLAGS = $(LDOPTS) $(LDLIBS) ${PTHREAD_LIBS} - LDOPTS = $(LLDOPTS) $(PLDOPTS) $(GLDOPTS) - LDLIBS = $(LLDLIBS) $(PLDLIBS) $(GLDLIBS) - -@@ -167,13 +167,13 @@ - # - # default to optimized build - # --ifdef DEBUG -+.ifdef DEBUG - COPTIMIZER = $(CDEBUG) - CXXOPTIMIZER = $(CXXDEBUG) --else -+.else - COPTIMIZER = $(COPT) - CXXOPTIMIZER = $(CXXOPT) --endif -+.endif - - # - # slurp up configuration diff --git a/games/bzflag/files/patch-bzfio.h b/games/bzflag/files/patch-bzfio.h deleted file mode 100644 index 59b7e5675165..000000000000 --- a/games/bzflag/files/patch-bzfio.h +++ /dev/null @@ -1,11 +0,0 @@ ---- include/bzfio.h.orig Sat Nov 23 15:06:09 2002 -+++ include/bzfio.h Sat Nov 23 15:06:17 2002 -@@ -23,7 +23,7 @@ - #endif - #define NULL 0 - --#include <iostream.h> -+#include <iostream> - - #endif - diff --git a/games/bzflag/files/patch-bzflag.cxx b/games/bzflag/files/patch-bzflag.cxx deleted file mode 100644 index bddae7ce2e3c..000000000000 --- a/games/bzflag/files/patch-bzflag.cxx +++ /dev/null @@ -1,11 +0,0 @@ ---- src/bzflag/bzflag.cxx.orig Fri Dec 6 02:22:44 2002 -+++ src/bzflag/bzflag.cxx Mon Dec 9 22:09:36 2002 -@@ -769,7 +769,7 @@ - - // read resources - { -- #ifdef __MWERKS__ -+ #if 1 - ifstream resourceStream(getConfigFileName(), ios::in); - #else - ifstream resourceStream(getConfigFileName(), ios::in); diff --git a/games/bzflag/files/patch-config b/games/bzflag/files/patch-config deleted file mode 100644 index 14b594189d4e..000000000000 --- a/games/bzflag/files/patch-config +++ /dev/null @@ -1,14 +0,0 @@ ---- config.orig Fri Feb 2 01:04:26 2001 -+++ config Sat Mar 24 02:23:04 2001 -@@ -41,9 +41,9 @@ - # - # uncomment to enable debug render modes - # --ifdef DEBUG -+.ifdef DEBUG - DEBUG_RENDERING = -DDEBUG_RENDERING --endif -+.endif - - # - # uncomment to enable robot tanks diff --git a/games/bzflag/files/patch-configure.in b/games/bzflag/files/patch-configure.in new file mode 100644 index 000000000000..db1c60286413 --- /dev/null +++ b/games/bzflag/files/patch-configure.in @@ -0,0 +1,36 @@ +--- configure.in.orig Wed Jun 18 04:24:08 2003 ++++ configure.in Tue Jun 24 15:07:16 2003 +@@ -20,7 +20,14 @@ + + #Checks for types + #AM_CHECK_TYPES(socklen_t) +-AC_TRY_COMPILE([#include <unistd.h>], [socklen_t a;], [AC_DEFINE(HAVE_SOCKLEN_T)]) ++AC_TRY_COMPILE([ ++#include <sys/types.h> ++#include <sys/socket.h> ++], [ ++socklen_t a; ++], [ ++AC_DEFINE(HAVE_SOCKLEN_T) ++]) + + AC_CANONICAL_HOST + AM_CONDITIONAL(LINUX, test x$host_os = xlinux-gnu) +@@ -86,7 +93,7 @@ + + AC_PATH_XTRA + +-LDFLAGS=$X_LIBS ++LDFLAGS="$X_LIBS $LDFLAGS" + case $host_os in + solaris*) + GLIBS="-lresolv -laudio $GLIBS"; +@@ -98,7 +105,7 @@ + + AC_CHECK_LIB(m, sqrtf) + +-CPPFLAGS= ++CPPFLAGS="$X_CFLAGS $CPPFLAGS" + if test x$X_DISPLAY_MISSING = x; then + GLIBS="$X_PRE_LIBS -lX11 $EXTRA_LIBS $GLIBS" + fi diff --git a/games/bzflag/files/patch-man-Makefile b/games/bzflag/files/patch-man-Makefile deleted file mode 100644 index e3e8e6651f64..000000000000 --- a/games/bzflag/files/patch-man-Makefile +++ /dev/null @@ -1,25 +0,0 @@ ---- man/Makefile.orig Sat Aug 12 01:32:07 2000 -+++ man/Makefile Sat Aug 12 01:32:18 2000 -@@ -31,19 +31,19 @@ - sourceform: - $(PRINTSRC) | \ - sed -e 's/\.\([1-8]\)s$$/.\1/' | \ -- xargs -l10 $(MAKE) $(MFLAGS) -+ xargs -n10 $(MAKE) $(MFLAGS) - - # generate packed compiled nroff - packed: sourceform - $(PRINTSRC) | \ - sed -e 's/\.[1-8]s$$/\.z/' | \ -- xargs -l10 $(MAKE) $(MFLAGS) -+ xargs -n10 $(MAKE) $(MFLAGS) - - # generate gzipped compiled nroff - gzipped: sourceform - $(PRINTSRC) | \ - sed -e 's/\.[1-8]s$$/\.gz/' | \ -- xargs -l10 $(MAKE) $(MFLAGS) -+ xargs -n10 $(MAKE) $(MFLAGS) - - # replace tokens in source to make nroff source - .1s.1 .2s.2 .3s.3 .4s.4 .5s.5 .6s.6 .7s.7 .8s.8: diff --git a/games/bzflag/files/patch-resources.h b/games/bzflag/files/patch-resources.h deleted file mode 100644 index 3c694fbca4f7..000000000000 --- a/games/bzflag/files/patch-resources.h +++ /dev/null @@ -1,11 +0,0 @@ ---- src/bzflag/resources.h.orig Thu Oct 17 04:38:17 2002 -+++ src/bzflag/resources.h Mon Dec 9 22:11:54 2002 -@@ -21,6 +21,8 @@ - #include "BzfString.h" - #include "bzfio.h" - -+using namespace std; -+ - class ResourceDatabase { - public: - ResourceDatabase(); |