diff options
author | Tom Martin <slarti@gentoo.org> | 2004-08-09 22:46:23 +0000 |
---|---|---|
committer | Tom Martin <slarti@gentoo.org> | 2004-08-09 22:46:23 +0000 |
commit | 3aa270530a10138c7b31560132a4ab0587d9829e (patch) | |
tree | e6af4d76b597f7178be713d1cdefa29e303ddeae /net-ftp/weex | |
parent | Added a patch for the /proc/cmdline leak vulnerability; bug #59905. (Manifest... (diff) | |
download | gentoo-2-3aa270530a10138c7b31560132a4ab0587d9829e.tar.gz gentoo-2-3aa270530a10138c7b31560132a4ab0587d9829e.tar.bz2 gentoo-2-3aa270530a10138c7b31560132a4ab0587d9829e.zip |
Added va_list patch, thanks Kugelfang. Marked ~amd64.
Diffstat (limited to 'net-ftp/weex')
-rw-r--r-- | net-ftp/weex/ChangeLog | 6 | ||||
-rw-r--r-- | net-ftp/weex/files/weex-2.6.1.5-va_list.patch | 23 | ||||
-rw-r--r-- | net-ftp/weex/weex-2.6.1.5.ebuild | 12 |
3 files changed, 38 insertions, 3 deletions
diff --git a/net-ftp/weex/ChangeLog b/net-ftp/weex/ChangeLog index 54d0e442e613..c64c034cb37e 100644 --- a/net-ftp/weex/ChangeLog +++ b/net-ftp/weex/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-ftp/weex # Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-ftp/weex/ChangeLog,v 1.4 2004/06/24 22:48:28 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-ftp/weex/ChangeLog,v 1.5 2004/08/09 22:46:23 slarti Exp $ + + 09 Aug 2004; Tom Martin <slarti@gentoo.org> weex-2.6.1.5.ebuild: + Added va_list patch to allow compilation on amd64, patch courtesy of Kugelfang + <kugelfang@gentoo.org>. Marked ~amd64. *weex-2.6.1.5 (22 Mar 2004) diff --git a/net-ftp/weex/files/weex-2.6.1.5-va_list.patch b/net-ftp/weex/files/weex-2.6.1.5-va_list.patch new file mode 100644 index 000000000000..70b3ebcdd832 --- /dev/null +++ b/net-ftp/weex/files/weex-2.6.1.5-va_list.patch @@ -0,0 +1,23 @@ +--- src/strlib.c.orig 2003-08-18 11:52:38.000000000 +0200 ++++ src/strlib.c 2004-07-05 20:32:48.853638760 +0200 +@@ -167,14 +167,16 @@ + -------------------------------------------------- */ + char *str_dup_printf(const char *format, ...) + { +- va_list ap1,ap2; ++ va_list ap1; + char *ptr; + + va_start(ap1,format); +- G_VA_COPY(ap2,ap1); ++ //G_VA_COPY(ap2,ap1); + ptr=str_malloc(printf_string_upper_bound(format,ap1)); +- vsprintf(ptr,format,ap2); +- va_end(ap2); ++ va_end(ap1); ++ va_start(ap1,format); ++ vsprintf(ptr,format,ap1); ++ va_end(ap1); + + return(ptr); + } diff --git a/net-ftp/weex/weex-2.6.1.5.ebuild b/net-ftp/weex/weex-2.6.1.5.ebuild index c0ff3157b1b5..322a36e4297d 100644 --- a/net-ftp/weex/weex-2.6.1.5.ebuild +++ b/net-ftp/weex/weex-2.6.1.5.ebuild @@ -1,6 +1,8 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-ftp/weex/weex-2.6.1.5.ebuild,v 1.3 2004/06/24 22:48:28 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-ftp/weex/weex-2.6.1.5.ebuild,v 1.4 2004/08/09 22:46:23 slarti Exp $ + +inherit eutils DESCRIPTION="Automates maintaining a web page or other FTP archive." HOMEPAGE="http://weex.sourceforge.net/" @@ -8,12 +10,18 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="x86" +KEYWORDS="x86 ~amd64" IUSE="nls" DEPEND="sys-libs/ncurses" +src_unpack() { + unpack ${A} + cd ${S} + use amd64 && epatch ${FILESDIR}/${P}-va_list.patch +} + src_compile() { econf $(use_enable nls) || die emake || die |