[gearmand] Adding Patch0: https://bugs.launchpad.net/gearmand/+bug/914495

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


commit ee27ea92ca9c069937e019dd2ed1c7cdf4cb6d4c
Author: BJ Dierkes <wdierkes at rackspace.com>
Date:   Thu Jan 12 19:25:39 2012 -0600

    Adding Patch0: https://bugs.launchpad.net/gearmand/+bug/914495

 gearmand-0.27-unistd.patch |   13 +++++++++++++
 gearmand.spec              |    5 +++++
 2 files changed, 18 insertions(+), 0 deletions(-)
---
diff --git a/gearmand-0.27-unistd.patch b/gearmand-0.27-unistd.patch
new file mode 100644
index 0000000..975b01b
--- /dev/null
+++ b/gearmand-0.27-unistd.patch
@@ -0,0 +1,13 @@
+https://bugs.launchpad.net/gearmand/+bug/914495
+
+--- gearmand-0.27/util/instance.cc.orig	2011-10-28 22:33:38.000000000 -0500
++++ gearmand-0.27/util/instance.cc	2012-01-12 19:22:53.937445044 -0600
+@@ -48,7 +48,7 @@
+ #include <sys/socket.h>
+ #include <sys/types.h>
+ #include <netinet/in.h>
+-
++#include <unistd.h>
+ 
+ namespace datadifferential {
+ namespace util {
diff --git a/gearmand.spec b/gearmand.spec
index 29f0b1d..15044d7 100644
--- a/gearmand.spec
+++ b/gearmand.spec
@@ -34,6 +34,9 @@ Requires(post): systemd-units
 Requires(preun): systemd-units
 Requires(postun): systemd-units
 
+Patch0: gearmand-0.27-unistd.patch
+
+
 %description
 Gearman provides a generic framework to farm out work to other machines
 or dispatch function calls to machines that are better suited to do the work.
@@ -79,6 +82,7 @@ Development headers for %{name} 1.0.
 
 %prep
 %setup -q
+%patch -p1 -b gearmand-0.27-unistd.patch
 
 %build
 %ifarch ppc64 sparc64
@@ -191,6 +195,7 @@ fi
 * Tue Jan 10 2012 BJ Dierkes <wdierkes at rackspace.com> - 0.27-1
 - Latest sources from upstream.  Release notes here:
   https://launchpad.net/gearmand/trunk/0.27
+- Added Patch0: gearmand-0.27-unistd.patch.  Resolves LP#914495
  
 * Tue Nov 22 2011 BJ Dierkes <wdierkes at rackspace.com> - 0.25-1
 - Latest sources from upstream.  Release notes here:


More information about the scm-commits mailing list