aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/vdr-plugin-xineliboutput
diff options
context:
space:
mode:
authornox <nox@FreeBSD.org>2013-05-25 21:41:40 +0800
committernox <nox@FreeBSD.org>2013-05-25 21:41:40 +0800
commit9afbbc7e2fb7428856000083484a6807347ae6a9 (patch)
treedb2d5b763b14624a702cd9108e4f0aed0a18e11d /multimedia/vdr-plugin-xineliboutput
parentd0f267dfaebe4b27fc12ef5a525ecc832bb7a4c0 (diff)
downloadfreebsd-ports-gnome-9afbbc7e2fb7428856000083484a6807347ae6a9.tar.gz
freebsd-ports-gnome-9afbbc7e2fb7428856000083484a6807347ae6a9.tar.zst
freebsd-ports-gnome-9afbbc7e2fb7428856000083484a6807347ae6a9.zip
Fix build with recent(?) clang.
Submitted by: pointyhat amd64 10-exprun via miwi
Diffstat (limited to 'multimedia/vdr-plugin-xineliboutput')
-rw-r--r--multimedia/vdr-plugin-xineliboutput/files/patch-clang11
1 files changed, 11 insertions, 0 deletions
diff --git a/multimedia/vdr-plugin-xineliboutput/files/patch-clang b/multimedia/vdr-plugin-xineliboutput/files/patch-clang
index 90fe32f11ec4..2efed807f0b7 100644
--- a/multimedia/vdr-plugin-xineliboutput/files/patch-clang
+++ b/multimedia/vdr-plugin-xineliboutput/files/patch-clang
@@ -1,3 +1,14 @@
+--- 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 @@