diff options
author | anholt <anholt@FreeBSD.org> | 2003-12-18 08:55:25 +0000 |
---|---|---|
committer | anholt <anholt@FreeBSD.org> | 2003-12-18 08:55:25 +0000 |
commit | 1a88ba1313362902a06c1eab6d35811ac93cdbba (patch) | |
tree | 9057a39a62324bedc365bd866522f8db129da62a /games/chromium-bsu/files | |
parent | 75422fdb2ecad7b9fca6806a18f8250135ed7e22 (diff) | |
download | FreeBSD-ports-1a88ba1313362902a06c1eab6d35811ac93cdbba.zip FreeBSD-ports-1a88ba1313362902a06c1eab6d35811ac93cdbba.tar.gz |
Add new port - Chromium B.S.U. is a fast paced, arcade-style, top-scrolling
space shooter.
Diffstat (limited to 'games/chromium-bsu/files')
-rw-r--r-- | games/chromium-bsu/files/patch-Makefile.no-setup | 8 | ||||
-rw-r--r-- | games/chromium-bsu/files/patch-NCString.cpp | 19 | ||||
-rw-r--r-- | games/chromium-bsu/files/patch-glpng-src-Makefile | 13 | ||||
-rw-r--r-- | games/chromium-bsu/files/patch-main.cpp | 30 | ||||
-rw-r--r-- | games/chromium-bsu/files/patch-src-Makefile | 18 |
5 files changed, 88 insertions, 0 deletions
diff --git a/games/chromium-bsu/files/patch-Makefile.no-setup b/games/chromium-bsu/files/patch-Makefile.no-setup new file mode 100644 index 0000000..c155f9f --- /dev/null +++ b/games/chromium-bsu/files/patch-Makefile.no-setup @@ -0,0 +1,8 @@ +--- scripts/Makefile.no-setup.orig Fri Mar 14 20:45:01 2003 ++++ scripts/Makefile.no-setup Fri Mar 14 20:45:07 2003 +@@ -1,5 +1,4 @@ + SUPPORT_DIRS = \ +- ./support/openal/ \ + ./support/glpng/src + + CHROMIUM_DIRS = \ diff --git a/games/chromium-bsu/files/patch-NCString.cpp b/games/chromium-bsu/files/patch-NCString.cpp new file mode 100644 index 0000000..f1c98cd --- /dev/null +++ b/games/chromium-bsu/files/patch-NCString.cpp @@ -0,0 +1,19 @@ +--- src/NCString.cpp.orig Fri Mar 14 19:57:50 2003 ++++ src/NCString.cpp Fri Mar 14 20:06:44 2003 +@@ -5,6 +5,7 @@ + #include <stdlib.h> + #include <string.h> + #include <limits.h> ++#include <stdarg.h> + + /** + * ctor +@@ -1055,7 +1056,7 @@ + uint NCString::toULong(const char *str, bool *ok) + { + int n; +- ulong tmp = 0; ++ unsigned long tmp = 0; + if(str) + { + n = sscanf(str, "%lu", &tmp); diff --git a/games/chromium-bsu/files/patch-glpng-src-Makefile b/games/chromium-bsu/files/patch-glpng-src-Makefile new file mode 100644 index 0000000..2ed9b3c --- /dev/null +++ b/games/chromium-bsu/files/patch-glpng-src-Makefile @@ -0,0 +1,13 @@ +--- support/glpng/src/Makefile.orig Fri Mar 14 20:53:54 2003 ++++ support/glpng/src/Makefile Fri Mar 14 20:54:26 2003 +@@ -7,10 +7,6 @@ + + ####### Compiler, tools and options + +-CC = gcc +-CXX = g++ +-CFLAGS = -pipe -O2 +-CXXFLAGS= -pipe -O2 + INCPATH = -I../include -I/usr/include -I/usr/X11R6/include + AR = ar cqs + RANLIB = diff --git a/games/chromium-bsu/files/patch-main.cpp b/games/chromium-bsu/files/patch-main.cpp new file mode 100644 index 0000000..7218012 --- /dev/null +++ b/games/chromium-bsu/files/patch-main.cpp @@ -0,0 +1,30 @@ +--- src/main.cpp.orig Fri Mar 14 21:01:12 2003 ++++ src/main.cpp Fri Mar 14 21:01:12 2003 +@@ -109,10 +109,6 @@ + } + } + +-#ifdef PKGDATADIR +- strcpy(dataDir, PKGDATADIR); +- strcat(dataDir, "/data"); +-#else + char *chromData = getenv("CHROMIUM_DATA"); + if(chromData) + strcpy(dataDir, chromData); +@@ -121,7 +117,7 @@ + #ifdef macintosh + strcpy(dataDir, "::data"); + #else +- strcpy(dataDir, "../data"); ++ strcpy(dataDir, CHROMIUM_DATA_DIR); + #endif + fprintf(stderr, "!!\n"); + fprintf(stderr, "!! WARNING - CHROMIUM_DATA environment variable is not set!\n"); +@@ -131,7 +127,6 @@ + fprintf(stderr, "!! (using %s)\n", dataDir); + fprintf(stderr, "!!\n"); + } +-#endif + + srand(time(NULL)); + diff --git a/games/chromium-bsu/files/patch-src-Makefile b/games/chromium-bsu/files/patch-src-Makefile new file mode 100644 index 0000000..b984ee7 --- /dev/null +++ b/games/chromium-bsu/files/patch-src-Makefile @@ -0,0 +1,18 @@ +--- src/Makefile.orig Mon May 21 22:25:50 2001 ++++ src/Makefile Fri Mar 14 20:56:28 2003 +@@ -8,12 +8,10 @@ + include ../config.mak + ####### Compiler, tools and options + +-CC = gcc +-CXX = g++ +-CFLAGS = -pipe $(PKG_CFLAGS) $(AL_CFLAGS) $(SDL_CFLAGS) $(SMPEG_CFLAGS) -O2 -DOLD_OPENAL -DAUDIO_OPENAL -D_REENTRANT +-CXXFLAGS= -pipe $(PKG_CFLAGS) $(AL_CFLAGS) $(SDL_CFLAGS) $(SMPEG_CFLAGS) -O2 -DOLD_OPENAL -DAUDIO_OPENAL -D_REENTRANT ++CFLAGS += $(PKG_CFLAGS) $(AL_CFLAGS) $(SDL_CFLAGS) $(SMPEG_CFLAGS) -DAUDIO_OPENAL -D_REENTRANT ++CXXFLAGS+= $(PKG_CFLAGS) $(AL_CFLAGS) $(SDL_CFLAGS) $(SMPEG_CFLAGS) -DAUDIO_OPENAL -D_REENTRANT + INCPATH = -I../support/include -I../support/glpng/include -I/usr/X11R6/include +-LINK = g++ ++LINK = ${CXX} + LFLAGS = + LIBS = $(SUBLIBS) -L../support/glpng/lib -L/usr/lib -L/usr/X11R6/lib -L/usr/local/lib $(GL_LIBS) $(AL_LIBS) $(SDL_LIBS) $(SMPEG_LIBS) $(VORBIS_LIBS) + MOC = $(QTDIR)/bin/moc |