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
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')
-rw-r--r--net-irc/ezbounce/ChangeLog8
-rw-r--r--net-irc/ezbounce/Manifest11
-rw-r--r--net-irc/ezbounce/ezbounce-1.99.14.ebuild15
-rw-r--r--net-irc/ezbounce/files/ezbounce-1.99.14-build.patch34
4 files changed, 57 insertions, 11 deletions
diff --git a/net-irc/ezbounce/ChangeLog b/net-irc/ezbounce/ChangeLog
index 6caefc6540b1..e745f2ab4e21 100644
--- a/net-irc/ezbounce/ChangeLog
+++ b/net-irc/ezbounce/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-irc/ezbounce
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-irc/ezbounce/ChangeLog,v 1.16 2008/08/23 01:13:11 cardoe Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-irc/ezbounce/ChangeLog,v 1.17 2009/01/14 03:59:50 vapier Exp $
+
+ 14 Jan 2009; Mike Frysinger <vapier@gentoo.org>
+ +files/ezbounce-1.99.14-build.patch, ezbounce-1.99.14.ebuild:
+ Fix building with glibc-2.8 #251445 by Diego E. Pettenò.
23 Aug 2008; Doug Goldstein <cardoe@gentoo.org> metadata.xml:
add GLEP 56 USE flag desc from use.local.desc
diff --git a/net-irc/ezbounce/Manifest b/net-irc/ezbounce/Manifest
index 21ea91d62e71..8e87391a4874 100644
--- a/net-irc/ezbounce/Manifest
+++ b/net-irc/ezbounce/Manifest
@@ -1,16 +1,17 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
+AUX ezbounce-1.99.14-build.patch 785 RMD160 c5107e8c22d68749a827d1963b74cbd7b5dc8655 SHA1 be9ed599b612a0f03a6eacf0ac0f3d67292a41d6 SHA256 d2c0f7fbe0c83bd0644c8cc80382b065c65e217307699eecbf2b3a8cdd21b6ae
DIST ezbounce-1.04c.tar.gz 192630 RMD160 b5c35757a5b6cfab26177f3dcadd3aa0d1e3caac SHA1 9770609f4575a6e09173d2132f2a66f536956a86 SHA256 5be7b903e3682aee9d1758f60957486e4aa08da717fc763caab1415454eaebd8
DIST ezbounce-1.99.14.tar.gz 428628 RMD160 275ac1a18264a3d302d9086bdbfcf6df86acb6b1 SHA1 1dda6ca2a20f1f3b83c1268c919b55fb8f86f2f3 SHA256 44d0ae05340c5ca5f8936a7990d119d98f3806e5550c6c5fe9d9cf7d0e1287ca
EBUILD ezbounce-1.04c.ebuild 749 RMD160 ce942fac6a80b2ec5a7fd2a7f1c96701ba8530ed SHA1 c75e79fc9e57290df64bf19bfd05359b76fe34a1 SHA256 6af842f6a81f40def8d36d8f5db1480bc16750f45f0cdcf3e132d1037bd10e2a
-EBUILD ezbounce-1.99.14.ebuild 826 RMD160 c11a7b91c805c44d2e7be4e196494afef46ac6e1 SHA1 7629a8400a187c0cf6ff071a8793ff7694b9a163 SHA256 97cf9a304d036a3edf3b1ed51dad7291de9e09ee3164465e48240c6b9209b9ad
-MISC ChangeLog 1433 RMD160 4b10eb6bf9333af6dae4697d79137fad3d735ac6 SHA1 d7e322cf42761f918bbdcb5be6f291519ff86b5f SHA256 bc9101a72e3ebb2a8bae9c40e5a4d4db2ddcb97a9d59f5c5dfa644bb8cacc068
+EBUILD ezbounce-1.99.14.ebuild 906 RMD160 06befb2365ee01975dd79733687e98a32c4cb8eb SHA1 0ba706e36723b2c98f7ab4706f10839a5e526099 SHA256 8f299b5f2cde513df37c301492f21620c665fa70b1a4aacb513ce3fe90137061
+MISC ChangeLog 1608 RMD160 7bed4bda72c534ca8dd6cda682cfda0a9d5aa155 SHA1 0cfeaa529669443d87ed177d389d2216b9c1d300 SHA256 33d7249716027b1c8e98372bc9aa9d9a62ff7372734b110fab1ddc70f7760c67
MISC metadata.xml 254 RMD160 2a8464f6a5044c49a0c78798d48f379e54331998 SHA1 6922488c7fe583e4b73a0ca4cd6cb0c376d49671 SHA256 2ca67534860e9030ee74b603ddaeebfca9b4fcfdb0c362810393a9bcee697e53
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
-iEYEARECAAYFAkivZCwACgkQoeSe8B0zEfyyLwCfXa8sGz/vBPjQk5txAglrd6A+
-pFoAmgOvOrfDHii38X7uyiMdLqsl8suw
-=kD45
+iEYEARECAAYFAkltYzwACgkQn/5bYzqsSmGWsQCfffV+zDF224bZoC6vjRuh6qCd
+icIAn2zcxFcdbt4Bti7/tddRYzzEGBOy
+=sf7U
-----END PGP SIGNATURE-----
diff --git a/net-irc/ezbounce/ezbounce-1.99.14.ebuild b/net-irc/ezbounce/ezbounce-1.99.14.ebuild
index 59576f959957..528697377f70 100644
--- a/net-irc/ezbounce/ezbounce-1.99.14.ebuild
+++ b/net-irc/ezbounce/ezbounce-1.99.14.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-irc/ezbounce/ezbounce-1.99.14.ebuild,v 1.1 2008/06/06 09:30:45 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-irc/ezbounce/ezbounce-1.99.14.ebuild,v 1.2 2009/01/14 03:59:50 vapier Exp $
inherit eutils
-DESCRIPTION="ezbounce is a small IRC bouncer"
+DESCRIPTION="a small IRC bouncer"
HOMEPAGE="http://www.linuxftw.com/ezbounce/"
SRC_URI="http://www.linuxftw.com/${PN}/files/${P}.tar.gz"
@@ -18,8 +18,15 @@ DEPEND=">=net-misc/mdidentd-1.04c
ssl? ( dev-libs/openssl )
boost? ( dev-libs/boost )"
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-build.patch #251445
+}
+
src_compile() {
- econf $(use_with ssl) \
+ econf \
+ $(use_with ssl) \
$(use_with boost) \
|| die
emake CXX_OPTIMIZATIONS="${CXXFLAGS}" || die
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);