[SCM] vdr-plugin-games packaging repository branch, master, updated. debian/0.6.3-39-4-ge81bb65

etobi git at e-tobi.net
Sun Mar 10 18:10:36 UTC 2013


The following commit has been merged in the master branch:
commit 55776ace550551346240e74ba1d750debbb697e5
Author: etobi <git at e-tobi.net>
Date:   Sun Mar 3 12:31:38 2013 +0100

    Fixing compiler flags issue

diff --git a/debian/patches/flags.patch b/debian/patches/flags.patch
new file mode 100644
index 0000000..6730d3c
--- /dev/null
+++ b/debian/patches/flags.patch
@@ -0,0 +1,15 @@
+Index: vdr-plugin-games/Makefile
+===================================================================
+--- vdr-plugin-games.orig/Makefile	2013-03-03 12:45:05.000000000 +0100
++++ vdr-plugin-games/Makefile	2013-03-03 12:45:11.000000000 +0100
+@@ -13,8 +13,8 @@
+ VDROBJS   = plugin.o
+ SDLOBJS   = main.o
+ DEFINES   = -DVERSION=\"$(VERSION)\"
+-CFLAGS    = -g -pipe -O2 -Wall -Woverloaded-virtual
+-LFLAGS    = -pthread
++CFLAGS    ?= -g -pipe -O2 -Wall -Woverloaded-virtual
++LFLAGS    += -pthread
+ VDRDIR    = ../../..
+ LIBDIR    = ../../lib
+ DVBDIR    = ../../../../DVB
diff --git a/debian/patches/series b/debian/patches/series
index baecb7c..fb44719 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 02_Makefile-nosilent.patch
 03_games-0.6.3-fix-INCLUDES.patch
 04_gcc-4.6.patch
+flags.patch
diff --git a/debian/rules b/debian/rules
index 16cd2ac..331e224 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,6 +6,7 @@
 MAKE_OPTIONS = VDRDIR=/usr/include/vdr LIBDIR=. LOCALEDIR=locale
 CXXFLAGS += -fPIC
 CFLAGS += -fPIC
+export LFLAGS=$(LDFLAGS)
 
 %:
 	dh $@

-- 
vdr-plugin-games packaging repository



More information about the pkg-vdr-dvb-changes mailing list