summaryrefslogtreecommitdiff
path: root/games/amphetamine/files
diff options
context:
space:
mode:
Diffstat (limited to 'games/amphetamine/files')
-rw-r--r--games/amphetamine/files/patch-aa84
-rw-r--r--games/amphetamine/files/patch-ab31
-rw-r--r--games/amphetamine/files/patch-src_SoundList.hpp24
-rw-r--r--games/amphetamine/files/patch-src_System.hpp14
4 files changed, 0 insertions, 153 deletions
diff --git a/games/amphetamine/files/patch-aa b/games/amphetamine/files/patch-aa
deleted file mode 100644
index 82c3d68e6ec8..000000000000
--- a/games/amphetamine/files/patch-aa
+++ /dev/null
@@ -1,84 +0,0 @@
-
-$FreeBSD$
-
---- Makefile.orig Tue Mar 26 04:11:27 2002
-+++ Makefile Sun Aug 3 22:14:39 2003
-@@ -3,13 +3,13 @@
- #===============
-
- # Install Paths
--PREFIX := /usr/local
--INSTALL_DIR := ${PREFIX}/games/amph
-+PREFIX ?= /usr/local
-+INSTALL_DIR := ${PREFIX}/share/amph
-
- # Libraries
- USE_LIB_XPM := TRUE
-
--SDL_CONFIG := sdl-config
-+SDL_CONFIG ?= sdl-config
- SDL_HEADERS := $(shell $(SDL_CONFIG) --cflags)
- SDL_LIBS := $(shell $(SDL_CONFIG) --libs)
-
-@@ -22,23 +22,23 @@
-
- # Directories to search for header files
-
--SEARCHDIRS := -I${MYCODEDIR} ${SDL_HEADERS}
-+SEARCHDIRS := -I${MYCODEDIR} ${SDL_HEADERS} -I ${LOCALBASE}/include
-
- # makemake variables
-
--LINKER := g++
--DEPENDFLAGS := -g ${SEARCHDIRS}
-+LINKER := ${CXX}
-+DEPENDFLAGS := ${SEARCHDIRS}
- TOUCHHEADERS := ${MYCODEDIR}/*.h
-
- # C
-
--CC := gcc
--CFLAGS = ${DEPENDFLAGS}
-+CC ?= gcc
-+CFLAGS += ${DEPENDFLAGS}
-
- # C++
-
--CXX := g++
--CXXFLAGS = ${DEPENDFLAGS} -O9 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align
-+CXX ?= g++
-+CXXFLAGS += ${DEPENDFLAGS} -Wcast-align
-
- %.o : %.cpp
- ${CXX} ${CPPFLAGS} -c $< ${CXXFLAGS} -o $@
-@@ -66,7 +66,7 @@
- LOADLIBES := $(LOADLIBES) -lXpm -lXt
- endif
-
--LDFLAGS = -L/usr/lib -L/usr/local/lib -L/usr/X11R6/lib
-+LDFLAGS = -L$(LOCALBASE)/lib
-
- .PHONY : default
- default : amph
-@@ -74,9 +74,9 @@
- .PHONY : install
- install: amph
- @./mkinstalldirs ${INSTALL_DIR}
-- @install -c ./amph ${INSTALL_DIR}
-- @strip ${INSTALL_DIR}/amph
-- @ln -s ${INSTALL_DIR}/amph ${PREFIX}/bin/amph
-+ @${BSD_INSTALL_PROGRAM} ./amph ${PREFIX}/bin/amph
-+#${INSTALL_DIR}
-+# @ln -s ${INSTALL_DIR}/amph ${PREFIX}/bin/amph
-
- # This is what makemake added
-
-@@ -194,7 +194,7 @@
-
- ./src/Surface.o: ./src/AmpHead.hpp ./src/Clut.hpp ./src/ConstVal.hpp ./src/Graphfil.hpp ./src/Shape.hpp ./src/ShapeLd.hpp ./src/Surface.hpp ./src/System.hpp /usr/include/limits.h /usr/include/math.h /usr/include/stdio.h /usr/include/stdlib.h
-
--./src/System.o: ./src/AmpHead.hpp ./src/Graphfil.hpp ./src/System.hpp /usr/include/X11/xpm.h /usr/include/fcntl.h /usr/include/limits.h /usr/include/math.h /usr/include/stdio.h /usr/include/stdlib.h /usr/include/string.h /usr/include/sys/stat.h /usr/include/sys/time.h /usr/include/sys/types.h /usr/include/unistd.h
-+./src/System.o: ./src/AmpHead.hpp ./src/Graphfil.hpp ./src/System.hpp ${LOCALBASE}/include/X11/xpm.h /usr/include/fcntl.h /usr/include/limits.h /usr/include/math.h /usr/include/stdio.h /usr/include/stdlib.h /usr/include/string.h /usr/include/sys/stat.h /usr/include/sys/time.h /usr/include/sys/types.h /usr/include/unistd.h
-
- ./src/Thing.o: ./src/AmpHead.hpp ./src/Appl.hpp ./src/Bullet.hpp ./src/ConstVal.hpp ./src/Element.hpp ./src/File.hpp ./src/Graphfil.hpp ./src/Level.hpp ./src/ObjInfo.hpp ./src/Object.hpp ./src/Pltform.hpp ./src/Shape.hpp ./src/ShapeLd.hpp ./src/Surface.hpp ./src/System.hpp ./src/Thing.hpp /usr/include/limits.h /usr/include/math.h /usr/include/stdio.h /usr/include/stdlib.h
-
diff --git a/games/amphetamine/files/patch-ab b/games/amphetamine/files/patch-ab
deleted file mode 100644
index fe93a29098cc..000000000000
--- a/games/amphetamine/files/patch-ab
+++ /dev/null
@@ -1,31 +0,0 @@
---- src/Main.cpp.orig Sun Mar 24 17:49:09 2002
-+++ src/Main.cpp Mon Mar 1 19:51:09 2004
-@@ -1,3 +1,7 @@
-+#if defined(__FreeBSD__) && defined(__i386__)
-+#include <floatingpoint.h>
-+#endif
-+
- #include "System.hpp"
- #include "Appl.hpp"
- #include "Clut.hpp"
-@@ -75,6 +79,9 @@
- my_argv = argv;
- if (checkCommandLine()) return 0;
-
-+#if defined(__FreeBSD__) && defined(__i386__)
-+ fpsetmask(fpgetmask() & ~(FP_X_DZ|FP_X_INV));
-+#endif
- gApplication = new CApplication();
- gApplication->InitGraphics();
- gApplication->LoadData();
-@@ -83,5 +90,10 @@
- gApplication->Quit();
- delete gApplication;
-
-+#if defined(__FreeBSD__) && defined(__i386__)
-+ fpresetsticky(FP_X_DZ|FP_X_INV);
-+ fpsetmask(FP_X_DZ|FP_X_INV);
-+#endif
-+
- return 0;
- }
diff --git a/games/amphetamine/files/patch-src_SoundList.hpp b/games/amphetamine/files/patch-src_SoundList.hpp
deleted file mode 100644
index 6bbafc7a0773..000000000000
--- a/games/amphetamine/files/patch-src_SoundList.hpp
+++ /dev/null
@@ -1,24 +0,0 @@
-
-$FreeBSD$
-
---- src/SoundList.hpp 2001/01/22 21:09:51 1.1
-+++ src/SoundList.hpp 2001/01/22 21:10:20
-@@ -6,9 +6,9 @@
- #define _AMPH_SOUND_LIST_
-
- extern "C" {
--#include <SDL/SDL.h>
--#include <SDL/SDL_audio.h>
--#include <SDL/SDL_types.h>
-+#include <SDL.h>
-+#include <SDL_audio.h>
-+#include <SDL_types.h>
- }
-
- class CSound;
-@@ -55,4 +55,4 @@
- SoundState *first, *prev, *current;
- };
-
--#endif
-+#endif
diff --git a/games/amphetamine/files/patch-src_System.hpp b/games/amphetamine/files/patch-src_System.hpp
deleted file mode 100644
index 7afa10225646..000000000000
--- a/games/amphetamine/files/patch-src_System.hpp
+++ /dev/null
@@ -1,14 +0,0 @@
-
-$FreeBSD$
-
---- src/System.hpp 2001/01/22 21:09:51 1.1
-+++ src/System.hpp 2001/01/22 21:10:27
-@@ -9,7 +9,7 @@
- #include "AmpHead.hpp"
-
- extern "C" {
--#include <SDL/SDL.h>
-+#include <SDL.h>
- }
-
- #ifndef INSTALL_DIR