summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Martin <slarti@gentoo.org>2004-08-09 22:46:23 +0000
committerTom Martin <slarti@gentoo.org>2004-08-09 22:46:23 +0000
commit3a98e72a61b75c053625fe62d7a12177f79bca62 (patch)
tree24f3be295c4ea936f48e47e346b9fe560f7a2127 /net-ftp/weex
parentAdded a patch for the /proc/cmdline leak vulnerability; bug #59905. (diff)
downloadhistorical-3a98e72a61b75c053625fe62d7a12177f79bca62.tar.gz
historical-3a98e72a61b75c053625fe62d7a12177f79bca62.tar.bz2
historical-3a98e72a61b75c053625fe62d7a12177f79bca62.zip
Added va_list patch, thanks Kugelfang. Marked ~amd64.
Diffstat (limited to 'net-ftp/weex')
-rw-r--r--net-ftp/weex/ChangeLog6
-rw-r--r--net-ftp/weex/Manifest15
-rw-r--r--net-ftp/weex/files/weex-2.6.1.5-va_list.patch23
-rw-r--r--net-ftp/weex/weex-2.6.1.5.ebuild12
4 files changed, 51 insertions, 5 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/Manifest b/net-ftp/weex/Manifest
index 4debc7fed8ee..48fa36c08ef8 100644
--- a/net-ftp/weex/Manifest
+++ b/net-ftp/weex/Manifest
@@ -1,4 +1,15 @@
-MD5 057b056d041785fb02fc7f56830af477 weex-2.6.1.5.ebuild 645
-MD5 0ab4033a4fbab2c56ba3c87d8713bb9e ChangeLog 950
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 c608a2671e1c838933855c85cf9720e9 weex-2.6.1.5.ebuild 758
+MD5 5143f829749dd6cce159a47fa43b7c0e ChangeLog 1138
MD5 b742040acaeddc3798a21739bd59e8aa metadata.xml 224
+MD5 522552e03b82ab5669fd21c558290691 files/weex-2.6.1.5-va_list.patch 559
MD5 f1f9ddbb28fceadc880ed47de9560c6c files/digest-weex-2.6.1.5 64
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.2.5 (GNU/Linux)
+
+iD8DBQFBF/7XCHk4+ZoBpvsRAvITAKDJIV+4ATEHEK/JtEnnYnoLwRCgqwCgoRnD
+2Ep2QrMF87Bzq7M4IY4qP5E=
+=pQxh
+-----END PGP SIGNATURE-----
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