summaryrefslogtreecommitdiff
path: root/games/crack-attack/patches
diff options
context:
space:
mode:
authorxtraeme <xtraeme@pkgsrc.org>2003-12-03 23:08:56 +0000
committerxtraeme <xtraeme@pkgsrc.org>2003-12-03 23:08:56 +0000
commitdf2ce7a7f9aad254bcb0105886e0d79d68f00f25 (patch)
tree65e10174a3df78c50e8a4ce3ec8a0183587d6ce1 /games/crack-attack/patches
parent92ee73f4b093e75456338e8a5ffe13a58aa60c83 (diff)
downloadpkgsrc-df2ce7a7f9aad254bcb0105886e0d79d68f00f25.tar.gz
Initial import of crack-attack 1.1.10 from pkgsrc-wip packaged
by Soren Jacobsen. Crack Attack! is an addictive (hence the name) OpenGL game based on the Tetris Attack game for Super Nintendo. The goal is to keep your stack from reaching the top of the screen. To prevent this, you line up blocks of the same color.
Diffstat (limited to 'games/crack-attack/patches')
-rw-r--r--games/crack-attack/patches/patch-aa35
1 files changed, 35 insertions, 0 deletions
diff --git a/games/crack-attack/patches/patch-aa b/games/crack-attack/patches/patch-aa
new file mode 100644
index 00000000000..cf3ab3ada0b
--- /dev/null
+++ b/games/crack-attack/patches/patch-aa
@@ -0,0 +1,35 @@
+$NetBSD: patch-aa,v 1.1.1.1 2003/12/03 23:08:57 xtraeme Exp $
+
+--- src/Makefile.in.orig 2003-10-16 07:39:27.000000000 -0700
++++ src/Makefile.in 2003-11-21 18:05:31.000000000 -0800
+@@ -67,10 +67,10 @@
+
+ crack_attack_SOURCES = Attack.cxx Block.cxx BlockManager.cxx CelebrationManager.cxx Clock.cxx ComboManager.cxx ComboTabulator.cxx Communicator.cxx Controller.cxx CountDownManager.cxx Creep.cxx Displayer.cxx Game.cxx Garbage.cxx GarbageFlavorImage.cxx GarbageGenerator.cxx GarbageManager.cxx Grid.cxx LevelLights.cxx LightManager.cxx LoseBar.cxx MessageManager.cxx MetaState.cxx Random.cxx Sine.cxx Score.cxx ScoreRecordManager.cxx Swapper.cxx SparkleManager.cxx Spring.cxx SignManager.cxx String.cxx TextureLoader.cxx WinRecord.cxx X.cxx DrawBlocks.cxx DrawGarbage.cxx DrawCandy.cxx DrawScoreRecord.cxx DrawSwapper.cxx DrawExternalCandy.cxx DrawLevelLights.cxx DrawCountDown.cxx DrawMessages.cxx DrawWinRecord.cxx obj_block.cxx obj_garbage.cxx obj_garbage_thin_middle.cxx obj_garbage_thin_cap.cxx obj_garbage_thick_corner.cxx obj_garbage_thick_edge.cxx obj_garbage_thick_middle.cxx obj_garbage_small.cxx obj_sparkle.cxx obj_sign.cxx obj_swapper.cxx obj_external_candy.cxx obj_level_lights.cxx obj_messages.cxx obj_clock.cxx obj_name.cxx obj_score_record.cxx Attack.h Block.h BlockManager.h CelebrationManager.h Clock.h ComboManager.h ComboTabulator.h Communicator.h Controller.h CountDownManager.h Creep.h Displayer.h Game.h Garbage.h GarbageFlavorImage.h GarbageGenerator.h GarbageManager.h Grid.h LevelLights.h LightManager.h LoseBar.h MessageManager.h MetaState.h Random.h Sine.h Score.h ScoreRecordManager.h Swapper.h SparkleManager.h Spring.h SignManager.h String.h TextureLoader.h WinRecord.h X.h
+
+-CXXFLAGS = -O6 -s
++#CXXFLAGS = -O6 -s
+ INCLUDES = -DNDEBUG -DDATA_DIRECTORY='"${pkgdatadir}/"'
+
+-LDFLAGS = ${all_libraries}
++LDFLAGS += ${all_libraries}
+ LDADD = ${X_PRE_LIBS} ${X_LIBS} ${X_EXTRA_LIBS} -lGL -lGLU -lglut -lXi -lX11 -lXmu
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+ CONFIG_HEADER = config.h
+@@ -106,7 +106,7 @@
+ crack_attack_LDFLAGS =
+ CXXCOMPILE = $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
+ CXXLD = $(CXX)
+-CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@
++CXXLINK = $(CXXLD) -o $@
+ CFLAGS = @CFLAGS@
+ COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ CCLD = $(CC)
+@@ -206,7 +206,7 @@
+
+ crack-attack: $(crack_attack_OBJECTS) $(crack_attack_DEPENDENCIES)
+ @rm -f crack-attack
+- $(CXXLINK) $(crack_attack_LDFLAGS) $(crack_attack_OBJECTS) $(crack_attack_LDADD) $(LIBS)
++ $(CXXLINK) $(crack_attack_LDFLAGS) $(crack_attack_OBJECTS) $(LDFLAGS) $(crack_attack_LDADD) $(LIBS)
+ .cxx.o:
+ $(CXXCOMPILE) -c $<
+