svn commit: r304761 - head/audio/cam/files

Raphael Kubo da Costa rakuco at FreeBSD.org
Sun Sep 23 18:35:49 UTC 2012


Author: rakuco
Date: Sun Sep 23 18:35:49 2012
New Revision: 304761
URL: http://svn.freebsd.org/changeset/ports/304761

Log:
  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 at gmail.com>

Added:
  head/audio/cam/files/patch-cam.c   (contents, props changed)

Added: head/audio/cam/files/patch-cam.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/cam/files/patch-cam.c	Sun Sep 23 18:35:49 2012	(r304761)
@@ -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



More information about the svn-ports-all mailing list