Date: Thu, 12 Sep 2013 21:53:45 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r327113 - head/audio/libofa/files Message-ID: <201309122153.r8CLrjHs041825@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bapt Date: Thu Sep 12 21:53:45 2013 New Revision: 327113 URL: http://svnweb.freebsd.org/changeset/ports/327113 Log: Fix build with libc++ Submitted by: Gustau Perez (gusi via #poudriere on freenode) Added: head/audio/libofa/files/patch-examples_uselame.cpp (contents, props changed) head/audio/libofa/files/patch-examples_wavefile.cpp (contents, props changed) Added: head/audio/libofa/files/patch-examples_uselame.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/libofa/files/patch-examples_uselame.cpp Thu Sep 12 21:53:45 2013 (r327113) @@ -0,0 +1,10 @@ +--- examples/uselame.cpp.orig 2013-09-12 09:10:31.000000000 +0000 ++++ examples/uselame.cpp 2013-09-12 09:10:42.000000000 +0000 +@@ -12,6 +12,7 @@ + #else + #include <sys/wait.h> + #endif ++#include <unistd.h> + + AudioData *loadWaveFile(char *file); + Added: head/audio/libofa/files/patch-examples_wavefile.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/libofa/files/patch-examples_wavefile.cpp Thu Sep 12 21:53:45 2013 (r327113) @@ -0,0 +1,11 @@ +--- examples/wavefile.cpp.orig 2013-09-12 08:58:25.000000000 +0000 ++++ examples/wavefile.cpp 2013-09-12 08:58:31.000000000 +0000 +@@ -11,6 +11,8 @@ + #include "io.h" + #endif + #include <fcntl.h> ++#include <sys/types.h> ++#include <unistd.h> + + static bool readBytes(int fd, unsigned char *buf, int size) { + int ct = 0;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309122153.r8CLrjHs041825>