From ede06b01b5cfeb4720a610d549becbf01a007dac Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Mon, 20 Nov 2006 20:36:11 +0000 Subject: gmp: Upgrade to 4.2.1 from OE.dev git-svn-id: https://svn.o-hand.com/repos/poky/trunk@896 311d38ba-8fff-0310-9ca6-ca027cbcb966 --- meta/packages/gmp/gmp-4.1.4/amd64.patch | 14 - meta/packages/gmp/gmp-4.1.4/configure.patch | 837 --------------------------- meta/packages/gmp/gmp-4.1.4/sh4-asmfix.patch | 26 - 3 files changed, 877 deletions(-) delete mode 100644 meta/packages/gmp/gmp-4.1.4/amd64.patch delete mode 100644 meta/packages/gmp/gmp-4.1.4/configure.patch delete mode 100644 meta/packages/gmp/gmp-4.1.4/sh4-asmfix.patch (limited to 'meta/packages/gmp/gmp-4.1.4') diff --git a/meta/packages/gmp/gmp-4.1.4/amd64.patch b/meta/packages/gmp/gmp-4.1.4/amd64.patch deleted file mode 100644 index 67be9dd35..000000000 --- a/meta/packages/gmp/gmp-4.1.4/amd64.patch +++ /dev/null @@ -1,14 +0,0 @@ ---- gmp-4.1.4/longlong.h.orig 2004-04-22 00:34:28.000000000 +0200 -+++ gmp-4.1.4/longlong.h 2005-07-18 01:13:06.000000000 +0200 -@@ -738,8 +738,10 @@ - count is only an int. */ - #define count_trailing_zeros(count, x) \ - do { \ -+ UDItype __cbtmp; \ - ASSERT ((x) != 0); \ -- __asm__ ("bsfq %1,%q0" : "=r" (count) : "rm" ((UDItype)(x))); \ -+ __asm__ ("bsfq %1,%0" : "=r" (__cbtmp) : "rm" ((UDItype)(x))); \ -+ (count) = __cbtmp; \ - } while (0) - #endif /* x86_64 */ - diff --git a/meta/packages/gmp/gmp-4.1.4/configure.patch b/meta/packages/gmp/gmp-4.1.4/configure.patch deleted file mode 100644 index 4b6c4ec63..000000000 --- a/meta/packages/gmp/gmp-4.1.4/configure.patch +++ /dev/null @@ -1,837 +0,0 @@ ---- gmp-1.4.4/acinclude.m4.orig 2004-09-21 15:03:09.000000000 +0200 -+++ gmp-1.4.4/acinclude.m4 2005-07-18 01:09:00.000000000 +0200 -@@ -21,10 +21,10 @@ - dnl MA 02111-1307, USA. - - --define(X86_PATTERN, -+define([X86_PATTERN], - [[i?86*-*-* | k[5-8]*-*-* | pentium*-*-* | athlon-*-* | viac3*-*-*]]) - --define(POWERPC64_PATTERN, -+define([POWERPC64_PATTERN], - [[powerpc64-*-* | powerpc64le-*-* | powerpc620-*-* | powerpc630-*-*]]) - - -@@ -32,7 +32,7 @@ - dnl ---------------------- - dnl Strip entries */subdir from $path. - --define(GMP_STRIP_PATH, -+define([GMP_STRIP_PATH], - [tmp_path= - for i in $path; do - case $i in -@@ -53,7 +53,7 @@ - dnl GMP_INCLUDE_GMP_H_BITS_PER_MP_LIMB starts as a dummy, but gets - dnl redefined in GMP_C_SIZES when the right value is known. - --define(GMP_INCLUDE_GMP_H, -+define([GMP_INCLUDE_GMP_H], - [[#define __GMP_WITHIN_CONFIGURE 1 /* ignore template stuff */ - #define GMP_NAIL_BITS $GMP_NAIL_BITS] - GMP_INCLUDE_GMP_H_BITS_PER_MP_LIMB -@@ -61,7 +61,7 @@ - #include "$srcdir/gmp-h.in"] - ]) - --define(GMP_INCLUDE_GMP_H_BITS_PER_MP_LIMB, -+define([GMP_INCLUDE_GMP_H_BITS_PER_MP_LIMB], - [[#define __GMP_BITS_PER_MP_LIMB 123 /* dummy for GMP_NUMB_BITS etc */ - #define GMP_LIMB_BITS 123]]) - -@@ -72,7 +72,7 @@ - dnl FILE. The regexps here aren't very rugged, but are enough for gmp. - dnl /dev/null as a parameter prevents a hang if $2 is accidentally omitted. - --define(GMP_HEADER_GETVAL, -+define([GMP_HEADER_GETVAL], - [patsubst(patsubst( - esyscmd([grep "^#define $1 " $2 /dev/null 2>/dev/null]), - [^.*$1[ ]+],[]), -@@ -86,7 +86,7 @@ - dnl autoconf time. Two digits like 3.0 if patchlevel <= 0, or three digits - dnl like 3.0.1 if patchlevel > 0. - --define(GMP_VERSION, -+define([GMP_VERSION], - [GMP_HEADER_GETVAL(__GNU_MP_VERSION,gmp-h.in)[]dnl - .GMP_HEADER_GETVAL(__GNU_MP_VERSION_MINOR,gmp-h.in)[]dnl - ifelse(m4_eval(GMP_HEADER_GETVAL(__GNU_MP_VERSION_PATCHLEVEL,gmp-h.in) > 0),1, -@@ -97,13 +97,13 @@ - dnl ------------------------------ - dnl Setup an AC_SUBST of HAVE_FUNC_01 for each argument. - --AC_DEFUN(GMP_SUBST_CHECK_FUNCS, -+AC_DEFUN([GMP_SUBST_CHECK_FUNCS], - [m4_if([$1],,, - [_GMP_SUBST_CHECK_FUNCS(ac_cv_func_[$1],HAVE_[]m4_translit([$1],[a-z],[A-Z])_01) - GMP_SUBST_CHECK_FUNCS(m4_shift($@))])]) - - dnl Called: _GMP_SUBST_CHECK_FUNCS(cachvar,substvar) --AC_DEFUN(_GMP_SUBST_CHECK_FUNCS, -+AC_DEFUN([_GMP_SUBST_CHECK_FUNCS], - [case $[$1] in - yes) AC_SUBST([$2],1) ;; - no) [$2]=0 ;; -@@ -115,14 +115,14 @@ - dnl ---------------------------------- - dnl Setup an AC_SUBST of HAVE_FOO_H_01 for each argument. - --AC_DEFUN(GMP_SUBST_CHECK_HEADERS, -+AC_DEFUN([GMP_SUBST_CHECK_HEADERS], - [m4_if([$1],,, - [_GMP_SUBST_CHECK_HEADERS(ac_cv_header_[]m4_translit([$1],[./],[__]), - HAVE_[]m4_translit([$1],[a-z./],[A-Z__])_01) - GMP_SUBST_CHECK_HEADERS(m4_shift($@))])]) - - dnl Called: _GMP_SUBST_CHECK_HEADERS(cachvar,substvar) --AC_DEFUN(_GMP_SUBST_CHECK_HEADERS, -+AC_DEFUN([_GMP_SUBST_CHECK_HEADERS], - [case $[$1] in - yes) AC_SUBST([$2],1) ;; - no) [$2]=0 ;; -@@ -145,12 +145,12 @@ - dnl would test whether $major.$minor.$subminor is greater than or equal to - dnl 10.3.1. - --AC_DEFUN(GMP_COMPARE_GE, -+AC_DEFUN([GMP_COMPARE_GE], - [gmp_compare_ge=no - GMP_COMPARE_GE_INTERNAL($@) - ]) - --AC_DEFUN(GMP_COMPARE_GE_INTERNAL, -+AC_DEFUN([GMP_COMPARE_GE_INTERNAL], - [ifelse(len([$3]),0, - [if test -n "$1" && test "$1" -ge $2; then - gmp_compare_ge=yes -@@ -184,7 +184,7 @@ - dnl for instance to random.o (and others) on vax-dec-ultrix4.5. Naturally - dnl a user-selected $AR_FLAGS is left unchanged. - --AC_DEFUN(GMP_PROG_AR, -+AC_DEFUN([GMP_PROG_AR], - [dnl Want to establish $AR before libtool initialization. - AC_BEFORE([$0],[AC_PROG_LIBTOOL]) - gmp_user_AR=$AR -@@ -212,7 +212,7 @@ - dnl CC_FOR_BUILD is used without testing. CC_FOR_BUILD is the new name for - dnl a build system compiler, see configfsf.guess. - --AC_DEFUN(GMP_PROG_HOST_CC, -+AC_DEFUN([GMP_PROG_HOST_CC], - [AC_BEFORE([$0],[AC_PROG_LIBTOOL]) - AC_REQUIRE([AC_PROG_CC]) - AC_CACHE_CHECK([for HOST_CC build system compiler], -@@ -255,7 +255,7 @@ - dnl FIXME: This can be removed and just AM_PROG_LEX used, one that macro - dnl works properly. - --AC_DEFUN(GMP_PROG_LEX, -+AC_DEFUN([GMP_PROG_LEX], - [AC_REQUIRE([AC_PROG_LEX]) - if test "$LEX" = :; then - LEX=${am_missing_run}flex -@@ -273,7 +273,7 @@ - dnl - dnl See mpn/asm-defs.m4 for details on the known bad m4s. - --AC_DEFUN(GMP_PROG_M4, -+AC_DEFUN([GMP_PROG_M4], - [AC_ARG_VAR(M4,[m4 macro processor]) - AC_CACHE_CHECK([for suitable m4], - gmp_cv_prog_m4, -@@ -340,7 +340,7 @@ - dnl Enhancement: Maybe this could be in GMP_PROG_M4, and attempt to prefer - dnl an m4 with a working m4wrap, if it can be found. - --AC_DEFUN(GMP_M4_M4WRAP_SPURIOUS, -+AC_DEFUN([GMP_M4_M4WRAP_SPURIOUS], - [AC_REQUIRE([GMP_PROG_M4]) - AC_CACHE_CHECK([if m4wrap produces spurious output], - gmp_cv_m4_m4wrap_spurious, -@@ -374,7 +374,7 @@ - dnl A user-selected $NM is always left unchanged. AC_PROG_NM is still run - dnl to get the "checking" message printed though. - --AC_DEFUN(GMP_PROG_NM, -+AC_DEFUN([GMP_PROG_NM], - [dnl Make sure we're the first to call AC_PROG_NM, so our extra flags are - dnl used by everyone. - AC_BEFORE([$0],[AC_PROG_NM]) -@@ -426,7 +426,7 @@ - dnl will run is that a plain native "./configure" falls back on ABI=32, but - dnl ABI=64 is still available as a cross-compile. - --AC_DEFUN(GMP_PROG_CC_WORKS, -+AC_DEFUN([GMP_PROG_CC_WORKS], - [AC_MSG_CHECKING([compiler $1]) - cat >conftest.c <conftest.c <