Patchwork vdr: update to 1.7.16 from 1.7.10

login
register
mail settings
Submitter Paul Menzel
Date Jan. 9, 2011, 10:54 p.m.
Message ID <1294613691.4036.76.camel@mattotaupa>
Download mbox | patch
Permalink /patch/205/
State Accepted
Headers show

Comments

Paul Menzel - Jan. 9, 2011, 10:54 p.m.
Date: Mon, 12 Jul 2010 21:32:52 +0200

Several of Hennig’s patches were applied upstream and are not necessary anymore.

• `recipes/vdr/files/cplusplus.patch`: replaced by `recipes/vdr/vdr-1.7.16/0002-tools.h-include-stdarg.h.patch`
  1. `canonicalize_file_name()` is available in uClibc now.
  2. Deprecated C headers will remain in VDR instead of C++ headers [1].
• `recipes/vdr/files/disable_plugin.patch`: removed, since ncurses is found correctly now.
• `recipes/vdr/files/fixpaths.patch`: removed, since `INCLUDES` is not overwritten anymore since VDR 1.7.15 [2] and options can be passed from outside since 1.7.13 [3].
• `recipes/vdr/files/libintl.patch` ? `recipes/vdr/vdr-1.7.16/0003-uclibc-Add-lintl-to-LIBS.patch`
  1. Still needed. I do not know how to fix this upstream.
• `recipes/vdr/vdr-1.7.10/linkerflags.patch` ? `recipes/vdr/vdr-1.7.16/0001-Makefile-Pass-LDFLAGS.patch`
  1. Still needed and extended to cover all places to get rid of `ERROR: QA Issue with libvdr-svcsvr: No GNU_HASH in the elf binary:`. This patch will not be needed anymore in 1.7.17 [4].

Since 1.7.x are development releases and no users of VDR in OE are known to me simply replace 1.7.10 by 1.7.16.

This recipes is build tested for `MACHINE = "beagleboard"` with `angstrom-2008.1`, `angstrom-2010.x`, `minimal`, `minimal-uclibc`.

[1] http://www.linuxtv.org/pipermail/vdr/2010-December/024034.html
[2] http://www.linuxtv.org/pipermail/vdr/2010-April/022831.html
[3] http://www.linuxtv.org/pipermail/vdr/2010-February/022333.html
[4] http://www.linuxtv.org/pipermail/vdr/2010-December/024096.html

Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>
---
 recipes/vdr/files/cplusplus.patch                  |   54 ------
 recipes/vdr/files/disable_plugin.patch             |   18 --
 recipes/vdr/files/fixpaths.patch                   |   11 --
 recipes/vdr/files/libintl.patch                    |   13 --
 recipes/vdr/vdr-1.7.10/linkerflags.patch           |  186 --------------------
 .../vdr-1.7.16/0001-Makefile-Pass-LDFLAGS.patch    |  148 ++++++++++++++++
 .../vdr-1.7.16/0002-tools.h-include-stdarg.h.patch |   73 ++++++++
 .../vdr-1.7.16/0003-uclibc-Add-lintl-to-LIBS.patch |   27 +++
 recipes/vdr/vdr.inc                                |    2 +-
 recipes/vdr/{vdr_1.7.10.bb => vdr_1.7.16.bb}       |   20 +--
 10 files changed, 258 insertions(+), 294 deletions(-)
 delete mode 100644 recipes/vdr/files/cplusplus.patch
 delete mode 100644 recipes/vdr/files/disable_plugin.patch
 delete mode 100644 recipes/vdr/files/fixpaths.patch
 delete mode 100644 recipes/vdr/files/libintl.patch
 delete mode 100644 recipes/vdr/vdr-1.7.10/linkerflags.patch
 create mode 100644 recipes/vdr/vdr-1.7.16/0001-Makefile-Pass-LDFLAGS.patch
 create mode 100644 recipes/vdr/vdr-1.7.16/0002-tools.h-include-stdarg.h.patch
 create mode 100644 recipes/vdr/vdr-1.7.16/0003-uclibc-Add-lintl-to-LIBS.patch
 rename recipes/vdr/{vdr_1.7.10.bb => vdr_1.7.16.bb} (59%)

Patch

diff --git a/recipes/vdr/files/cplusplus.patch b/recipes/vdr/files/cplusplus.patch
deleted file mode 100644
index 74e4731..0000000
--- a/recipes/vdr/files/cplusplus.patch
+++ /dev/null
@@ -1,54 +0,0 @@ 
-Index: vdr-1.7.10/tools.c
-===================================================================
---- vdr-1.7.10.orig/tools.c	2010-01-03 16:34:41.162295450 +0100
-+++ vdr-1.7.10/tools.c	2010-01-03 17:07:03.318358420 +0100
-@@ -8,9 +8,12 @@
-  */
- 
- #include "tools.h"
--#include <ctype.h>
-+#include <cctype>
- #include <dirent.h>
--#include <errno.h>
-+#include <cerrno>
-+#include <cstdarg>
-+#include <ctime>
-+
- extern "C" {
- #ifdef boolean
- #define HAVE_BOOLEAN
-@@ -18,11 +21,10 @@
- #include <jpeglib.h>
- #undef boolean
- }
--#include <stdarg.h>
-+
- #include <stdlib.h>
- #include <sys/time.h>
- #include <sys/vfs.h>
--#include <time.h>
- #include <unistd.h>
- #include <utime.h>
- #include "i18n.h"
-@@ -484,7 +486,7 @@
- {
-   if (!FileName)
-      return NULL;
--  char *TargetName = canonicalize_file_name(FileName);
-+  char *TargetName = realpath(FileName,NULL);
-   if (!TargetName) {
-      if (errno == ENOENT) // file doesn't exist
-         TargetName = strdup(FileName);
-Index: vdr-1.7.10/tools.h
-===================================================================
---- vdr-1.7.10.orig/tools.h	2010-01-03 16:30:20.441906815 +0100
-+++ vdr-1.7.10/tools.h	2010-01-03 16:30:57.168575048 +0100
-@@ -24,6 +24,8 @@
- #include <sys/stat.h>
- #include <sys/types.h>
- 
-+#include <cstdarg>
-+
- typedef unsigned char uchar;
- 
- extern int SysLogLevel;
diff --git a/recipes/vdr/files/disable_plugin.patch b/recipes/vdr/files/disable_plugin.patch
deleted file mode 100644
index 80cf236..0000000
--- a/recipes/vdr/files/disable_plugin.patch
+++ /dev/null
@@ -1,18 +0,0 @@ 
-Index: vdr-1.7.10/Makefile
-===================================================================
---- vdr-1.7.10.orig/Makefile	2010-01-03 18:19:12.915007986 +0100
-+++ vdr-1.7.10/Makefile	2010-01-03 18:29:47.598277455 +0100
-@@ -142,11 +142,12 @@
- 	noapiv="";\
- 	for i in `ls $(PLUGINDIR)/src | grep -v '[^a-z0-9]'`; do\
- 	    echo "Plugin $$i:";\
--	    if ! grep -q "\$$(LIBDIR)/.*\$$(APIVERSION)" "$(PLUGINDIR)/src/$$i/Makefile" ; then\
-+	    if ! grep -q "\$$(LIBDIR)/.*\$$(APIVERSION)" "$(PLUGINDIR)/src/$$i/Makefile";  then \
- 	       echo "ERROR: plugin $$i doesn't honor APIVERSION - not compiled!";\
- 	       noapiv="$$noapiv $$i";\
- 	       continue;\
- 	       fi;\
-+	    if [ "$$i" = "skincurses" ]; then echo; echo "*** $$i plugin disbabled "; echo; continue; fi;\
- 	    $(MAKE) -C "$(PLUGINDIR)/src/$$i" all || failed="$$failed $$i";\
- 	    done;\
- 	if [ -n "$$noapiv" ] ; then echo; echo "*** plugins without APIVERSION:$$noapiv"; echo; fi;\
diff --git a/recipes/vdr/files/fixpaths.patch b/recipes/vdr/files/fixpaths.patch
deleted file mode 100644
index 418f2d9..0000000
--- a/recipes/vdr/files/fixpaths.patch
+++ /dev/null
@@ -1,11 +0,0 @@ 
---- vdr/Makefile~fixpaths	2009-10-18 15:59:25.000000000 +0200
-+++ vdr/Makefile	2009-12-13 12:28:22.000000000 +0100
-@@ -21,7 +21,7 @@
- BINDIR   = $(PREFIX)/bin
- LOCDIR   = ./locale
- LIBS     = -ljpeg -lpthread -ldl -lcap -lrt -lfreetype -lfontconfig
--INCLUDES = -I/usr/include/freetype2
-+INCLUDES = ${CFLAGS}
- 
- PLUGINDIR= ./PLUGINS
- PLUGINLIBDIR= $(PLUGINDIR)/lib
diff --git a/recipes/vdr/files/libintl.patch b/recipes/vdr/files/libintl.patch
deleted file mode 100644
index 57b2581..0000000
--- a/recipes/vdr/files/libintl.patch
+++ /dev/null
@@ -1,13 +0,0 @@ 
-Index: vdr-1.7.10/Makefile
-===================================================================
---- vdr-1.7.10.orig/Makefile	2010-01-07 22:02:32.000000000 +0100
-+++ vdr-1.7.10/Makefile	2010-01-07 22:03:01.803824516 +0100
-@@ -20,7 +20,7 @@
- MANDIR   = $(PREFIX)/share/man
- BINDIR   = $(PREFIX)/bin
- LOCDIR   = ./locale
--LIBS     = -ljpeg -lpthread -ldl -lcap -lrt -lfreetype -lfontconfig ${LDFLAGS}
-+LIBS     = -ljpeg -lpthread -ldl -lcap -lrt -lfreetype -lfontconfig -lintl ${LDFLAGS}
- INCLUDES = ${CFLAGS}
- 
- PLUGINDIR= ./PLUGINS
diff --git a/recipes/vdr/vdr-1.7.10/linkerflags.patch b/recipes/vdr/vdr-1.7.10/linkerflags.patch
deleted file mode 100644
index 63c4477..0000000
--- a/recipes/vdr/vdr-1.7.10/linkerflags.patch
+++ /dev/null
@@ -1,186 +0,0 @@ 
-Index: vdr-1.7.10/Makefile
-===================================================================
---- vdr-1.7.10.orig/Makefile	2010-01-07 22:01:54.000000000 +0100
-+++ vdr-1.7.10/Makefile	2010-01-07 22:02:32.167165564 +0100
-@@ -20,7 +20,7 @@
- MANDIR   = $(PREFIX)/share/man
- BINDIR   = $(PREFIX)/bin
- LOCDIR   = ./locale
--LIBS     = -ljpeg -lpthread -ldl -lcap -lrt -lfreetype -lfontconfig
-+LIBS     = -ljpeg -lpthread -ldl -lcap -lrt -lfreetype -lfontconfig ${LDFLAGS}
- INCLUDES = ${CFLAGS}
- 
- PLUGINDIR= ./PLUGINS
-Index: vdr-1.7.10/PLUGINS/src/hello/Makefile
-===================================================================
---- vdr-1.7.10.orig/PLUGINS/src/hello/Makefile	2010-01-07 22:01:07.000000000 +0100
-+++ vdr-1.7.10/PLUGINS/src/hello/Makefile	2010-01-07 22:02:02.240496954 +0100
-@@ -19,6 +19,7 @@
- 
- CXX      ?= g++
- CXXFLAGS ?= -fPIC -g -O2 -Wall -Woverloaded-virtual -Wno-parentheses
-+LIBS     ?= ${LDFLAGS}
- 
- ### The directory environment:
- 
-@@ -95,7 +96,7 @@
- ### Targets:
- 
- libvdr-$(PLUGIN).so: $(OBJS)
--	$(CXX) $(CXXFLAGS) -shared $(OBJS) -o $@
-+	$(CXX) $(CXXFLAGS) -shared $(OBJS) -o $@ $(LIBS)
- 	@cp --remove-destination $@ $(LIBDIR)/$@.$(APIVERSION)
- 
- dist: clean
-Index: vdr-1.7.10/PLUGINS/src/osddemo/Makefile
-===================================================================
---- vdr-1.7.10.orig/PLUGINS/src/osddemo/Makefile	2010-01-07 22:01:07.000000000 +0100
-+++ vdr-1.7.10/PLUGINS/src/osddemo/Makefile	2010-01-07 22:02:02.240496954 +0100
-@@ -17,6 +17,7 @@
- 
- CXX      ?= g++
- CXXFLAGS ?= -fPIC -g -O2 -Wall -Woverloaded-virtual -Wno-parentheses
-+LIBS     ?= ${LDFLAGS}
- 
- ### The directory environment:
- 
-@@ -68,7 +69,7 @@
- ### Targets:
- 
- libvdr-$(PLUGIN).so: $(OBJS)
--	$(CXX) $(CXXFLAGS) -shared $(OBJS) -o $@
-+	$(CXX) $(CXXFLAGS) -shared $(OBJS) -o $@ $(LIBS)
- 	@cp --remove-destination $@ $(LIBDIR)/$@.$(APIVERSION)
- 
- dist: clean
-Index: vdr-1.7.10/PLUGINS/src/pictures/Makefile
-===================================================================
---- vdr-1.7.10.orig/PLUGINS/src/pictures/Makefile	2010-01-07 22:01:07.000000000 +0100
-+++ vdr-1.7.10/PLUGINS/src/pictures/Makefile	2010-01-07 22:02:02.240496954 +0100
-@@ -19,6 +19,7 @@
- 
- CXX      ?= g++
- CXXFLAGS ?= -fPIC -g -O2 -Wall -Woverloaded-virtual -Wno-parentheses
-+LIBS     ?= ${LDFLAGS}
- 
- ### The directory environment:
- 
-@@ -95,7 +96,7 @@
- ### Targets:
- 
- libvdr-$(PLUGIN).so: $(OBJS)
--	$(CXX) $(CXXFLAGS) -shared $(OBJS) -o $@
-+	$(CXX) $(CXXFLAGS) -shared $(OBJS) -o $@ $(LIBS)
- 	@cp --remove-destination $@ $(LIBDIR)/$@.$(APIVERSION)
- 
- dist: clean
-Index: vdr-1.7.10/PLUGINS/src/servicedemo/Makefile
-===================================================================
---- vdr-1.7.10.orig/PLUGINS/src/servicedemo/Makefile	2010-01-07 22:01:07.000000000 +0100
-+++ vdr-1.7.10/PLUGINS/src/servicedemo/Makefile	2010-01-07 22:02:02.240496954 +0100
-@@ -19,6 +19,7 @@
- 
- CXX      ?= g++
- CXXFLAGS ?= -fPIC -g -O2 -Wall -Woverloaded-virtual -Wno-parentheses
-+LIBS     ?= ${LDFLAGS}
- 
- ### The directory environment:
- 
-@@ -70,11 +71,11 @@
- ### Targets:
- 
- libvdr-$(PLUGIN1).so: $(PLUGIN1).o
--	$(CXX) $(CXXFLAGS) -shared $(PLUGIN1).o -o $@
-+	$(CXX) $(CXXFLAGS) -shared $(PLUGIN1).o -o $@ $(LIBS)
- 	@cp --remove-destination $@ $(LIBDIR)/$@.$(APIVERSION)
- 
- libvdr-$(PLUGIN2).so: $(PLUGIN2).o
--	$(CXX) $(CXXFLAGS) -shared $(PLUGIN2).o -o $@
-+	$(CXX) $(CXXFLAGS) -shared $(PLUGIN2).o -o $@ $(LIBS)
- 	@cp --remove-destination $@ $(LIBDIR)/$@.$(APIVERSION)
- 
- dist: clean
-Index: vdr-1.7.10/PLUGINS/src/skincurses/Makefile
-===================================================================
---- vdr-1.7.10.orig/PLUGINS/src/skincurses/Makefile	2010-01-07 22:01:07.000000000 +0100
-+++ vdr-1.7.10/PLUGINS/src/skincurses/Makefile	2010-01-07 22:02:02.240496954 +0100
-@@ -19,6 +19,7 @@
- 
- CXX      ?= g++
- CXXFLAGS ?= -fPIC -g -O2 -Wall -Woverloaded-virtual -Wno-parentheses
-+LIBS     ?= ${LDFLAGS}
- 
- ### The directory environment:
- 
-@@ -95,7 +96,7 @@
- ### Targets:
- 
- libvdr-$(PLUGIN).so: $(OBJS)
--	$(CXX) $(CXXFLAGS) -shared $(OBJS) -lncursesw -o $@
-+	$(CXX) $(CXXFLAGS) -shared $(OBJS) -lncursesw -o $@ $(LIBS)
- 	@cp --remove-destination $@ $(LIBDIR)/$@.$(APIVERSION)
- 
- dist: clean
-Index: vdr-1.7.10/PLUGINS/src/sky/Makefile
-===================================================================
---- vdr-1.7.10.orig/PLUGINS/src/sky/Makefile	2010-01-07 22:01:07.000000000 +0100
-+++ vdr-1.7.10/PLUGINS/src/sky/Makefile	2010-01-07 22:02:02.240496954 +0100
-@@ -17,6 +17,7 @@
- 
- CXX      ?= g++
- CXXFLAGS ?= -fPIC -g -O2 -Wall -Woverloaded-virtual -Wno-parentheses
-+LIBS     ?= ${LDFLAGS}
- 
- ### The directory environment:
- 
-@@ -68,7 +69,7 @@
- ### Targets:
- 
- libvdr-$(PLUGIN).so: $(OBJS)
--	$(CXX) $(CXXFLAGS) -shared $(OBJS) -o $@
-+	$(CXX) $(CXXFLAGS) -shared $(OBJS) -o $@ $(LIBS)
- 	@cp --remove-destination $@ $(LIBDIR)/$@.$(APIVERSION)
- 
- dist: clean
-Index: vdr-1.7.10/PLUGINS/src/status/Makefile
-===================================================================
---- vdr-1.7.10.orig/PLUGINS/src/status/Makefile	2010-01-07 22:01:07.000000000 +0100
-+++ vdr-1.7.10/PLUGINS/src/status/Makefile	2010-01-07 22:02:02.240496954 +0100
-@@ -17,6 +17,7 @@
- 
- CXX      ?= g++
- CXXFLAGS ?= -fPIC -g -O2 -Wall -Woverloaded-virtual -Wno-parentheses
-+LIBS     ?= ${LDFLAGS}
- 
- ### The directory environment:
- 
-@@ -68,7 +69,7 @@
- ### Targets:
- 
- libvdr-$(PLUGIN).so: $(OBJS)
--	$(CXX) $(CXXFLAGS) -shared $(OBJS) -o $@
-+	$(CXX) $(CXXFLAGS) -shared $(OBJS) -o $@ $(LIBS)
- 	@cp --remove-destination $@ $(LIBDIR)/$@.$(APIVERSION)
- 
- dist: clean
-Index: vdr-1.7.10/PLUGINS/src/svdrpdemo/Makefile
-===================================================================
---- vdr-1.7.10.orig/PLUGINS/src/svdrpdemo/Makefile	2010-01-07 22:01:07.000000000 +0100
-+++ vdr-1.7.10/PLUGINS/src/svdrpdemo/Makefile	2010-01-07 22:02:02.240496954 +0100
-@@ -17,6 +17,7 @@
- 
- CXX      ?= g++
- CXXFLAGS ?= -fPIC -g -O2 -Wall -Woverloaded-virtual -Wno-parentheses
-+LIBS     ?= ${LDFLAGS}
- 
- ### The directory environment:
- 
-@@ -68,7 +69,7 @@
- ### Targets:
- 
- libvdr-$(PLUGIN).so: $(OBJS)
--	$(CXX) $(CXXFLAGS) -shared $(OBJS) -o $@
-+	$(CXX) $(CXXFLAGS) -shared $(OBJS) -o $@ $(LIBS)
- 	@cp --remove-destination $@ $(LIBDIR)/$@.$(APIVERSION)
- 
- dist: clean
diff --git a/recipes/vdr/vdr-1.7.16/0001-Makefile-Pass-LDFLAGS.patch b/recipes/vdr/vdr-1.7.16/0001-Makefile-Pass-LDFLAGS.patch
new file mode 100644
index 0000000..2b28e54
--- /dev/null
+++ b/recipes/vdr/vdr-1.7.16/0001-Makefile-Pass-LDFLAGS.patch
@@ -0,0 +1,148 @@ 
+From 165a0d93a39a3b25583b6cd3e0d429cd0995cc63 Mon Sep 17 00:00:00 2001
+From: Paul Menzel <paulepanter@users.sourceforge.net>
+Date: Sun, 12 Dec 2010 18:19:42 +0100
+Subject: [PATCH 1/3] Makefile: Pass `LDFLAGS`.
+
+Some distributions pass special flags to the linker [1][2]. Respect those by using `LDFLAGS`.
+
+[1] http://cgit.openembedded.org/cgit.cgi/openembedded/tree/recipes/vdr/vdr-1.7.10/linkerflags.patch
+[2] http://www.linuxtv.org/pipermail/vdr/2010-September/023623.html
+
+Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>
+---
+ Makefile                         |    2 +-
+ PLUGINS/src/dvbsddevice/Makefile |    2 +-
+ PLUGINS/src/hello/Makefile       |    2 +-
+ PLUGINS/src/osddemo/Makefile     |    2 +-
+ PLUGINS/src/pictures/Makefile    |    2 +-
+ PLUGINS/src/servicedemo/Makefile |    4 ++--
+ PLUGINS/src/skincurses/Makefile  |    2 +-
+ PLUGINS/src/status/Makefile      |    2 +-
+ PLUGINS/src/svdrpdemo/Makefile   |    2 +-
+ 9 files changed, 10 insertions(+), 10 deletions(-)
+
+diff --git a/Makefile b/Makefile
+index 26f54ea..48e3309 100644
+--- a/Makefile
++++ b/Makefile
+@@ -95,7 +95,7 @@ $(DEPFILE): Makefile
+ # The main program:
+ 
+ vdr: $(OBJS) $(SILIB)
+-	$(CXX) $(CXXFLAGS) -rdynamic $(OBJS) $(LIBS) $(LIBDIRS) $(SILIB) -o vdr
++	$(CXX) $(CXXFLAGS) -rdynamic $(LDFLAGS) $(OBJS) $(LIBS) $(LIBDIRS) $(SILIB) -o vdr
+ 
+ # The libsi library:
+ 
+diff --git a/PLUGINS/src/dvbsddevice/Makefile b/PLUGINS/src/dvbsddevice/Makefile
+index 32d0f50..afc801b 100644
+--- a/PLUGINS/src/dvbsddevice/Makefile
++++ b/PLUGINS/src/dvbsddevice/Makefile
+@@ -99,7 +99,7 @@ i18n: $(I18Nmsgs) $(I18Npot)
+ ### Targets:
+ 
+ libvdr-$(PLUGIN).so: $(OBJS)
+-	$(CXX) $(CXXFLAGS) -shared $(OBJS) -o $@
++	$(CXX) $(CXXFLAGS) $(LDFLAGS) -shared $(OBJS) -o $@
+ 	@cp --remove-destination $@ $(LIBDIR)/$@.$(APIVERSION)
+ 
+ dist: clean
+diff --git a/PLUGINS/src/hello/Makefile b/PLUGINS/src/hello/Makefile
+index a5703f6..9e51cf7 100644
+--- a/PLUGINS/src/hello/Makefile
++++ b/PLUGINS/src/hello/Makefile
+@@ -99,7 +99,7 @@ i18n: $(I18Nmsgs)
+ ### Targets:
+ 
+ libvdr-$(PLUGIN).so: $(OBJS)
+-	$(CXX) $(CXXFLAGS) -shared $(OBJS) -o $@
++	$(CXX) $(CXXFLAGS) $(LDFLAGS) -shared $(OBJS) -o $@
+ 	@cp --remove-destination $@ $(LIBDIR)/$@.$(APIVERSION)
+ 
+ dist: clean
+diff --git a/PLUGINS/src/osddemo/Makefile b/PLUGINS/src/osddemo/Makefile
+index d9ed4c5..eb98160 100644
+--- a/PLUGINS/src/osddemo/Makefile
++++ b/PLUGINS/src/osddemo/Makefile
+@@ -72,7 +72,7 @@ $(DEPFILE): Makefile
+ ### Targets:
+ 
+ libvdr-$(PLUGIN).so: $(OBJS)
+-	$(CXX) $(CXXFLAGS) -shared $(OBJS) -o $@
++	$(CXX) $(CXXFLAGS) $(LDFLAGS) -shared $(OBJS) -o $@
+ 	@cp --remove-destination $@ $(LIBDIR)/$@.$(APIVERSION)
+ 
+ dist: clean
+diff --git a/PLUGINS/src/pictures/Makefile b/PLUGINS/src/pictures/Makefile
+index 19c6fc6..a573363 100644
+--- a/PLUGINS/src/pictures/Makefile
++++ b/PLUGINS/src/pictures/Makefile
+@@ -99,7 +99,7 @@ i18n: $(I18Nmsgs) $(I18Npot)
+ ### Targets:
+ 
+ libvdr-$(PLUGIN).so: $(OBJS)
+-	$(CXX) $(CXXFLAGS) -shared $(OBJS) -o $@
++	$(CXX) $(CXXFLAGS) $(LDFLAGS) -shared $(OBJS) -o $@
+ 	@cp --remove-destination $@ $(LIBDIR)/$@.$(APIVERSION)
+ 
+ dist: clean
+diff --git a/PLUGINS/src/servicedemo/Makefile b/PLUGINS/src/servicedemo/Makefile
+index 18bfd26..8cba989 100644
+--- a/PLUGINS/src/servicedemo/Makefile
++++ b/PLUGINS/src/servicedemo/Makefile
+@@ -74,11 +74,11 @@ $(DEPFILE): Makefile
+ ### Targets:
+ 
+ libvdr-$(PLUGIN1).so: $(PLUGIN1).o
+-	$(CXX) $(CXXFLAGS) -shared $(PLUGIN1).o -o $@
++	$(CXX) $(CXXFLAGS) $(LDFLAGS) -shared $(PLUGIN1).o -o $@
+ 	@cp --remove-destination $@ $(LIBDIR)/$@.$(APIVERSION)
+ 
+ libvdr-$(PLUGIN2).so: $(PLUGIN2).o
+-	$(CXX) $(CXXFLAGS) -shared $(PLUGIN2).o -o $@
++	$(CXX) $(CXXFLAGS) $(LDFLAGS) -shared $(PLUGIN2).o -o $@
+ 	@cp --remove-destination $@ $(LIBDIR)/$@.$(APIVERSION)
+ 
+ dist: clean
+diff --git a/PLUGINS/src/skincurses/Makefile b/PLUGINS/src/skincurses/Makefile
+index 080c3e6..e1e3ae6 100644
+--- a/PLUGINS/src/skincurses/Makefile
++++ b/PLUGINS/src/skincurses/Makefile
+@@ -99,7 +99,7 @@ i18n: $(I18Nmsgs) $(I18Npot)
+ ### Targets:
+ 
+ libvdr-$(PLUGIN).so: $(OBJS)
+-	$(CXX) $(CXXFLAGS) -shared $(OBJS) -lncursesw -o $@
++	$(CXX) $(CXXFLAGS) $(LDFLAGS) -shared $(OBJS) -lncursesw -o $@
+ 	@cp --remove-destination $@ $(LIBDIR)/$@.$(APIVERSION)
+ 
+ dist: clean
+diff --git a/PLUGINS/src/status/Makefile b/PLUGINS/src/status/Makefile
+index 556a09e..fa59016 100644
+--- a/PLUGINS/src/status/Makefile
++++ b/PLUGINS/src/status/Makefile
+@@ -72,7 +72,7 @@ $(DEPFILE): Makefile
+ ### Targets:
+ 
+ libvdr-$(PLUGIN).so: $(OBJS)
+-	$(CXX) $(CXXFLAGS) -shared $(OBJS) -o $@
++	$(CXX) $(CXXFLAGS) $(LDFLAGS) -shared $(OBJS) -o $@
+ 	@cp --remove-destination $@ $(LIBDIR)/$@.$(APIVERSION)
+ 
+ dist: clean
+diff --git a/PLUGINS/src/svdrpdemo/Makefile b/PLUGINS/src/svdrpdemo/Makefile
+index 4a803c6..1101634 100644
+--- a/PLUGINS/src/svdrpdemo/Makefile
++++ b/PLUGINS/src/svdrpdemo/Makefile
+@@ -72,7 +72,7 @@ $(DEPFILE): Makefile
+ ### Targets:
+ 
+ libvdr-$(PLUGIN).so: $(OBJS)
+-	$(CXX) $(CXXFLAGS) -shared $(OBJS) -o $@
++	$(CXX) $(CXXFLAGS) $(LDFLAGS) -shared $(OBJS) -o $@
+ 	@cp --remove-destination $@ $(LIBDIR)/$@.$(APIVERSION)
+ 
+ dist: clean
+-- 
+1.7.2.3
+
diff --git a/recipes/vdr/vdr-1.7.16/0002-tools.h-include-stdarg.h.patch b/recipes/vdr/vdr-1.7.16/0002-tools.h-include-stdarg.h.patch
new file mode 100644
index 0000000..e8abed1
--- /dev/null
+++ b/recipes/vdr/vdr-1.7.16/0002-tools.h-include-stdarg.h.patch
@@ -0,0 +1,73 @@ 
+From e5d29ca595564b939fc9fee43c08788f477df218 Mon Sep 17 00:00:00 2001
+From: Paul Menzel <paulepanter@users.sourceforge.net>
+Date: Sun, 12 Dec 2010 19:21:25 +0100
+Subject: [PATCH 2/3] tools.h: include `stdarg.h`
+
+In recent compilers headers need to be included explicitely.
+
+NOTE: package vdr-1.7.16-r0: task do_distribute_sources: Succeeded
+ERROR: TaskFailed event exception, aborting
+ERROR: Build of /home/paul/oe/openembedded/recipes/vdr/vdr_1.7.16.bb do_compile failed
+ERROR: Task 11 (/home/paul/oe/openembedded/recipes/vdr/vdr_1.7.16.bb, do_compile) failed with 256
+ERROR: Function do_compile failed
+NOTE: Task failed: ('function do_compile failed', '/home/paul/oe/build-minimal-uclibc/minimal-uclibc-dev/work/armv7a-oe-linux-uclibceabi/vdr-1.7.16-r0/temp/log.do_compile.8011')
+ERROR: Logfile of failure stored in: /home/paul/oe/build-minimal-uclibc/minimal-uclibc-dev/work/armv7a-oe-linux-uclibceabi/vdr-1.7.16-r0/temp/log.do_compile.8011
+Log data follows:
+| NOTE: make -j4 -e MAKEFLAGS= INCLUDES=-I/home/paul/oe/build-minimal-uclibc/minimal-uclibc-dev/sysroots/armv7a-oe-linux-uclibceabi/usr/include/freetype2
+| arm-oe-linux-uclibceabi-g++ -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -mthumb-interwork -mno-thumb -isystem/home/paul/oe/build-minimal-uclibc/minimal-uclibc-dev/sysroots/armv7a-oe-linux-uclibceabi/usr/include -fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os -fpermissive -fvisibility-inlines-hidden -c -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DREMOTE_KBD -DLIRC_DEVICE=\"/dev/lircd\" -DRCU_DEVICE=\"/dev/ttyS1\" -D_GNU_SOURCE -DVIDEODIR=\"/video\" -DCONFDIR=\"/video\" -DPLUGINDIR=\"./PLUGINS/lib\" -DLOCDIR=\"./locale\" -I/home/paul/oe/build-minimal-uclibc/minimal-uclibc-dev/sysroots/armv7a-oe-linux-uclibceabi/usr/include/freetype2 audio.c
+| arm-oe-linux-uclibceabi-g++ -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -mthumb-interwork -mno-thumb -isystem/home/paul/oe/build-minimal-uclibc/minimal-uclibc-dev/sysroots/armv7a-oe-linux-uclibceabi/usr/include -fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os -fpermissive -fvisibility-inlines-hidden -c -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DREMOTE_KBD -DLIRC_DEVICE=\"/dev/lircd\" -DRCU_DEVICE=\"/dev/ttyS1\" -D_GNU_SOURCE -DVIDEODIR=\"/video\" -DCONFDIR=\"/video\" -DPLUGINDIR=\"./PLUGINS/lib\" -DLOCDIR=\"./locale\" -I/home/paul/oe/build-minimal-uclibc/minimal-uclibc-dev/sysroots/armv7a-oe-linux-uclibceabi/usr/include/freetype2 channels.c
+| arm-oe-linux-uclibceabi-g++ -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -mthumb-interwork -mno-thumb -isystem/home/paul/oe/build-minimal-uclibc/minimal-uclibc-dev/sysroots/armv7a-oe-linux-uclibceabi/usr/include -fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os -fpermissive -fvisibility-inlines-hidden -c -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DREMOTE_KBD -DLIRC_DEVICE=\"/dev/lircd\" -DRCU_DEVICE=\"/dev/ttyS1\" -D_GNU_SOURCE -DVIDEODIR=\"/video\" -DCONFDIR=\"/video\" -DPLUGINDIR=\"./PLUGINS/lib\" -DLOCDIR=\"./locale\" -I/home/paul/oe/build-minimal-uclibc/minimal-uclibc-dev/sysroots/armv7a-oe-linux-uclibceabi/usr/include/freetype2 ci.c
+| arm-oe-linux-uclibceabi-g++ -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -mthumb-interwork -mno-thumb -isystem/home/paul/oe/build-minimal-uclibc/minimal-uclibc-dev/sysroots/armv7a-oe-linux-uclibceabi/usr/include -fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os -fpermissive -fvisibility-inlines-hidden -c -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DREMOTE_KBD -DLIRC_DEVICE=\"/dev/lircd\" -DRCU_DEVICE=\"/dev/ttyS1\" -D_GNU_SOURCE -DVIDEODIR=\"/video\" -DCONFDIR=\"/video\" -DPLUGINDIR=\"./PLUGINS/lib\" -DLOCDIR=\"./locale\" -I/home/paul/oe/build-minimal-uclibc/minimal-uclibc-dev/sysroots/armv7a-oe-linux-uclibceabi/usr/include/freetype2 config.c
+| In file included from i18n.h:14:0,
+|                  from config.h:19,
+|                  from channels.h:13,
+|                  from ci.h:15,
+|                  from ci.c:10:
+| tools.h:176:43: error: 'va_list' has not been declared
+| In file included from audio.h:14:0,
+|                  from audio.c:10:
+| tools.h:176:43: error: 'va_list' has not been declared
+| In file included from i18n.h:14:0,
+|                  from config.h:19,
+|                  from config.c:10:
+| tools.h:176:43: error: 'va_list' has not been declared
+| In file included from i18n.h:14:0,
+|                  from config.h:19,
+|                  from channels.h:13,
+|                  from channels.c:10:
+| tools.h:176:43: error: 'va_list' has not been declared
+| make: *** [audio.o] Error 1
+| make: *** Waiting for unfinished jobs....
+| make: *** [config.o] Error 1
+| make: *** [channels.o] Error 1
+| make: *** [ci.o] Error 1
+| FATAL: oe_runmake failed
+| ERROR: Function do_compile failed
+NOTE: package vdr-1.7.16-r0: task do_compile: Failed
+ERROR: TaskFailed event exception, aborting
+ERROR: Build of /home/paul/oe/openembedded/recipes/vdr/vdr_1.7.16.bb do_compile failed
+ERROR: Task 11 (/home/paul/oe/openembedded/recipes/vdr/vdr_1.7.16.bb, do_compile) failed with 256
+ERROR: '/home/paul/oe/openembedded/recipes/vdr/vdr_1.7.16.bb' failed
+ERROR: '/home/paul/oe/openembedded/recipes/vdr/vdr_1.7.16.bb' failed
+ERROR: '/home/paul/oe/openembedded/recipes/vdr/vdr_1.7.16.bb' failed
+
+Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>
+---
+ tools.h |    1 +
+ 1 files changed, 1 insertions(+), 0 deletions(-)
+
+diff --git a/tools.h b/tools.h
+index 95c35ff..1fbe005 100644
+--- a/tools.h
++++ b/tools.h
+@@ -17,6 +17,7 @@
+ #include <iconv.h>
+ #include <math.h>
+ #include <poll.h>
++#include <stdarg.h>
+ #include <stddef.h>
+ #include <stdint.h>
+ #include <stdio.h>
+-- 
+1.7.2.3
+
diff --git a/recipes/vdr/vdr-1.7.16/0003-uclibc-Add-lintl-to-LIBS.patch b/recipes/vdr/vdr-1.7.16/0003-uclibc-Add-lintl-to-LIBS.patch
new file mode 100644
index 0000000..38adc74
--- /dev/null
+++ b/recipes/vdr/vdr-1.7.16/0003-uclibc-Add-lintl-to-LIBS.patch
@@ -0,0 +1,27 @@ 
+From bf85fc2fd74a3615649ba62dd3e3d36a32d40c72 Mon Sep 17 00:00:00 2001
+From: Paul Menzel <paulepanter@users.sourceforge.net>
+Date: Wed, 14 Jul 2010 20:19:39 +0200
+Subject: [PATCH 3/3] uclibc: Add `-lintl` to `LIBS`.
+
+
+Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>
+---
+ Makefile |    2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/Makefile b/Makefile
+index 48e3309..e12e2b2 100644
+--- a/Makefile
++++ b/Makefile
+@@ -20,7 +20,7 @@ PREFIX  ?= /usr/local
+ MANDIR   = $(PREFIX)/share/man
+ BINDIR   = $(PREFIX)/bin
+ LOCDIR   = ./locale
+-LIBS     = -ljpeg -lpthread -ldl -lcap -lrt -lfreetype -lfontconfig
++LIBS     = -ljpeg -lpthread -ldl -lcap -lrt -lfreetype -lfontconfig -lintl
+ INCLUDES ?= -I/usr/include/freetype2
+ 
+ PLUGINDIR= ./PLUGINS
+-- 
+1.7.2.3
+
diff --git a/recipes/vdr/vdr.inc b/recipes/vdr/vdr.inc
index 1077af9..7af81ad 100644
--- a/recipes/vdr/vdr.inc
+++ b/recipes/vdr/vdr.inc
@@ -3,6 +3,6 @@  HOMEPAGE = "http://www.tvdr.de"
 SECTION = "console/multimedia"
 LICENSE = "GPLv2"
 AUTHOR = "Klaus Schmidinger"
-DEPENDS = "fontconfig freetype gettext libcap jpeg virtual/libintl"
+DEPENDS = "fontconfig freetype gettext libcap jpeg virtual/libintl ncurses"
 
 SRC_URI = "ftp://ftp.tvdr.de/vdr/Developer/${P}.tar.bz2"
diff --git a/recipes/vdr/vdr_1.7.10.bb b/recipes/vdr/vdr_1.7.16.bb
similarity index 59%
rename from recipes/vdr/vdr_1.7.10.bb
rename to recipes/vdr/vdr_1.7.16.bb
index 8cc5757..12632ef 100644
--- a/recipes/vdr/vdr_1.7.10.bb
+++ b/recipes/vdr/vdr_1.7.16.bb
@@ -1,16 +1,14 @@ 
 require vdr.inc
-PR = "r3"
+PR = "r0"
 
-SRC_URI += " file://fixpaths.patch \
-           file://cplusplus.patch \
-           file://disable_plugin.patch \
-           file://linkerflags.patch \
-          "
+SRC_URI += "file://0001-Makefile-Pass-LDFLAGS.patch \
+            file://0002-tools.h-include-stdarg.h.patch \
+           "
 
-SRC_URI_append_linux-uclibceabi = " file://libintl.patch "
-SRC_URI_append_uclinux-uclibc = " file://libintl.patch "
+SRC_URI_append_linux-uclibceabi = " file://0003-uclibc-Add-lintl-to-LIBS.patch "
+SRC_URI_append_uclinux-uclibc = " file://0003-uclibc-Add-lintl-to-LIBS.patch "
 
-CFLAGS_append += " -I${STAGING_INCDIR}/freetype2"
+EXTRA_OEMAKE += "INCLUDES=-I${STAGING_INCDIR}/freetype2"
 
 PLUGINDIR = "${libdir}/vdr/plugins"
 
@@ -34,5 +32,5 @@  python populate_packages_prepend () {
 FILES_${PN} = "${bindir}/* /var/lib/vdr/conf/* ${sysconfdir}/*"
 FILES_${PN}-dbg += "${PLUGINDIR}/.debug/*"
 
-SRC_URI[md5sum] = "c74ee966baca1c47ed6b9e2be3d1639b"
-SRC_URI[sha256sum] = "165bfcd811ef92cab50d11a88a76c481e105689438929414d27edfacfb312f52"
+SRC_URI[md5sum] = "d5cc4bf87e73385a843f5de4763639f0"
+SRC_URI[sha256sum] = "f760d196c6f976043774f6ad9ba1af956d24ad456f8b2fea7dd6a73d38c96e95"