aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fm/tdfsb
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-05-04 04:59:32 +0800
committerbapt <bapt@FreeBSD.org>2013-05-04 04:59:32 +0800
commit09d066028058e99cbc4bdc0e30dc58493cf92951 (patch)
tree892eb24cb959a7b757045eb3ac5b368ccaedc57f /x11-fm/tdfsb
parentf59151c985452ca49adc03400a901e7e9acee10d (diff)
downloadfreebsd-ports-gnome-09d066028058e99cbc4bdc0e30dc58493cf92951.tar.gz
freebsd-ports-gnome-09d066028058e99cbc4bdc0e30dc58493cf92951.tar.zst
freebsd-ports-gnome-09d066028058e99cbc4bdc0e30dc58493cf92951.zip
Fix build with clang
Diffstat (limited to 'x11-fm/tdfsb')
-rw-r--r--x11-fm/tdfsb/files/patch-tdfsb.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/x11-fm/tdfsb/files/patch-tdfsb.c b/x11-fm/tdfsb/files/patch-tdfsb.c
new file mode 100644
index 000000000000..9796e3f42d7e
--- /dev/null
+++ b/x11-fm/tdfsb/files/patch-tdfsb.c
@@ -0,0 +1,11 @@
+--- ./tdfsb.c.orig 2007-06-22 14:43:02.000000000 +0200
++++ ./tdfsb.c 2013-05-03 22:58:48.944863278 +0200
+@@ -2795,7 +2795,7 @@
+ {
+ strcpy(TDFSB_CURRENTPATH,temp_trunc);
+ TDFSB_FUNC_IDLE=nullDisplay; TDFSB_FUNC_DISP=noDisplay;
+- return;
++ return(0);
+ }
+ TDFSB_FUNC_IDLE=nullDisplay;
+ TDFSB_FUNC_DISP=noDisplay;