diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-03-20 14:27:17 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-03-20 14:27:17 +0000 |
commit | 5bb9ff1ee56d2b5e75e01a7f066d8b0cec84ec02 (patch) | |
tree | 66e860a5099bcad013f1cf667255dc372a7c11b3 /sci-libs/m4rie/files | |
parent | 7218e1b46bceac05841e90472501742d905fb3fc (diff) |
gentoo resync : 20.03.2021
Diffstat (limited to 'sci-libs/m4rie/files')
-rw-r--r-- | sci-libs/m4rie/files/m4rie-20200115-link-libm.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/sci-libs/m4rie/files/m4rie-20200115-link-libm.patch b/sci-libs/m4rie/files/m4rie-20200115-link-libm.patch new file mode 100644 index 000000000000..d640b5085661 --- /dev/null +++ b/sci-libs/m4rie/files/m4rie-20200115-link-libm.patch @@ -0,0 +1,27 @@ +From afab50ea468b0b44be6e8584793c8ee98045f8f8 Mon Sep 17 00:00:00 2001 +From: "Martin R. Albrecht" <martinralbrecht@googlemail.com> +Date: Fri, 12 Mar 2021 09:49:45 +0000 +Subject: [PATCH] we use sqrt() so link libm + +fixes #22 +--- + configure.ac | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/configure.ac b/configure.ac +index 1f19d49..71ed81c 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -18,6 +18,9 @@ AC_PROG_CXX + + AC_PROG_CC_C99() + ++AC_SEARCH_LIBS([sqrt], [m], [], [ ++ AC_MSG_ERROR([unable to find the sqrt() function]) ++]) + + if test "$ac_cv_prog_cc_c99" = "no"; then + AC_MSG_ERROR([C99 support is required but not found.]) +-- +2.10.5 + |