summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-text')
-rw-r--r--app-text/uudeview/ChangeLog8
-rw-r--r--app-text/uudeview/Manifest5
-rw-r--r--app-text/uudeview/files/uudeview-0.5.18-optimize_size.patch11
-rw-r--r--app-text/uudeview/uudeview-0.5.18.ebuild25
4 files changed, 41 insertions, 8 deletions
diff --git a/app-text/uudeview/ChangeLog b/app-text/uudeview/ChangeLog
index 57018c5706eb..4dd57b32b892 100644
--- a/app-text/uudeview/ChangeLog
+++ b/app-text/uudeview/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-text/uudeview
-# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/uudeview/ChangeLog,v 1.10 2003/08/25 03:19:31 msterret Exp $
+# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/uudeview/ChangeLog,v 1.11 2004/02/22 14:21:21 aliz Exp $
+
+ 22 Feb 2004; Daniel Ahlberg <aliz@gentoo.org> uudeview-0.5.18.ebuild,
+ files/uudeview-0.5.18-optimize_size.patch:
+ Fix compilation with -Os and get handling of optimization to configure right. Closing #42466.
24 Aug 2003; Michael Sterrett <msterret@gentoo.org> uudeview-0.5.18.ebuild:
use emake; add error message; tidy
diff --git a/app-text/uudeview/Manifest b/app-text/uudeview/Manifest
index 835dd01070f5..09b71de81460 100644
--- a/app-text/uudeview/Manifest
+++ b/app-text/uudeview/Manifest
@@ -1,5 +1,6 @@
-MD5 d924a34b2ab8b4813b574f2f648a09ff ChangeLog 1809
+MD5 a5ea67d44894b997787c735138f42c34 uudeview-0.5.18.ebuild 993
MD5 a52ea7ecd9fc0945ca493936d2b1f268 uudeview-0.5.13.ebuild 732
-MD5 6e96dff9d520641af9dbf4ac43a3151a uudeview-0.5.18.ebuild 758
+MD5 18642fbce43d845e42f4a69b6128004d ChangeLog 2019
MD5 ea0ade456cde2cc55a7d0153e06dbd51 files/digest-uudeview-0.5.13 67
MD5 feb01098a89ddea0ff0f1b74b95cf8e6 files/digest-uudeview-0.5.18 67
+MD5 e9f3c3844b5affbc49454f6ca57df621 files/uudeview-0.5.18-optimize_size.patch 270
diff --git a/app-text/uudeview/files/uudeview-0.5.18-optimize_size.patch b/app-text/uudeview/files/uudeview-0.5.18-optimize_size.patch
new file mode 100644
index 000000000000..488b40a8c7c9
--- /dev/null
+++ b/app-text/uudeview/files/uudeview-0.5.18-optimize_size.patch
@@ -0,0 +1,11 @@
+--- configure.in 2004-02-22 14:10:48.082041396 +0000
++++ configure.in 2004-02-22 14:11:30.660567613 +0000
+@@ -96,7 +96,7 @@
+ ;;
+ esac
+ else
+-CFLAGS=`echo $CFLAGS | sed 's/-O[[0-9]]*//g'`
++CFLAGS=`echo $CFLAGS | sed 's/-O[[0-9s]]*//g'`
+ case $CFLAGS in
+ *"-g"*)
+ ;;
diff --git a/app-text/uudeview/uudeview-0.5.18.ebuild b/app-text/uudeview/uudeview-0.5.18.ebuild
index f42e047b2185..b96ac6fb96aa 100644
--- a/app-text/uudeview/uudeview-0.5.18.ebuild
+++ b/app-text/uudeview/uudeview-0.5.18.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/uudeview/uudeview-0.5.18.ebuild,v 1.8 2003/08/25 03:19:31 msterret Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/uudeview/uudeview-0.5.18.ebuild,v 1.9 2004/02/22 14:21:21 aliz Exp $
DESCRIPTION="uu, xx, base64, binhex decoder"
HOMEPAGE="http://www.fpx.de/fp/Software/UUDeview/"
@@ -12,14 +12,31 @@ SLOT="0"
IUSE="tcltk debug"
-DEPEND="tcltk? ( dev-lang/tcl dev-lang/tk )"
+DEPEND="tcltk? ( dev-lang/tcl dev-lang/tk )
+ sys-devel/autoconf"
+
+src_unpack() {
+ unpack ${A} ; cd ${S}
+
+ epatch ${FILESDIR}/${P}-optimize_size.patch
+}
src_compile() {
+ autoconf
+
+ local myconf
+
+ if [ "`use debug`" ]; then
+ myconf="--disable-optimize"
+ else
+ myconf="--enable-optimize"
+ fi
+
econf \
`use_enable tcltk tcl` \
`use_enable tcltk tk` \
`use_enable debug optimize` \
- || die
+ $myconf || die
emake || die "emake failed"
}