aboutsummaryrefslogtreecommitdiffstats
path: root/x11/sisctrl
diff options
context:
space:
mode:
authorbland <bland@FreeBSD.org>2013-09-18 22:16:41 +0800
committerbland <bland@FreeBSD.org>2013-09-18 22:16:41 +0800
commit1fc20fbd52934231935713813e0767c427723e97 (patch)
treea64e560cf57e50eee9e6f0e61161680885b93be4 /x11/sisctrl
parenta662dbe5a8383f6cbe583a3841dc8b42be9f8f66 (diff)
downloadfreebsd-ports-gnome-1fc20fbd52934231935713813e0767c427723e97.tar.gz
freebsd-ports-gnome-1fc20fbd52934231935713813e0767c427723e97.tar.zst
freebsd-ports-gnome-1fc20fbd52934231935713813e0767c427723e97.zip
Fix build with clang.
Diffstat (limited to 'x11/sisctrl')
-rw-r--r--x11/sisctrl/files/patch-src__sisctrl_gui.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/x11/sisctrl/files/patch-src__sisctrl_gui.c b/x11/sisctrl/files/patch-src__sisctrl_gui.c
new file mode 100644
index 000000000000..a92fb1424fd0
--- /dev/null
+++ b/x11/sisctrl/files/patch-src__sisctrl_gui.c
@@ -0,0 +1,13 @@
+--- src/sisctrl_gui.c.orig 2013-09-05 22:15:13.000000000 +0900
++++ src/sisctrl_gui.c 2013-09-05 22:16:07.000000000 +0900
+@@ -5885,8 +5885,8 @@
+ {
+ /*fprintf(stderr, "conf\n");*/
+ if(gl.noxvdemo) return TRUE;
+- if(gui.notebook_page != SIS_PAGE_VIDEO) return;
+- if(!gui.xvwin) return;
++ if(gui.notebook_page != SIS_PAGE_VIDEO) return TRUE;
++ if(!gui.xvwin) return TRUE;
+ if(!gui.xvinit) return TRUE;
+ resizexvwindow();
+ showxvimage();