From d39f2cf7850b71b1a4d822a9412acaa3250cb197 Mon Sep 17 00:00:00 2001 From: Sven Wegener Date: Sun, 15 Jun 2008 18:39:46 +0000 Subject: Add glibc-2.8 compability patch. Package-Manager: portage-2.1.5.5 --- net-ftp/tnftp/ChangeLog | 6 +++++- net-ftp/tnftp/Manifest | 13 +++++++------ .../files/tnftp-20070806-glibc-2.8-ARG_MAX.patch | 22 ++++++++++++++++++++++ net-ftp/tnftp/tnftp-20070806.ebuild | 3 ++- 4 files changed, 36 insertions(+), 8 deletions(-) create mode 100644 net-ftp/tnftp/files/tnftp-20070806-glibc-2.8-ARG_MAX.patch (limited to 'net-ftp') diff --git a/net-ftp/tnftp/ChangeLog b/net-ftp/tnftp/ChangeLog index ff2412c523af..5effe8d4c9c8 100644 --- a/net-ftp/tnftp/ChangeLog +++ b/net-ftp/tnftp/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-ftp/tnftp # Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-ftp/tnftp/ChangeLog,v 1.30 2008/05/12 15:53:34 maekke Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-ftp/tnftp/ChangeLog,v 1.31 2008/06/15 18:39:45 swegener Exp $ + + 15 Jun 2008; Sven Wegener + +files/tnftp-20070806-glibc-2.8-ARG_MAX.patch, tnftp-20070806.ebuild: + Add glibc-2.8 compability patch. 12 May 2008; Markus Meier tnftp-20070806.ebuild: amd64 stable, bug #215491 diff --git a/net-ftp/tnftp/Manifest b/net-ftp/tnftp/Manifest index e4b707e9e303..8f3b5bab8600 100644 --- a/net-ftp/tnftp/Manifest +++ b/net-ftp/tnftp/Manifest @@ -1,15 +1,16 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 +AUX tnftp-20070806-glibc-2.8-ARG_MAX.patch 588 RMD160 10ffe49113f787091ae9e13f0014ff03859f508e SHA1 cc3a3ca0f7ea615402a138f5185c3ae3bd3559b5 SHA256 70a98095bf08995215ca17cd2ee986fd08d96eb6e3d1f7a3059dd30399dc049a AUX tnftp-20070806-libedit.patch 792 RMD160 70f2d65251b2d92a5dfc3f99bd612bb44c2aa5a9 SHA1 a008b2604288c4a00c2e7c39e41777fe1820116f SHA256 c323bf381e5bd9f128114bc9bd7722bc950f5e42e59030162d03cb2da62430ab DIST tnftp-20070806.tar.gz 371223 RMD160 f70a9de5c87736aa98693a1808be5db76cdc97b0 SHA1 b6dad820e71412bd52f2c4a4ccaa7a2b62c3a22f SHA256 ee0d6c77a74bcb5edf904a7ea97bb9c023007c76bc741f22dc197b9938372a87 -EBUILD tnftp-20070806.ebuild 1124 RMD160 17fa96509a6c79aec5bddf0e8eab6f78307e4597 SHA1 1147ef419e69dde31446db6709357944c831c193 SHA256 6c1a9a33e76e1f4a8d599d6a26b3ad1aba22f98c316425502eff47d742f13a5d -MISC ChangeLog 4047 RMD160 83063fc601e768fad4940abf86225047b03f0339 SHA1 cf020315b7aaf57206f282ed0880ef511531419d SHA256 ac618dfc481f0f97961fafd96e6cfccf29959abb0de4dca7a65d03fb27e5ed53 +EBUILD tnftp-20070806.ebuild 1177 RMD160 07c6086df9f3cb2a6ffa6c188b87c79fdf79e3fb SHA1 b2117e58d027ad034a02da8fb2557bdc30931bca SHA256 9a553af7af4a6145111d32bca51937f22c09902e1730c436116e4f4944708cc8 +MISC ChangeLog 4207 RMD160 1ffad606f90c074090a85bde4ff89603d09ff435 SHA1 ce9ad76dc3078ba070283e36c977f40afdb2f62e SHA256 21490d9df02a467b1f4586ed91d9367f980c05db3fd79d1ccc4b16473b216e19 MISC metadata.xml 298 RMD160 60625e202ed0ef00f82e7d7e5bf05b4412526f36 SHA1 a51489bc5de3f67a0183720f9425adb2cba0e3ef SHA256 fa6086e7352367eeb9b96d059ab58bca3bd6fde533180cd5551280c808535fc9 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.9 (GNU/Linux) +Version: GnuPG v2.0.7 (GNU/Linux) -iEYEARECAAYFAkgoaC0ACgkQkKaRLQcq0GKa9gCglLfT/+dU/Twi+8JroOruWZsc -wOMAoITfK05QKJNjSOTM7n5yH+6tZwH0 -=e0+E +iD8DBQFIVWH3I1lqEGTUzyQRAkGKAJ0Q7SoUsoxVAy0WOkCkh4vybgqHbACfRp5h +ra1F7L5wDrNpd8kDc69t4GU= +=M6ut -----END PGP SIGNATURE----- diff --git a/net-ftp/tnftp/files/tnftp-20070806-glibc-2.8-ARG_MAX.patch b/net-ftp/tnftp/files/tnftp-20070806-glibc-2.8-ARG_MAX.patch new file mode 100644 index 000000000000..e21acf646853 --- /dev/null +++ b/net-ftp/tnftp/files/tnftp-20070806-glibc-2.8-ARG_MAX.patch @@ -0,0 +1,22 @@ +glibc-2.8 no loner provides the ARG_MAX macro. + +--- tnftp-20070806/libnetbsd/glob.c ++++ tnftp-20070806/libnetbsd/glob.c +@@ -55,6 +55,8 @@ + * Number of matches in the current invocation of glob. + */ + ++#include ++ + #include "tnftp.h" + + #undef TILDE /* XXX: AIX 4.1.5 has this in */ +@@ -720,7 +722,7 @@ + } + pathv[pglob->gl_offs + pglob->gl_pathc] = NULL; + +- if ((pglob->gl_flags & GLOB_LIMIT) && (newsize + *limit) >= ARG_MAX) { ++ if ((pglob->gl_flags & GLOB_LIMIT) && (newsize + *limit) >= sysconf(_SC_ARG_MAX)) { + errno = 0; + return(GLOB_NOSPACE); + } diff --git a/net-ftp/tnftp/tnftp-20070806.ebuild b/net-ftp/tnftp/tnftp-20070806.ebuild index 986b5ea9edd3..88cb5d1a120a 100644 --- a/net-ftp/tnftp/tnftp-20070806.ebuild +++ b/net-ftp/tnftp/tnftp-20070806.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-ftp/tnftp/tnftp-20070806.ebuild,v 1.6 2008/05/12 15:53:34 maekke Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-ftp/tnftp/tnftp-20070806.ebuild,v 1.7 2008/06/15 18:39:45 swegener Exp $ WANT_AUTOCONF="2.5" WANT_AUTOMAKE="none" @@ -26,6 +26,7 @@ src_unpack() { cd "${S}" epatch "${FILESDIR}"/${P}-libedit.patch + epatch "${FILESDIR}"/${P}-glibc-2.8-ARG_MAX.patch eautoconf } -- cgit v1.2.3-65-gdbad