diff options
author | Peter Korsgaard <peter@korsgaard.com> | 2013-11-17 23:20:27 +0100 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2013-11-17 23:21:47 +0100 |
commit | 64dbd7d0364fc53c13ff87196cfef41a5f672484 (patch) | |
tree | 979e772a012212f240dd773df68f24dd0681d38e | |
parent | 157101726c3d490d20cae4f3ad61197330b06df1 (diff) | |
download | buildroot-64dbd7d0364fc53c13ff87196cfef41a5f672484.tar.gz buildroot-64dbd7d0364fc53c13ff87196cfef41a5f672484.zip |
gst1-plugins-bad: workaround directfb example build issue
Fixes http://autobuild.buildroot.net/results/ea8/ea84eb03ea4a5974cd25b2d1e15ab76bfd3e81dd/
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r-- | package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad-fix-dfb-example.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad-fix-dfb-example.patch b/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad-fix-dfb-example.patch new file mode 100644 index 0000000000..b1f06ff38a --- /dev/null +++ b/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad-fix-dfb-example.patch @@ -0,0 +1,33 @@ +[PATCH] work around dfb-example build issue + +directfb.h defines a number of macros which conflicts with gst/gst.h: + +In file included from ../sysroot/usr/include/gstreamer-1.0/gst/gst.h:50:0, + from dfb-example.c:4: +../sysroot/usr/include/gstreamer-1.0/gst/gstinfo.h:295:69: error: expected ‘)’ before ‘__attribute__’ +../sysroot/usr/include/gstreamer-1.0/gst/gstinfo.h:295:69: error: expected ‘,’ or ‘;’ before ‘)’ token + +As mentioned in the upstream bug report: + +https://bugzilla.gnome.org/show_bug.cgi?id=685609 + +A workaround is to simply swap the include order around. + +Signed-off-by: Peter Korsgaard <peter@korsgaard.com> +--- + ext/directfb/dfb-example.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +Index: gst1-plugins-bad-1.2.1/ext/directfb/dfb-example.c +=================================================================== +--- gst1-plugins-bad-1.2.1.orig/ext/directfb/dfb-example.c ++++ gst1-plugins-bad-1.2.1/ext/directfb/dfb-example.c +@@ -1,7 +1,7 @@ + +-#include <directfb.h> + #include <stdio.h> + #include <gst/gst.h> ++#include <directfb.h> + + static IDirectFB *dfb = NULL; + static IDirectFBSurface *primary = NULL; |