Changeset 31169


Ignore:
Timestamp:
2012-04-02T18:25:17+02:00 (6 years ago)
Author:
florian
Message:

[tools] gmp: update to 5.0.4

Signed-off-by: Luka Perkov <openwrt@…>

Location:
trunk/tools/gmp
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/gmp/Makefile

    r29754 r31169  
    11# 
    2 # Copyright (C) 2009 -2010 OpenWrt.org 
     2# Copyright (C) 2009-2012 OpenWrt.org 
    33# 
    44# This is free software, licensed under the GNU General Public License v2. 
     
    88 
    99PKG_NAME:=gmp 
    10 PKG_VERSION:=5.0.1 
     10PKG_VERSION:=5.0.4 
    1111 
    1212PKG_SOURCE_URL:=@GNU/gmp/ 
    13 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 
    14 PKG_MD5SUM:=6bac6df75c192a13419dfd71d19240a7 
     13PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz 
     14PKG_MD5SUM:=0881f4ff2617226c673fc534ac39d448 
    1515 
    1616include $(INCLUDE_DIR)/host-build.mk 
  • trunk/tools/gmp/patches/000-OE-amd64.patch

    r24380 r31169  
    1 Index: gmp-5.0.1/longlong.h 
    2 =================================================================== 
    3 --- gmp-5.0.1.orig/longlong.h 
    4 +++ gmp-5.0.1/longlong.h 
    5 @@ -849,8 +849,10 @@ extern UWtype __MPN(udiv_qrnnd) _PROTO ( 
     1--- a/longlong.h 
     2+++ b/longlong.h 
     3@@ -994,8 +994,10 @@ extern UWtype __MPN(udiv_qrnnd) _PROTO ( 
    64    count is only an int. */ 
    75 #define count_trailing_zeros(count, x)                                 \ 
  • trunk/tools/gmp/patches/000-OE-configure.patch

    r24380 r31169  
    1 diff -rdup gmp-5.0.1.oorig/acinclude.m4 gmp-5.0.1/acinclude.m4 
    2 --- gmp-5.0.1.oorig/acinclude.m4        2010-02-06 13:43:13.000000000 +0100 
    3 +++ gmp-5.0.1/acinclude.m4      2010-02-08 17:19:44.000000000 +0100 
    4 @@ -30,23 +30,23 @@ dnl    a_out.exe - OpenVMS DEC C called  
     1--- a/acinclude.m4 
     2+++ b/acinclude.m4 
     3@@ -30,29 +30,29 @@ dnl    a_out.exe - OpenVMS DEC C called 
    54 dnl    conftest.exe - various DOS compilers 
    65  
     
    2221 [[powerpc64-*-* | powerpc64le-*-* | powerpc620-*-* | powerpc630-*-* | powerpc970-*-* | power[3-9]-*-*]]) 
    2322  
     23-define(S390_PATTERN, 
     24+define([S390_PATTERN], 
     25 [[s390-*-* | z900esa-*-* | z990esa-*-* | z9esa-*-* | z10esa-*-* | z196esa-*-*]]) 
     26  
     27-define(S390X_PATTERN, 
     28+define([S390X_PATTERN], 
     29 [[s390x-*-* | z900-*-* | z990-*-* | z9-*-* | z10-*-* | z196-*-*]]) 
     30  
    2431-define(X86_PATTERN, 
    2532+define([X86_PATTERN], 
     
    2835-define(X86_64_PATTERN, 
    2936+define([X86_64_PATTERN], 
    30  [[athlon64-*-* | pentium4-*-* | atom-*-* | core2-*-* | corei-*-* | x86_64-*-* | nano-*-*]]) 
     37 [[athlon64-*-* | k8-*-* | k10-*-* | bobcat-*-* | bulldozer-*-* | pentium4-*-* | atom-*-* | core2-*-* | corei*-*-* | x86_64-*-* | nano-*-*]]) 
    3138  
    3239 dnl  GMP_FAT_SUFFIX(DSTVAR, DIRECTORY) 
    33 @@ -64,7 +64,7 @@ dnl      x86         ->  x86 
     40@@ -70,7 +70,7 @@ dnl      x86         ->  x86 
    3441 dnl      x86/k6      ->  k6 
    3542 dnl      x86/k6/mmx  ->  k6_mmx 
     
    4047  
    4148  
    42 @@ -73,7 +73,7 @@ dnl  ---------------------------------- 
     49@@ -79,7 +79,7 @@ dnl  ---------------------------------- 
    4350 dnl  Emit code to remove any occurrence of ITEM from $LISTVAR.  ITEM can be a 
    4451 dnl  shell expression like $foo if desired. 
     
    4956 for remove_from_list_i in $[][$1]; do 
    5057   if test $remove_from_list_i = [$2]; then :; 
    51 @@ -89,12 +89,12 @@ dnl  GMP_STRIP_PATH(subdir) 
     58@@ -95,12 +95,12 @@ dnl  GMP_STRIP_PATH(subdir) 
    5259 dnl  ---------------------- 
    5360 dnl  Strip entries */subdir from $path and $fat_path. 
     
    6471 for i in $[][$1]; do 
    6572   case $i in 
    66 @@ -115,7 +115,7 @@ dnl 
     73@@ -121,7 +121,7 @@ dnl 
    6774 dnl  Dummy value for GMP_LIMB_BITS is enough 
    6875 dnl  for all current configure-time uses of gmp.h. 
     
    7380 #define GMP_NAIL_BITS $GMP_NAIL_BITS 
    7481 #define GMP_LIMB_BITS 123 
    75 @@ -130,7 +130,7 @@ dnl  Expand at autoconf time to the valu 
     82@@ -136,7 +136,7 @@ dnl  Expand at autoconf time to the valu 
    7683 dnl  FILE.  The regexps here aren't very rugged, but are enough for gmp. 
    7784 dnl  /dev/null as a parameter prevents a hang if $2 is accidentally omitted. 
     
    8289 esyscmd([grep "^#define $1 " $2 /dev/null 2>/dev/null]), 
    8390 [^.*$1[        ]+],[]), 
    84 @@ -144,7 +144,7 @@ dnl  The gmp version number, extracted f 
     91@@ -150,7 +150,7 @@ dnl  The gmp version number, extracted f 
    8592 dnl  autoconf time.  Two digits like 3.0 if patchlevel <= 0, or three digits 
    8693 dnl  like 3.0.1 if patchlevel > 0. 
     
    9198 .GMP_HEADER_GETVAL(__GNU_MP_VERSION_MINOR,gmp-h.in)[]dnl 
    9299 .GMP_HEADER_GETVAL(__GNU_MP_VERSION_PATCHLEVEL,gmp-h.in)]) 
    93 @@ -1506,7 +1506,9 @@ esac 
     100@@ -1512,7 +1512,9 @@ esac 
    94101 echo ["define(<CONFIG_TOP_SRCDIR>,<\`$tmp'>)"] >>$gmp_tmpconfigm4 
    95102  
     
    102109  
    103110  
    104 diff -rdup gmp-5.0.1.oorig/configure.in gmp-5.0.1/configure.in 
    105 --- gmp-5.0.1.oorig/configure.in        2010-02-06 13:43:13.000000000 +0100 
    106 +++ gmp-5.0.1/configure.in      2010-02-08 17:18:30.000000000 +0100 
     111--- a/configure.in 
     112+++ b/configure.in 
    107113@@ -29,12 +29,6 @@ AC_REVISION($Revision$) 
    108114 AC_PREREQ(2.59) 
    109  AC_INIT(GNU MP, GMP_VERSION, gmp-bugs@gmplib.org, gmp) 
     115 AC_INIT(GNU MP, GMP_VERSION, [gmp-bugs@gmplib.org, see http://gmplib.org/manual/Reporting-Bugs.html], gmp) 
    110116 AC_CONFIG_SRCDIR(gmp-impl.h) 
    111117-m4_pattern_forbid([^[ \t]*GMP_]) 
     
    118124 # If --target is not used then $target_alias is empty, but if say 
    119125 # "./configure athlon-pc-freebsd3.5" is used, then all three of 
    120 @@ -303,7 +297,7 @@ AH_VERBATIM([HAVE_HOST_CPU_1], 
     126@@ -311,7 +305,7 @@ AH_VERBATIM([HAVE_HOST_CPU_1], 
    121127 # After GMP specific searches and tests, the standard autoconf AC_PROG_CC is 
    122128 # called.  User selections of CC etc are respected. 
     
    127133 # them cache their results, which is not wanted. 
    128134 # 
    129 @@ -395,7 +389,7 @@ abilist="standard" 
     135@@ -403,7 +397,7 @@ abilist="standard" 
    130136 # FIXME: We'd like to prefer an ANSI compiler, perhaps by preferring 
    131137 # c89 over cc here.  But note that on HP-UX c89 provides a castrated 
     
    136142 # 
    137143 cclist="gcc cc" 
    138 @@ -1580,7 +1574,7 @@ esac 
     144@@ -1666,7 +1660,7 @@ esac 
    139145 CFLAGS_or_unset=${CFLAGS-'(unset)'} 
    140146 CPPFLAGS_or_unset=${CPPFLAGS-'(unset)'} 
     
    145151 ABI=$ABI 
    146152 CC=$CC 
    147 @@ -1987,7 +1981,6 @@ AC_SUBST(DEFN_LONG_LONG_LIMB) 
     153@@ -2073,7 +2067,6 @@ AC_SUBST(DEFN_LONG_LONG_LIMB) 
    148154  
    149155 # The C compiler and preprocessor, put into ANSI mode if possible. 
     
    153159 GMP_H_ANSI 
    154160  
    155 @@ -2010,11 +2003,11 @@ AC_SUBST(CCAS) 
     161@@ -2096,11 +2089,11 @@ AC_SUBST(CCAS) 
    156162  
    157163 # The C++ compiler, if desired. 
     
    167173   cxxflags_list=ac_prog_cxx 
    168174  
    169 @@ -2120,7 +2113,7 @@ case $host in 
     175@@ -2206,7 +2199,7 @@ case $host in 
    170176 esac 
    171177  
     
    176182 ABI=$ABI 
    177183 CC=$CC 
    178 @@ -3376,7 +3369,7 @@ GMP_FINISH 
     184@@ -3465,7 +3458,7 @@ GMP_FINISH 
    179185 # FIXME: Upcoming version of autoconf/automake may not like broken lines. 
    180186 #        Right now automake isn't accepting the new AC_CONFIG_FILES scheme. 
     
    185191   mpz/Makefile printf/Makefile scanf/Makefile cxx/Makefile             \ 
    186192   tests/Makefile tests/devel/Makefile tests/mpbsd/Makefile             \ 
    187 @@ -3385,4 +3378,5 @@ AC_OUTPUT(Makefile                                                        \ 
     193@@ -3474,4 +3467,5 @@ AC_OUTPUT(Makefile                                                        \ 
    188194   tests/cxx/Makefile                                                   \ 
    189195   doc/Makefile tune/Makefile                                           \ 
Note: See TracChangeset for help on using the changeset viewer.