aboutsummaryrefslogtreecommitdiff
path: root/ports/mpfr/gmpd.patch
diff options
context:
space:
mode:
authorAlexander Neumann <30894796+Neumann-A@users.noreply.github.com>2021-01-25 08:01:16 +0100
committerGitHub <noreply@github.com>2021-01-24 23:01:16 -0800
commitf2ec6c5a7cf8441ae30a857c938694c4bfff424f (patch)
treedc0abf0efc350f936d1c8c629cbfe680a7e701de /ports/mpfr/gmpd.patch
parent051b33d36cfdde9e027ff456491d1704159864af (diff)
downloadvcpkg-f2ec6c5a7cf8441ae30a857c938694c4bfff424f.tar.gz
vcpkg-f2ec6c5a7cf8441ae30a857c938694c4bfff424f.zip
[mpc/mpfr] Add new port / update mpfr (#13081)
* [mpc] add mpc port * [mpfr] update mpfr to use make. * [gmp] fix preprocessor define for dlls. * more fixes * fix mpfr regression on !windows * install autoconf-archive in provisioning script * change indent of patches Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com> * fix merge error * update PR * update baseline Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com> Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com> Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com> Co-authored-by: Nicole Mazzuca <mazzucan@outlook.com>
Diffstat (limited to 'ports/mpfr/gmpd.patch')
-rw-r--r--ports/mpfr/gmpd.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/ports/mpfr/gmpd.patch b/ports/mpfr/gmpd.patch
new file mode 100644
index 000000000..d34027d36
--- /dev/null
+++ b/ports/mpfr/gmpd.patch
@@ -0,0 +1,15 @@
+diff --git a/configure.ac b/configure.ac
+index ea92c1f97..9621a70e5 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -693,8 +693,9 @@ See 'config.log' for details (search for GMP_NUMB_BITS).])],
+
+ dnl Check if we can link with GMP
+ AC_CHECK_LIB(gmp, __gmpz_init, [LIBS="-lgmp $LIBS"],
++ [AC_CHECK_LIB(gmpd, __gmpz_init, [LIBS="-lgmpd $LIBS"],
+ [AC_MSG_ERROR([libgmp not found or uses a different ABI (including static vs shared).
+-Please read the INSTALL file -- see "In case of problem".])])
++Please read the INSTALL file -- see "In case of problem".])])])
+
+ dnl Check for corresponding 'gmp.h' and libgmp
+ AC_MSG_CHECKING(if gmp.h version and libgmp version are the same)