summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/gmp')
-rw-r--r--dev-libs/gmp/ChangeLog6
-rw-r--r--dev-libs/gmp/files/gmp-5.0.2-x32-support.patch8
2 files changed, 7 insertions, 7 deletions
diff --git a/dev-libs/gmp/ChangeLog b/dev-libs/gmp/ChangeLog
index a496d2b952eb..72ff81a21ba3 100644
--- a/dev-libs/gmp/ChangeLog
+++ b/dev-libs/gmp/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-libs/gmp
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/gmp/ChangeLog,v 1.153 2011/12/07 06:40:51 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/gmp/ChangeLog,v 1.154 2011/12/08 20:27:24 vapier Exp $
+
+ 08 Dec 2011; Mike Frysinger <vapier@gentoo.org>
+ files/gmp-5.0.2-x32-support.patch:
+ Tweak the x32 fix so it works for native builds too.
07 Dec 2011; Mike Frysinger <vapier@gentoo.org> gmp-5.0.2_p1.ebuild,
+files/gmp-5.0.2-x32-bugfix.patch, +files/gmp-5.0.2-x32-support.patch:
diff --git a/dev-libs/gmp/files/gmp-5.0.2-x32-support.patch b/dev-libs/gmp/files/gmp-5.0.2-x32-support.patch
index ecb9bdb2d05e..28efee0a5eed 100644
--- a/dev-libs/gmp/files/gmp-5.0.2-x32-support.patch
+++ b/dev-libs/gmp/files/gmp-5.0.2-x32-support.patch
@@ -8,7 +8,7 @@ Signed Off By: Nitin A Kamble <nitin.a.kamble@intel.com> 2011/11/21
--- gmp-4.3.2/configure
+++ gmp-4.3.2/configure
-@@ -1499,6 +1499,25 @@ case $host in
+@@ -1499,6 +1499,21 @@
path_64="x86_64/atom x86_64"
;;
esac
@@ -16,8 +16,6 @@ Signed Off By: Nitin A Kamble <nitin.a.kamble@intel.com> 2011/11/21
+ # X32 support.
+ case x"$path_64" in
+ xx86_64*)
-+ case x"$CC $CFLAGS" in
-+ x*-mx32*)
+ abilist="x32 64 32"
+ path_x32="$path_64"
+ limb_x32=longlong
@@ -27,14 +25,12 @@ Signed Off By: Nitin A Kamble <nitin.a.kamble@intel.com> 2011/11/21
+ CALLING_CONVENTIONS_OBJS_x32='amd64call.lo amd64check$U.lo'
+ SPEED_CYCLECOUNTER_OBJ_x32=x86_64.lo
+ cyclecounter_size_x32=2
-+ ;;
-+ esac
+ ;;
+ esac
;;
esac
;;
-@@ -3039,7 +3058,7 @@ if test "$gmp_asm_syntax_testing" != no;
+@@ -3039,7 +3058,7 @@
;;
esac
;;