svn commit: r327310 - head/multimedia/libxspf/files

Ed Schouten ed at FreeBSD.org
Sat Sep 14 18:08:03 UTC 2013


Author: ed (src committer)
Date: Sat Sep 14 18:08:03 2013
New Revision: 327310
URL: http://svnweb.freebsd.org/changeset/ports/327310

Log:
  Unbreak libxspf on HEAD.
  
  Unlike libstdc++, libc++ does not leak <unistd.h> into the <c*> headers
  that examples/read/read.cpp includes. This means that we need to
  explicitly include <unistd.h> to get getcwd().

Added:
  head/multimedia/libxspf/files/
  head/multimedia/libxspf/files/patch-examples-read-read.cpp   (contents, props changed)

Added: head/multimedia/libxspf/files/patch-examples-read-read.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/multimedia/libxspf/files/patch-examples-read-read.cpp	Sat Sep 14 18:08:03 2013	(r327310)
@@ -0,0 +1,10 @@
+--- examples/read/read.cpp
++++ examples/read/read.cpp
+@@ -43,6 +43,7 @@
+ #include <cstdio>
+ #include <cstdlib> // MAX_PATH
+ #include <climits> // PATH_MAX
++#include <unistd.h> // getcwd
+ 
+ 
+ #if defined(__WIN32__) || defined(WIN32)


More information about the svn-ports-all mailing list