summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2012-06-21 14:43:30 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2012-06-21 14:43:30 +0000
commit01e9171e4f686ef6e25b37f7b154f4b6a1fd1d70 (patch)
treed403b9eafe6ba432d7e4a3a77da4dd579374e038 /sys-cluster/gearmand/files
parentStable for amd64, wrt bug #412947 (diff)
downloadgentoo-2-01e9171e4f686ef6e25b37f7b154f4b6a1fd1d70.tar.gz
gentoo-2-01e9171e4f686ef6e25b37f7b154f4b6a1fd1d70.tar.bz2
gentoo-2-01e9171e4f686ef6e25b37f7b154f4b6a1fd1d70.zip
Add patch to fix building with GCC 4.7 (fix bug #422553).
(Portage version: 2.2.0_alpha110/cvs/Linux x86_64)
Diffstat (limited to 'sys-cluster/gearmand/files')
-rw-r--r--sys-cluster/gearmand/files/gearmand-0.33+gcc-4.7.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/sys-cluster/gearmand/files/gearmand-0.33+gcc-4.7.patch b/sys-cluster/gearmand/files/gearmand-0.33+gcc-4.7.patch
new file mode 100644
index 000000000000..459952313d99
--- /dev/null
+++ b/sys-cluster/gearmand/files/gearmand-0.33+gcc-4.7.patch
@@ -0,0 +1,12 @@
+Index: gearmand-0.33/util/logfile.cc
+===================================================================
+--- gearmand-0.33.orig/util/logfile.cc
++++ gearmand-0.33/util/logfile.cc
+@@ -49,6 +49,7 @@
+ #include <sstream>
+ #include <sys/stat.h>
+ #include <sys/types.h>
++#include <unistd.h>
+
+ namespace datadifferential {
+ namespace util {