summaryrefslogtreecommitdiff
path: root/plugins/games/patches
diff options
context:
space:
mode:
authorroot <root@elwms02.(none)>2010-04-06 16:13:08 +0200
committerroot <root@elwms02.(none)>2010-04-06 16:13:08 +0200
commit0e7005fcc7483c01aa102fbea358c5ac65a48d62 (patch)
tree11517ce0d3d2977c6732b3aa583b0008083e0bd3 /plugins/games/patches
downloadx-vdr-0e7005fcc7483c01aa102fbea358c5ac65a48d62.tar.gz
x-vdr-0e7005fcc7483c01aa102fbea358c5ac65a48d62.tar.bz2
hello world
Diffstat (limited to 'plugins/games/patches')
-rw-r--r--plugins/games/patches/games-0.6.2-vdr-1.3.48.diff34
1 files changed, 34 insertions, 0 deletions
diff --git a/plugins/games/patches/games-0.6.2-vdr-1.3.48.diff b/plugins/games/patches/games-0.6.2-vdr-1.3.48.diff
new file mode 100644
index 0000000..f9cf57c
--- /dev/null
+++ b/plugins/games/patches/games-0.6.2-vdr-1.3.48.diff
@@ -0,0 +1,34 @@
+diff -ruN VDR.org/PLUGINS/src/games-0.6.2/Makefile VDR/PLUGINS/src/games-0.6.2/Makefile
+--- VDR.org/PLUGINS/src/games-0.6.2/Makefile 2006-04-23 19:02:06.000000000 +0200
++++ VDR/PLUGINS/src/games-0.6.2/Makefile 2006-04-23 19:02:57.000000000 +0200
+@@ -21,11 +21,11 @@
+ PACKAGE = vdr-games-$(VERSION)
+ ARCHIVES = $(shell for GAME in $(GAMES); do echo $$GAME/$$GAME.a; done)
+ SDLGAMES = $(shell test -f $(VDRDIR)/config.h || echo true )
+-VDRVER = $(shell grep 'define VDRVERSION ' $(VDRDIR)/config.h | \
++APIVERSION= $(shell grep 'define APIVERSION ' $(VDRDIR)/config.h | \
+ awk '{ print $$3 }' | sed -e 's/"//g' )
+ VDRNUM = $(shell grep 'define VDRVERSNUM ' $(VDRDIR)/config.h | \
+ awk '{ print $$3 }' | sed -e 's/"//g' )
+-
++-include $(VDRDIR)/Make.config
+ ifeq "$(SDLGAMES)" "true"
+
+ TARGET = sdl-games
+@@ -57,13 +57,13 @@
+
+ libvdr-games.so: $(OBJS)
+ @g++ $(OBJS) $(LFLAGS) $(ARCHIVES) -o $@
+- @cp $@ $(LIBDIR)/$@.$(VDRVER)
++ @cp $@ $(LIBDIR)/$@.$(APIVERSION)
+
+ sdl-games: $(OBJS)
+ @g++ $(OBJS) $(LFLAGS) $(ARCHIVES) -o $@
+
+ install: all
+- @cp $(LIBDIR)/libvdr-games.so.$(VDRVER) /mnt/vdr/lib/plugins/
++ @cp $(LIBDIR)/libvdr-games.so.$(APIVERSION) $(PLUGINLIBDIR)
+
+ tar: clean
+ @echo -n "Creating archive ..."
+