summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Jones <cretin@gentoo.org>2004-04-12 19:19:01 +0000
committerStefan Jones <cretin@gentoo.org>2004-04-12 19:19:01 +0000
commit5f6a05f56b713dbb5eacefbd0d780fb76905d2f8 (patch)
treeb7bf9686ee7c729bac355a01a326aea9c4f61bbc /dev-libs/beecrypt
parentinitial commit, base profile for stacking (diff)
downloadgentoo-2-5f6a05f56b713dbb5eacefbd0d780fb76905d2f8.tar.gz
gentoo-2-5f6a05f56b713dbb5eacefbd0d780fb76905d2f8.tar.bz2
gentoo-2-5f6a05f56b713dbb5eacefbd0d780fb76905d2f8.zip
Fix athlon in mcpu or march, #47592
Diffstat (limited to 'dev-libs/beecrypt')
-rw-r--r--dev-libs/beecrypt/ChangeLog5
-rw-r--r--dev-libs/beecrypt/beecrypt-3.1.0-r1.ebuild6
-rw-r--r--dev-libs/beecrypt/files/beecrypt-3.1.0-athlon.diff11
3 files changed, 20 insertions, 2 deletions
diff --git a/dev-libs/beecrypt/ChangeLog b/dev-libs/beecrypt/ChangeLog
index 1a1048210ea4..4e145d3cd0fd 100644
--- a/dev-libs/beecrypt/ChangeLog
+++ b/dev-libs/beecrypt/ChangeLog
@@ -1,7 +1,10 @@
# ChangeLog for dev-libs/beecrypt
# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/beecrypt/ChangeLog,v 1.15 2004/04/11 19:29:59 cretin Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/beecrypt/ChangeLog,v 1.16 2004/04/12 19:19:01 cretin Exp $
+ 12 Apr 2004; Stefan Jones <cretin@gentoo.org> beecrypt-3.1.0-r1.ebuild:
+ Fix athlon in mcpu or march, #47592
+
11 Apr 2004; Stefan Jones <cretin@gentoo.org> beecrypt-3.1.0-r1.ebuild:
Mark as stable for the rest of the archs
Also add scanning of CFLAGS to set optimisations
diff --git a/dev-libs/beecrypt/beecrypt-3.1.0-r1.ebuild b/dev-libs/beecrypt/beecrypt-3.1.0-r1.ebuild
index a3c2715d3a8c..cb63a44b3338 100644
--- a/dev-libs/beecrypt/beecrypt-3.1.0-r1.ebuild
+++ b/dev-libs/beecrypt/beecrypt-3.1.0-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/beecrypt/beecrypt-3.1.0-r1.ebuild,v 1.9 2004/04/11 19:29:59 cretin Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/beecrypt/beecrypt-3.1.0-r1.ebuild,v 1.10 2004/04/12 19:19:01 cretin Exp $
inherit flag-o-matic
@@ -32,6 +32,10 @@ src_unpack() {
fi
# fix for python paths (#39282)
epatch ${FILESDIR}/beecrypt-3.1.0-python2.3.patch
+
+ # Athlons are i686
+ epatch ${FILESDIR}/beecrypt-3.1.0-athlon.diff
+ autoconf
}
src_compile() {
diff --git a/dev-libs/beecrypt/files/beecrypt-3.1.0-athlon.diff b/dev-libs/beecrypt/files/beecrypt-3.1.0-athlon.diff
new file mode 100644
index 000000000000..148d473747a5
--- /dev/null
+++ b/dev-libs/beecrypt/files/beecrypt-3.1.0-athlon.diff
@@ -0,0 +1,11 @@
+--- beecrypt-3.1.0/configure.ac.jj 2004-04-12 19:26:45.564165896 +0100
++++ beecrypt-3.1.0/configure.ac 2004-04-12 19:26:55.282688456 +0100
+@@ -654,7 +654,7 @@
+ CPPFLAGS="$CPPFLAGS -DOPTIMIZE_ARM"
+ ;;
+ athlon*)
+- CPPFLAGS="$CPPFLAGS -DOPTIMIZE_I386 -DOPTIMIZE_MMX"
++ CPPFLAGS="$CPPFLAGS -DOPTIMIZE_I686 -DOPTIMIZE_MMX"
+ ;;
+ i386)
+ CPPFLAGS="$CPPFLAGS -DOPTIMIZE_I386"