also patch util/pidfile.cc

This commit is contained in:
BJ Dierkes 2012-01-12 20:43:34 -06:00
parent a2ede6bbc0
commit bcebef9918
2 changed files with 11 additions and 1 deletions

View File

@ -10,3 +10,13 @@ https://bugs.launchpad.net/gearmand/+bug/914495
namespace datadifferential {
--- gearmand-0.27/util/pidfile.cc.orig 2011-09-26 23:59:09.000000000 -0500
+++ gearmand-0.27/util/pidfile.cc 2012-01-12 20:42:49.747797880 -0600
@@ -48,6 +48,7 @@
#include <sstream>
#include <sys/stat.h>
#include <sys/types.h>
+#include <unistd.h>
extern "C" {

View File

@ -81,7 +81,7 @@ Development headers for %{name} 1.0.
%prep
%setup -q
%patch1 -p1 -b .lp914495
%patch0 -p1 -b .lp914495
%build
%ifarch ppc64 sparc64