also patch util/pidfile.cc
This commit is contained in:
parent
a2ede6bbc0
commit
bcebef9918
|
@ -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" {
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue