Gentoo Archives: gentoo-commits

From: "Diego Petteno (flameeyes)" <flameeyes@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-cluster/gearmand/files: gearmand-0.33+gcc-4.7.patch
Date: Thu, 21 Jun 2012 14:43:44
Message-Id: 20120621144330.64CD52004C@flycatcher.gentoo.org
flameeyes    12/06/21 14:43:30

  Added:                gearmand-0.33+gcc-4.7.patch
  Log:
  Add patch to fix building with GCC 4.7 (fix bug #422553).
  
  (Portage version: 2.2.0_alpha110/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  sys-cluster/gearmand/files/gearmand-0.33+gcc-4.7.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/gearmand/files/gearmand-0.33+gcc-4.7.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/gearmand/files/gearmand-0.33+gcc-4.7.patch?rev=1.1&content-type=text/plain

Index: gearmand-0.33+gcc-4.7.patch
===================================================================
Index: gearmand-0.33/util/logfile.cc
===================================================================
--- gearmand-0.33.orig/util/logfile.cc
+++ gearmand-0.33/util/logfile.cc
@@ -49,6 +49,7 @@
 #include <sstream>
 #include <sys/stat.h>
 #include <sys/types.h>
+#include <unistd.h>
 
 namespace datadifferential {
 namespace util {