patches/mpfr/2.4.1/130-vasprintf-mp_limb_t.patch
author David Holsgrove <david.holsgrove@xilinx.com>
Thu Oct 11 14:39:42 2012 +1000 (2012-10-11)
changeset 3090 a221c86d9b33
permissions -rw-r--r--
binutils/elf2flt: Add CUSTOM version, CUSTOM_LOCATION config options, GetCustom

CUSTOM_LOCATION config options only presented in menuconfig if component
CUSTOM version selected.

Change elf2flt CT_ELF2FLT_VERSION from 'head' to 'cvs' if cvs selected in config

Also remove hardcoded 'cvs-' from elf2flt component name, used in CT_Extract,
CT_Patch and as the CT_SRC_DIR location for the configure stage.

Signed-off-by: "David Holsgrove" <david.holsgrove@xilinx.com>
[yann.morin.1998@free.fr: fix indentation, don't patch custom dir location]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-Id: <288db3721a37844defa5.1349931196@localhost.localdomain>
PatchWork-Id: 190789
     1 diff -Naurd mpfr-2.4.1-a/PATCHES mpfr-2.4.1-b/PATCHES
     2 --- mpfr-2.4.1-a/PATCHES	2009-03-10 01:44:39.000000000 +0000
     3 +++ mpfr-2.4.1-b/PATCHES	2009-03-10 01:44:40.000000000 +0000
     4 @@ -0,0 +1 @@
     5 +vasprintf-mp_limb_t
     6 diff -Naurd mpfr-2.4.1-a/VERSION mpfr-2.4.1-b/VERSION
     7 --- mpfr-2.4.1-a/VERSION	2009-03-04 13:16:46.000000000 +0000
     8 +++ mpfr-2.4.1-b/VERSION	2009-03-10 01:44:40.000000000 +0000
     9 @@ -1 +1 @@
    10 -2.4.1-p2
    11 +2.4.1-p4
    12 diff -Naurd mpfr-2.4.1-a/mpfr.h mpfr-2.4.1-b/mpfr.h
    13 --- mpfr-2.4.1-a/mpfr.h	2009-03-04 13:16:46.000000000 +0000
    14 +++ mpfr-2.4.1-b/mpfr.h	2009-03-10 01:44:40.000000000 +0000
    15 @@ -27,7 +27,7 @@
    16  #define MPFR_VERSION_MAJOR 2
    17  #define MPFR_VERSION_MINOR 4
    18  #define MPFR_VERSION_PATCHLEVEL 1
    19 -#define MPFR_VERSION_STRING "2.4.1-p2"
    20 +#define MPFR_VERSION_STRING "2.4.1-p4"
    21  
    22  /* Macros dealing with MPFR VERSION */
    23  #define MPFR_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
    24 diff -Naurd mpfr-2.4.1-a/vasprintf.c mpfr-2.4.1-b/vasprintf.c
    25 --- mpfr-2.4.1-a/vasprintf.c	2009-02-20 09:43:17.000000000 +0000
    26 +++ mpfr-2.4.1-b/vasprintf.c	2009-03-10 01:44:40.000000000 +0000
    27 @@ -398,7 +398,7 @@
    28          (void) va_arg ((ap), mpq_srcptr);       \
    29          break;                                  \
    30        case MP_LIMB_ARG:                         \
    31 -        (void) va_arg ((ap), mp_ptr);           \
    32 +        (void) va_arg ((ap), mp_limb_t);        \
    33          break;                                  \
    34        case MP_LIMB_ARRAY_ARG:                   \
    35          (void) va_arg ((ap), mp_ptr);           \
    36 diff -Naurd mpfr-2.4.1-a/version.c mpfr-2.4.1-b/version.c
    37 --- mpfr-2.4.1-a/version.c	2009-03-04 13:16:46.000000000 +0000
    38 +++ mpfr-2.4.1-b/version.c	2009-03-10 01:44:40.000000000 +0000
    39 @@ -25,5 +25,5 @@
    40  const char *
    41  mpfr_get_version (void)
    42  {
    43 -  return "2.4.1-p2";
    44 +  return "2.4.1-p4";
    45  }