summaryrefslogtreecommitdiff
path: root/audio/cam
diff options
context:
space:
mode:
authorRaphael Kubo da Costa <rakuco@FreeBSD.org>2012-09-23 18:35:49 +0000
committerRaphael Kubo da Costa <rakuco@FreeBSD.org>2012-09-23 18:35:49 +0000
commit7d62eb827223e4c8e44f9fc6809e46d8bccc7467 (patch)
tree500106e8a57a2930f866ee4463ff9f7140c567e5 /audio/cam
parentSpell "Created by" correctly... (diff)
Fix the build with clang 3.0 from 9.0-RELEASE.
See [1] for the build log, more recent clang versions already work fine. [1] http://pointyhat-west.isc.freebsd.org/errorlogs/amd64-errorlogs/e.9-exp-clang.20120902011351.pointyhat-west/cam-1.02.log PR: ports/171266 Submitted by: Pawel Worach <pawel.worach@gmail.com>
Notes
Notes: svn path=/head/; revision=304761
Diffstat (limited to 'audio/cam')
-rw-r--r--audio/cam/files/patch-cam.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/audio/cam/files/patch-cam.c b/audio/cam/files/patch-cam.c
new file mode 100644
index 000000000000..f7dbda004b4e
--- /dev/null
+++ b/audio/cam/files/patch-cam.c
@@ -0,0 +1,14 @@
+--- cam.c.orig 2012-09-03 00:31:15.000000000 +0200
++++ cam.c 2012-09-03 00:31:42.000000000 +0200
+@@ -24,9 +24,10 @@
+
+
+
++#include <stdlib.h>
+ #include "cam.h"
+
+-void main(int argc, char *argv[])
++int main(int argc, char *argv[])
+ {
+ if (argc == 1)
+ { \ No newline at end of file