aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Rees <crees@FreeBSD.org>2013-05-18 17:10:10 +0000
committerChris Rees <crees@FreeBSD.org>2013-05-18 17:10:10 +0000
commit83c57c8fea39e9305d541eb75378da8008136bb9 (patch)
tree224b327e03fc97f43118c357b668a46738ae7715
parent9d93f72dea8b4b2d334ba7cc25e5abbb84d7f3f3 (diff)
downloadports-83c57c8fea39e9305d541eb75378da8008136bb9.tar.gz
ports-83c57c8fea39e9305d541eb75378da8008136bb9.zip
Build with clang once more; fix a void return from int function.
Not that the result is ever checked... but never mind about that. Reviewed by: Silence on multimedia@
Notes
Notes: svn path=/head/; revision=318435
-rw-r--r--audio/grip/files/patch-src-gripcfg.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/audio/grip/files/patch-src-gripcfg.c b/audio/grip/files/patch-src-gripcfg.c
new file mode 100644
index 000000000000..37e138ce304d
--- /dev/null
+++ b/audio/grip/files/patch-src-gripcfg.c
@@ -0,0 +1,11 @@
+--- src/gripcfg.c.orig 2013-05-12 21:29:57.498271858 +0100
++++ src/gripcfg.c 2013-05-12 21:30:09.109272899 +0100
+@@ -791,7 +791,7 @@
+ };
+
+ #ifdef CDPAR
+- if(ripcfg==0) return;
++ if(ripcfg==0) return (0);
+ #endif
+
+ sprintf(buf,"%s/%s-%s",getenv("HOME"),ginfo->config_filename,