Package: texlive-bin / 2018.20181218.49446-1

revert-luatex-svn48611 Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
commit 80cbbf4dde940a0fbc144d2d9cc69e7c60eeea45
Author: Luigi Scarso <luigi.scarso@gmail.com>
Date:   Thu Sep 6 23:40:05 2018 +0000

    fixed gmp version in mpmathbinary.w
    
    git-svn-id: svn://tug.org/texlive/trunk@48611 c570f23f-e606-0410-a88d-b1316a301751

---
 texk/web2c/mplibdir/mpmathbinary.w |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

--- texlive-bin.orig/texk/web2c/mplibdir/mpmathbinary.w
+++ texlive-bin/texk/web2c/mplibdir/mpmathbinary.w
@@ -41,9 +41,8 @@
 #include <mpfr.h>
 
 #ifdef HAVE_CONFIG_H
-#define MP_STR_HELPER(x) #x
-#define MP_STR(x) MP_STR_HELPER(x)
-const char * const COMPILED_gmp_version  = MP_STR(__GNU_MP_VERSION) "." MP_STR( __GNU_MP_VERSION_MINOR) "." MP_STR(__GNU_MP_VERSION_PATCHLEVEL);
+#include <gmp/config.h>
+const char * const COMPILED_gmp_version  = VERSION;
 #else
 const char * const COMPILED_gmp_version  = "unknown";
 #endif