[gearmand] Adding patch to fix LP1020778

derks derks at fedoraproject.org
Wed Jul 4 01:23:13 UTC 2012


commit 43f87c97fd704ac996c85599e6d7c5f829a0d4ab
Author: BJ Dierkes <wdierkes at rackspace.com>
Date:   Tue Jul 3 01:03:59 2012 -0500

    Adding patch to fix LP1020778

 gearmand-0.33-lp1020778.patch |   12 ++++++++++++
 gearmand.spec                 |    3 +++
 2 files changed, 15 insertions(+), 0 deletions(-)
---
diff --git a/gearmand-0.33-lp1020778.patch b/gearmand-0.33-lp1020778.patch
new file mode 100644
index 0000000..b030976
--- /dev/null
+++ b/gearmand-0.33-lp1020778.patch
@@ -0,0 +1,12 @@
+https://bugs.launchpad.net/gearmand/+bug/1020778
+
+--- gearmand-0.33/util/logfile.cc.orig	2012-05-03 22:51:48.000000000 -0500
++++ gearmand-0.33/util/logfile.cc	2012-07-03 00:53:10.153381199 -0500
+@@ -49,6 +49,7 @@
+ #include <sstream>
+ #include <sys/stat.h>
+ #include <sys/types.h>
++#include <unistd.h>
+ 
+ namespace datadifferential {
+ namespace util {
diff --git a/gearmand.spec b/gearmand.spec
index df265a7..03da0d5 100644
--- a/gearmand.spec
+++ b/gearmand.spec
@@ -35,6 +35,7 @@ Requires(postun): systemd-units
 #Patch0: gearmand-0.27-lp914495.patch 
 #Patch1: gearmand-0.28-lp932994.patch
 #Patch2: gearmand-0.31-lp978235.patch
+Patch3: gearmand-0.33-lp1020778.patch
 
 %description
 Gearman provides a generic framework to farm out work to other machines
@@ -83,6 +84,7 @@ Development headers for %{name} 1.0.
 %setup -q
 #%%patch1 -p1 -b .lp932994
 #%%patch2 -p1 -b .lp978235
+%patch3 -p1 -b .lp1020778
 
 %build
 %ifarch ppc64 sparc64
@@ -195,6 +197,7 @@ fi
 * Tue Jul 03 2012 BJ Dierkes <wdierkes at rackspace.com> - 0.33-1
 - Latest sources from upstream.  Release notes here:
   https://launchpad.net/gearmand/trunk/0.33
+- Adding Patch3: gearmand-0.33-lp1020778.patch
 
 * Mon Apr 23 2012  Remi Collet <remi at fedoraproject.org> - 0.32-2
 - rebuild against libmemcached.so.10


More information about the scm-commits mailing list