[gearmand] also patch util/pidfile.cc

derks derks at fedoraproject.org
Fri Jan 13 03:09:59 UTC 2012


commit bcebef9918863f02b8a9e3644a126328cce2180f
Author: BJ Dierkes <wdierkes at rackspace.com>
Date:   Thu Jan 12 20:43:34 2012 -0600

    also patch util/pidfile.cc

 gearmand-0.27-lp914495.patch |   10 ++++++++++
 gearmand.spec                |    2 +-
 2 files changed, 11 insertions(+), 1 deletions(-)
---
diff --git a/gearmand-0.27-lp914495.patch b/gearmand-0.27-lp914495.patch
index 2011df6..882c9f2 100644
--- a/gearmand-0.27-lp914495.patch
+++ b/gearmand-0.27-lp914495.patch
@@ -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" {
+ 
diff --git a/gearmand.spec b/gearmand.spec
index 52efb5c..eb38be0 100644
--- a/gearmand.spec
+++ b/gearmand.spec
@@ -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


More information about the scm-commits mailing list