summaryrefslogtreecommitdiff
path: root/multimedia/vdr-plugin-xineliboutput/files/patch-clang
blob: 2efed807f0b775f59e26006d448d17ffde296604 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
--- a/Makefile
+++ b/Makefile
@@ -257,7 +257,7 @@ DEPFILE = .dependencies
 $(DEPFILE): Makefile config.mak
 	@rm -f $@
 	@for i in $(OBJS:%.o=%.c) $(OBJS_SXFE:%.o=%.c) $(OBJS_FBFE:%.o=%.c) $(OBJS_XINE:%.o=%.c) ; do \
-	  $(MAKEDEP) $(DEFINES) $(INCLUDES) -MT "`dirname $$i`/`basename $$i .c`.o" $$i >>$@ ; \
+	  $(MAKEDEP) $(DEFINES) $(INCLUDES) $(CFLAGS_X11) -MT "`dirname $$i`/`basename $$i .c`.o" $$i >>$@ ; \
 	done
 
 -include $(DEPFILE)
--- a/xine_post_autocrop.c
+++ b/xine_post_autocrop.c
@@ -42,6 +42,7 @@
  */
 
 
+#include <stddef.h>
 #include <stdint.h>
 
 #include <xine/xine_internal.h>
--- a/xine_post_swscale.c
+++ b/xine_post_swscale.c
@@ -37,6 +37,8 @@
  *    - Fixed yv12 stretched warp tables generation
  */
 
+#include <stddef.h>
+
 #include <xine/xine_internal.h>
 #include <xine/post.h>
 #include <float.h>  /* DBL_MIN */
--- a/xine_post_audiochannel.c
+++ b/xine_post_audiochannel.c
@@ -39,6 +39,8 @@
  *
  */
 
+#include <stddef.h>
+
 #include <xine/xine_internal.h>
 #include <xine/post.h>