gst-plugins-bad010/gst-plugins-bad010-0.10.23-fix_build_of_directfb_plugin.patch

26 lines
910 B
Diff

diff -Nru gst-plugins-bad-0.10.23.orig/ext/directfb/dfb-example.c gst-plugins-bad-0.10.23/ext/directfb/dfb-example.c
--- gst-plugins-bad-0.10.23.orig/ext/directfb/dfb-example.c 2011-12-11 19:49:11.000000000 +0100
+++ gst-plugins-bad-0.10.23/ext/directfb/dfb-example.c 2014-04-30 00:32:19.318755570 +0200
@@ -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;
--- gst-plugins-bad-0.10.23.orig/tests/examples/directfb/gstdfb.c 2011-12-11 19:49:22.000000000 +0100
+++ gst-plugins-bad-0.10.23/tests/examples/directfb/gstdfb.c 2014-04-30 01:10:11.610391084 +0200
@@ -35,9 +35,9 @@
#include <math.h>
#include <time.h>
-#include <directfb.h>
#include <gst/gst.h>
#include <string.h>
+#include <directfb.h>
/* macro for a safe call to DirectFB functions */
#define DFBCHECK(x...) \