Gentoo Archives: gentoo-commits

From: "Tim Harder (radhermit)" <radhermit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-sound/ardour/files: ardour-2.8.12-gcc47.patch
Date: Thu, 31 May 2012 15:14:01
Message-Id: 20120531151342.570D72004C@flycatcher.gentoo.org
radhermit    12/05/31 15:13:42

  Added:                ardour-2.8.12-gcc47.patch
  Log:
  Fix build with gcc-4.7 (bug #414145 by David Kredba).
  
  (Portage version: 2.2.0_alpha108/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  media-sound/ardour/files/ardour-2.8.12-gcc47.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/ardour/files/ardour-2.8.12-gcc47.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/ardour/files/ardour-2.8.12-gcc47.patch?rev=1.1&content-type=text/plain

Index: ardour-2.8.12-gcc47.patch
===================================================================
--- ardour-2.8.12/libs/pbd/path.cc
+++ ardour-2.8.12/libs/pbd/path.cc
@@ -17,6 +17,7 @@
 */
 
 #include <cerrno>
+#include <unistd.h>
 
 #include <glib.h>
 #include <glib/gstdio.h>