1 diff -ur mpfr-3.1.4.orig/src/mparam_h.in mpfr-3.1.4/src/mparam_h.in
2 --- mpfr-3.1.4.orig/src/mparam_h.in Sun Mar 06 20:33:05 2016
3 +++ mpfr-3.1.4/src/mparam_h.in Mon Mar 07 21:52:59 2016
5 for example with gcc -dM -E -xc /dev/null
6 As of gcc 4.2, you can also use: -march=native or -mtune=native */
8 -#if defined (__tune_pentium4__) /* Threshold for Pentium 4 */
9 +#if 1 /* no processor specific optimization for TeX Live */
10 +#define MPFR_TUNE_CASE "default"
11 +#elif defined (__tune_pentium4__) /* Threshold for Pentium 4 */
12 #define MPFR_TUNE_CASE "src/x86_64/pentium4/mparam.h"
13 #include "x86_64/pentium4/mparam.h"
15 diff -ur mpfr-3.1.4.orig/src/mpfr-impl.h mpfr-3.1.4/src/mpfr-impl.h
16 --- mpfr-3.1.4.orig/src/mpfr-impl.h Sun Mar 06 20:33:04 2016
17 +++ mpfr-3.1.4/src/mpfr-impl.h Mon Mar 07 21:55:06 2016
19 #ifndef __MPFR_IMPL_H__
20 #define __MPFR_IMPL_H__
22 +/* Include MPFR 'config.h' before ANY system headers */
27 /* Let's include some standard headers unconditionally as they are
28 already needed by several source files or when some options are
29 enabled/disabled, and it is easy to forget them (some configure
31 /******************************************************
32 ****************** Include files *********************
33 ******************************************************/
35 -/* Include 'config.h' before using ANY configure macros if needed
36 - NOTE: It isn't MPFR 'config.h', but GMP's one! */
41 /* For the definition of MPFR_THREAD_ATTR. GCC/ICC detection macros are
42 no longer used, as they sometimes gave incorrect information about