summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-action/atanks/files/atanks-3.7-build.patch')
-rw-r--r--games-action/atanks/files/atanks-3.7-build.patch116
1 files changed, 0 insertions, 116 deletions
diff --git a/games-action/atanks/files/atanks-3.7-build.patch b/games-action/atanks/files/atanks-3.7-build.patch
deleted file mode 100644
index 60819abfa801..000000000000
--- a/games-action/atanks/files/atanks-3.7-build.patch
+++ /dev/null
@@ -1,116 +0,0 @@
-diff -ru atanks-3.7.orig/src/Makefile atanks-3.7/src/Makefile
---- atanks-3.7.orig/src/Makefile 2009-06-23 19:33:53.000000000 -0400
-+++ atanks-3.7/src/Makefile 2009-06-28 21:30:13.000000000 -0400
-@@ -3,9 +3,6 @@
- MODULES = atanks.o beam.o button.o environment.o explosion.o fade.o files.o globaldata.o \
- missile.o perlin.o physobj.o player.o satellite.o sky.o tank.o team.o teleport.o virtobj.o update.o
-
--CPP=g++
--CC=gcc
--LD=g++
- LIB=ar
- WINDRES=
- #FLAGS += -DDATA_DIR=\".\"
-@@ -14,10 +11,10 @@
- WFLAGS =
- OFLAGS =
- LFLAGS +=
--LDFLAGS = `allegro-config --libs`
-+LDFLAGS += `allegro-config --libs`
-
--CFLAGS += -g -Wall -Iinclude # -fprofile-arcs -ftest-coverage
--# CFLAGS += -g # debug vs optimize flags
-+CXXFLAGS += -g -Wall -Iinclude # -fprofile-arcs -ftest-coverage
-+# CXXFLAGS += -g # debug vs optimize flags
- # No, let the user decide!
-
- SRCS = $(MODULES:.o=.cpp)
-@@ -34,67 +31,67 @@
- $(MODULES): Makefile
-
- atanks.o: atanks.cpp
-- $(CPP) -c atanks.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
-+ $(CXX) -c atanks.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
-
- button.o: button.cpp
-- $(CPP) -c button.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
-+ $(CXX) -c button.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
-
- environment.o: environment.cpp
-- $(CPP) -c environment.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
-+ $(CXX) -c environment.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
-
- explosion.o: explosion.cpp
-- $(CPP) -c explosion.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
-+ $(CXX) -c explosion.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
-
- files.o: files.cpp
-- $(CPP) -c files.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
-+ $(CXX) -c files.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
-
- # No longer needed, as floattext is fully inline now!
- # floattext.o:
--# $(CPP) -c floattext.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
-+# $(CXX) -c floattext.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
-
- globaldata.o: globaldata.cpp
-- $(CPP) -c globaldata.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
-+ $(CXX) -c globaldata.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
-
- missile.o: missile.cpp
-- $(CPP) -c missile.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
-+ $(CXX) -c missile.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
-
- teleport.o: teleport.cpp
-- $(CPP) -c teleport.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
-+ $(CXX) -c teleport.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
-
- physobj.o: physobj.cpp
-- $(CPP) -c physobj.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
-+ $(CXX) -c physobj.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
-
- player.o: player.cpp
-- $(CPP) -c player.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
-+ $(CXX) -c player.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
-
- tank.o: tank.cpp
-- $(CPP) -c tank.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
-+ $(CXX) -c tank.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
-
- team.o: team.cpp
-- $(CPP) -c team.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
-+ $(CXX) -c team.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
-
- virtobj.o: virtobj.cpp
-- $(CPP) -c virtobj.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
-+ $(CXX) -c virtobj.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
-
- fade.o: fade.cpp
-- $(CPP) -c fade.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
-+ $(CXX) -c fade.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
-
- perlin.o: perlin.cpp
-- $(CPP) -c perlin.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
-+ $(CXX) -c perlin.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
-
- sky.o: sky.cpp
-- $(CPP) -c sky.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
-+ $(CXX) -c sky.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
-
- satellite.o: satellite.cpp
-- $(CPP) -c satellite.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
-+ $(CXX) -c satellite.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
- update.o: update.cpp update.h
-- $(CPP) -c update.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
-+ $(CXX) -c update.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
-
- %.o: %.cpp %.h
-- $(CPP) -c $< -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
-+ $(CXX) -c $< -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
-
- $(OUTPUT): $(OBJECTS) $(MODULES)
-- $(CPP) $(MODULES) -o $(OUTPUT) $(FLAGS) $(LFLAGS) $(LDFLAGS) $(SFLAGS) $(CFLAGS)
-+ $(CXX) $(MODULES) -o $(OUTPUT) $(FLAGS) $(LFLAGS) $(LDFLAGS) $(SFLAGS) $(CXXFLAGS)
- # strip $(OUTPUT)
-
- # dependencies: