summaryrefslogtreecommitdiff
path: root/recipes/libdvb/files/gcc4.patch
diff options
context:
space:
mode:
authorStephen Simpson <stephen@quaddro.net>2009-11-29 16:02:22 +0000
committerHenning Heinold <heinold@inf.fu-berlin.de>2009-11-30 23:51:06 +0100
commit0c84ce234bb065fe646b79f26a8f789fd7d14d16 (patch)
tree00a3c8c05b980519d62eeb97e313f82e592fa6a6 /recipes/libdvb/files/gcc4.patch
parent73ec71fa4554390dde8366a620d82ad288db85b7 (diff)
libdvb 0.5.5.1: Fix build on GCC 4.x
* sample_progs/cam_menu.hh was missing #include <cstring>, does not error on gcc < 4.x * dvb-mpegtools/Makefile did not pass LDFLAGS when necessary for linking, causing QA Issues Recipe changes: * Change recipe to remove CFLAGS from config.mk to allow the CFLAGS variable passed to be used instead * Add patches to recipe
Diffstat (limited to 'recipes/libdvb/files/gcc4.patch')
-rw-r--r--recipes/libdvb/files/gcc4.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/recipes/libdvb/files/gcc4.patch b/recipes/libdvb/files/gcc4.patch
new file mode 100644
index 0000000000..280c2eaafa
--- /dev/null
+++ b/recipes/libdvb/files/gcc4.patch
@@ -0,0 +1,11 @@
+diff -urN libdvb-0.5.5.1/sample_progs/cam_menu.hh libdvb-0.5.5.1-superterrific/sample_progs/cam_menu.hh
+--- libdvb-0.5.5.1/sample_progs/cam_menu.hh 2005-03-22 08:23:25.000000000 -0500
++++ libdvb-0.5.5.1-superterrific/sample_progs/cam_menu.hh 2009-11-29 19:34:44.000000000 -0500
+@@ -4,6 +4,7 @@
+ */
+ #include <sys/types.h>
+ #include <sys/socket.h>
++#include <cstring>
+
+ #ifndef __CAM_MENU_HH
+ #define __CAM_MENU_HH