diff options
author | rakuco <rakuco@FreeBSD.org> | 2012-09-24 02:35:49 +0800 |
---|---|---|
committer | rakuco <rakuco@FreeBSD.org> | 2012-09-24 02:35:49 +0800 |
commit | 5d0ccf80b2ab11856114f77aa5c090e385ea425b (patch) | |
tree | 500106e8a57a2930f866ee4463ff9f7140c567e5 /audio | |
parent | e6274fc48b58eea02687e4cf9a45ecc3d1cd49eb (diff) | |
download | freebsd-ports-gnome-5d0ccf80b2ab11856114f77aa5c090e385ea425b.tar.gz freebsd-ports-gnome-5d0ccf80b2ab11856114f77aa5c090e385ea425b.tar.zst freebsd-ports-gnome-5d0ccf80b2ab11856114f77aa5c090e385ea425b.zip |
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>
Diffstat (limited to 'audio')
-rw-r--r-- | audio/cam/files/patch-cam.c | 14 |
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 |