mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
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>
This commit is contained in:
parent
fd8a2cc952
commit
7d62eb8272
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=304761
14
audio/cam/files/patch-cam.c
Normal file
14
audio/cam/files/patch-cam.c
Normal file
@ -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)
|
||||
{
|
Loading…
Reference in New Issue
Block a user