File gstreamer-0_10-plugins-bad-directfb.patch of Package gstreamer-0_10-plugins-bad.3942

diff -ur gst-plugins-bad-0.10.23/ext/directfb/dfb-example.c gst-plugins-bad-0.10.23.patched/ext/directfb/dfb-example.c
--- gst-plugins-bad-0.10.23/ext/directfb/dfb-example.c	2011-12-11 19:49:11.000000000 +0100
+++ gst-plugins-bad-0.10.23.patched/ext/directfb/dfb-example.c	2013-01-07 21:40:07.530369717 +0100
@@ -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;
diff -ur gst-plugins-bad-0.10.23/tests/examples/directfb/gstdfb.c gst-plugins-bad-0.10.23.patched/tests/examples/directfb/gstdfb.c
--- gst-plugins-bad-0.10.23/tests/examples/directfb/gstdfb.c	2013-01-11 13:27:08.558465805 +0100
+++ gst-plugins-bad-0.10.23.patched/tests/examples/directfb/gstdfb.c	2011-12-11 19:49:22.000000000 +0100
@@ -35,8 +35,8 @@
 #include <math.h>
 #include <time.h>
 
+#include <gst/gst.h>
 #include <directfb.h>
-#include <gst/gst.h>
 #include <string.h>
 
 /* macro for a safe call to DirectFB functions */
openSUSE Build Service is sponsored by