summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-01-14 03:59:50 +0000
committerMike Frysinger <vapier@gentoo.org>2009-01-14 03:59:50 +0000
commitd86aa808f5d13e61ab75f48c3823ca24539b4dc4 (patch)
tree2bf45a08f5987fd9d3d98584de53b0e0db66c314 /net-irc/ezbounce/files
parentFix building with newer glibc #248100 by Diego E. Pettenò. (diff)
downloadhistorical-d86aa808f5d13e61ab75f48c3823ca24539b4dc4.tar.gz
historical-d86aa808f5d13e61ab75f48c3823ca24539b4dc4.tar.bz2
historical-d86aa808f5d13e61ab75f48c3823ca24539b4dc4.zip
Fix building with glibc-2.8 #251445 by Diego E. Pettenò.
Package-Manager: portage-2.2_rc20/cvs/Linux 2.6.28 x86_64
Diffstat (limited to 'net-irc/ezbounce/files')
-rw-r--r--net-irc/ezbounce/files/ezbounce-1.99.14-build.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/net-irc/ezbounce/files/ezbounce-1.99.14-build.patch b/net-irc/ezbounce/files/ezbounce-1.99.14-build.patch
new file mode 100644
index 000000000000..7998fe335e6b
--- /dev/null
+++ b/net-irc/ezbounce/files/ezbounce-1.99.14-build.patch
@@ -0,0 +1,34 @@
+http://bugs.gentoo.org/251445
+
+--- include/fs/file_system.h
++++ include/fs/file_system.h
+@@ -12,6 +12,7 @@
+
+ #include <vector>
+ #include <cstring>
++#include <limits.h>
+ #include "util/hash.h"
+ #include "fs/fwd.h"
+ #include "fs/entry_data.h"
+--- src/io/filters.cc
++++ src/io/filters.cc
+@@ -10,6 +10,8 @@
+
+ #include "autoconf.h"
+
++#include <cstring>
++
+ #include "io/filters.h"
+ #include "debug.h"
+
+--- src/main.cc
++++ src/main.cc
+@@ -191,7 +191,7 @@
+ /* Write out pid-file if needed */
+ const string& pidfile = proxy->config().get<string>(proxy_config::PID_FILE);
+ if (!pidfile.empty()) {
+- int f = open(pidfile.c_str(), O_CREAT | O_WRONLY);
++ int f = open(pidfile.c_str(), O_CREAT | O_WRONLY, 0644);
+ io::fdprintf(f, "%d", getpid());
+ fchmod(f, 0644);
+ close(f);