Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Sep 2013 18:08:03 +0000 (UTC)
From:      Ed Schouten <ed@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r327310 - head/multimedia/libxspf/files
Message-ID:  <201309141808.r8EI83GU082929@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309141808.r8EI83GU082929>