summaryrefslogtreecommitdiff
path: root/Build/source/libs/mpfr/TLpatches
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-02-13 22:32:47 +0000
committerKarl Berry <karl@freefriends.org>2017-02-13 22:32:47 +0000
commit370b138f85fb5eee6e176bcd9ad772ba178cb843 (patch)
tree8a61482b1002160dab258c9dc051c14abd2ab46d /Build/source/libs/mpfr/TLpatches
parent11e8da1007c229802798bcb15cc69c62f5b8e5f6 (diff)
TLpatches seems nicer than all uppercase; sorry for churn
git-svn-id: svn://tug.org/texlive/trunk@43214 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/libs/mpfr/TLpatches')
-rw-r--r--Build/source/libs/mpfr/TLpatches/ChangeLog21
-rw-r--r--Build/source/libs/mpfr/TLpatches/TL-Changes25
-rw-r--r--Build/source/libs/mpfr/TLpatches/patch-01-TL42
3 files changed, 88 insertions, 0 deletions
diff --git a/Build/source/libs/mpfr/TLpatches/ChangeLog b/Build/source/libs/mpfr/TLpatches/ChangeLog
new file mode 100644
index 00000000000..57a1fe35fa7
--- /dev/null
+++ b/Build/source/libs/mpfr/TLpatches/ChangeLog
@@ -0,0 +1,21 @@
+2016-09-28 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
+
+ Imported mpfr-3.1.5 source tree from:
+ http://ftp.gnu.org/gnu/mpfr/
+ * patch-01-TL: Adapted.
+
+2016-03-07 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
+
+ Imported mpfr-3.1.4 source tree from:
+ http://ftp.gnu.org/gnu/mpfr/
+ * patch-01-TL: Adapted.
+
+2015-06-20 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ Imported mpfr-3.1.3 source tree from:
+ http://ftp.gnu.org/gnu/mpfr/
+ * patch-01-TL: Adapted.
+
+2014-05-23 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ * patch-01-TL (new): Modifications for the TeX Live build system.
diff --git a/Build/source/libs/mpfr/TLpatches/TL-Changes b/Build/source/libs/mpfr/TLpatches/TL-Changes
new file mode 100644
index 00000000000..905356fe133
--- /dev/null
+++ b/Build/source/libs/mpfr/TLpatches/TL-Changes
@@ -0,0 +1,25 @@
+Changes applied to the mpfr-3.1.5/ tree as obtained from:
+ http://ftp.gnu.org/gnu/mpfr/
+
+Removed:
+ COPYING
+ COPYING.LESSER
+ Makefile.in
+ aclocal.m4
+ ar-lib
+ compile
+ config.guess
+ config.sub
+ configure
+ depcomp
+ doc/
+ examples/
+ install-sh
+ ltmain.sh
+ m4/
+ missing
+ src/Makefile.in
+ test-driver
+ tests/
+ tools/
+ tune/
diff --git a/Build/source/libs/mpfr/TLpatches/patch-01-TL b/Build/source/libs/mpfr/TLpatches/patch-01-TL
new file mode 100644
index 00000000000..e2083f9cbb1
--- /dev/null
+++ b/Build/source/libs/mpfr/TLpatches/patch-01-TL
@@ -0,0 +1,42 @@
+diff -ur mpfr-3.1.5.orig/src/mparam_h.in mpfr-3.1.5/src/mparam_h.in
+--- mpfr-3.1.5.orig/src/mparam_h.in Tue Sep 27 16:58:15 2016
++++ mpfr-3.1.5/src/mparam_h.in Wed Sep 28 16:53:41 2016
+@@ -27,7 +27,9 @@
+ for example with gcc -dM -E -xc /dev/null
+ As of gcc 4.2, you can also use: -march=native or -mtune=native */
+
+-#if defined (__tune_pentium4__) /* Threshold for Pentium 4 */
++#if 1 /* no processor specific optimization for TeX Live */
++#define MPFR_TUNE_CASE "default"
++#elif defined (__tune_pentium4__) /* Threshold for Pentium 4 */
+ #define MPFR_TUNE_CASE "src/x86_64/pentium4/mparam.h"
+ #include "x86_64/pentium4/mparam.h"
+
+diff -ur mpfr-3.1.5.orig/src/mpfr-impl.h mpfr-3.1.5/src/mpfr-impl.h
+--- mpfr-3.1.5.orig/src/mpfr-impl.h Tue Sep 27 16:58:15 2016
++++ mpfr-3.1.5/src/mpfr-impl.h Wed Sep 28 16:55:05 2016
+@@ -23,6 +23,11 @@
+ #ifndef __MPFR_IMPL_H__
+ #define __MPFR_IMPL_H__
+
++/* Include MPFR 'config.h' before ANY system headers */
++#ifdef HAVE_CONFIG_H
++# include "config.h"
++#endif
++
+ /* Let's include some standard headers unconditionally as they are
+ already needed by several source files or when some options are
+ enabled/disabled, and it is easy to forget them (some configure
+@@ -55,12 +60,6 @@
+ /******************************************************
+ ****************** Include files *********************
+ ******************************************************/
+-
+-/* Include 'config.h' before using ANY configure macros if needed
+- NOTE: It isn't MPFR 'config.h', but GMP's one! */
+-#ifdef HAVE_CONFIG_H
+-# include "config.h"
+-#endif
+
+ /* For the definition of MPFR_THREAD_ATTR. GCC/ICC detection macros are
+ no longer used, as they sometimes gave incorrect information about