summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-sports/miniracer/files')
-rw-r--r--games-sports/miniracer/files/miniracer-1.04-ldflags.patch48
-rw-r--r--games-sports/miniracer/files/miniracer-1.04-nosharedelf.patch23
2 files changed, 0 insertions, 71 deletions
diff --git a/games-sports/miniracer/files/miniracer-1.04-ldflags.patch b/games-sports/miniracer/files/miniracer-1.04-ldflags.patch
deleted file mode 100644
index 4c37dc9e1aa..00000000000
--- a/games-sports/miniracer/files/miniracer-1.04-ldflags.patch
+++ /dev/null
@@ -1,48 +0,0 @@
---- Makefile.old 2010-10-13 12:41:01.000000000 +0200
-+++ Makefile 2010-10-13 12:56:04.000000000 +0200
-@@ -10,13 +10,12 @@
-
- BUILDDIR=obj
-
--CC=gcc
- DEFS=-DVIDMODEXT_GAMMA_RAMP -DSOUND
--INCLUDES= -I. -I/usr/X11R6/include -I/usr/include/SDL
--CFLAGS=$(DEFS) $(INCLUDES) -O3 -march=i486 -ffast-math -fexpensive-optimizations
-+INCLUDES= -I. -I/usr/X11R6/include $(shell sdl-config --cflags)
-+CFLAGS=$(DEFS) $(INCLUDES) @CFLAGS@
-
- GL_LDFLAGS=-L/usr/X11R6/lib -lGL -lXxf86dga -lXxf86vm -lX11 -lXext -lm
--LDFLAGS=$(GL_LDFLAGS) -ldl -lSDL -lSDL_mixer -lpthread
-+LDLIBS=$(GL_LDFLAGS) -ldl -lSDL_mixer $(shell sdl-config --libs)
-
- #############################################################################
- # SETUP AND BUILD
-@@ -43,15 +42,16 @@
- build_release: engine.glx
-
- install:
-- install -d $(DESTDIR)/usr/bin
-+ install -d $(DESTDIR)@GAMES_BINDIR@
- install -d $(DESTDIR)/usr/share/man/man6
- install -d $(DESTDIR)/usr/share/games/MiniRacer
- install -d $(DESTDIR)/usr/share/games/MiniRacer/data
- install -d $(DESTDIR)/usr/share/games/MiniRacer/data/maps
-- install -m 755 engine.glx $(DESTDIR)/usr/share/games/MiniRacer
-+ install -d $(DESTDIR)@GAMES_LIBDIR@
-+ install -m 755 engine.glx $(DESTDIR)@GAMES_LIBDIR@
- install -m 644 data/pak0.pak $(DESTDIR)/usr/share/games/MiniRacer/data
- install -m 644 data/config.cfg $(DESTDIR)/usr/share/games/MiniRacer/data
-- install -m 755 miniracer $(DESTDIR)/usr/bin/miniracer
-+ install -m 755 miniracer $(DESTDIR)@GAMES_BINDIR@/miniracer
- install -m 644 miniracer.6 $(DESTDIR)/usr/share/man/man6
- install -m 644 data/maps/*.bsp $(DESTDIR)/usr/share/games/MiniRacer/data/maps
- install -m 644 data/maps/maps1.lst $(DESTDIR)/usr/share/games/MiniRacer/data/maps
-@@ -145,7 +145,7 @@
- $(CC) $(CFLAGS) $(GLCFLAGS) -o $@ -c $<
-
- engine.glx : $(GLMR_OBJS)
-- $(CC) $(CFLAGS) -o $@ $(GLMR_OBJS) $(LDFLAGS)
-+ $(CC) $(LDFLAGS) $(CFLAGS) -o $@ $(GLMR_OBJS) $(LDLIBS)
-
- #############################################################################
- # MISC
diff --git a/games-sports/miniracer/files/miniracer-1.04-nosharedelf.patch b/games-sports/miniracer/files/miniracer-1.04-nosharedelf.patch
deleted file mode 100644
index 0bb0b5da846..00000000000
--- a/games-sports/miniracer/files/miniracer-1.04-nosharedelf.patch
+++ /dev/null
@@ -1,23 +0,0 @@
---- miniracer.old 2010-02-27 21:05:11.000000000 +0100
-+++ miniracer 2010-02-27 21:10:34.000000000 +0100
-@@ -12,10 +12,6 @@
- fi
-
- #checks for files
--if ! [ -f $HOME/.MiniRacer/engine.glx ]; then
-- ln -s $MINIRACERDIR/engine.glx $HOME/.MiniRacer
--fi
--
- if ! [ -f $HOME/.MiniRacer/data/pak0.pak ]; then
- ln -s $MINIRACERDIR/data/pak0.pak $HOME/.MiniRacer/data
- fi
-@@ -35,7 +31,4 @@
-
- # change directory and start MiniRacer
- cd $HOME/.MiniRacer
--./engine.glx $*
--
--exit 0
--
-\ No newline at end of file
-+exec @GAMES_LIBDIR@/engine.glx $*