summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2016-09-26 01:30:13 +0200
committerDavid Seifert <soap@gentoo.org>2016-09-26 01:30:46 +0200
commita88d67480723e9230a4e20a555c1177a04644868 (patch)
treead404187890cf15c93adfa577efe674217a62fb6 /sci-libs/libcmatrix/files/libcmatrix-3.2.1-minuit2.patch
parentsci-mathematics/rw: update François Bissey's email address in metadata.xml. (diff)
downloadgentoo-a88d67480723e9230a4e20a555c1177a04644868.tar.gz
gentoo-a88d67480723e9230a4e20a555c1177a04644868.tar.bz2
gentoo-a88d67480723e9230a4e20a555c1177a04644868.zip
sci-libs/libcmatrix: Allow for compiling with GCC 6
Gentoo-bug: 594680 * EAPI=6 * Make PATCHES -p1 compliant * Rename PATCHES to be in ${P}-xyz.patch format Package-Manager: portage-2.3.1
Diffstat (limited to 'sci-libs/libcmatrix/files/libcmatrix-3.2.1-minuit2.patch')
-rw-r--r--sci-libs/libcmatrix/files/libcmatrix-3.2.1-minuit2.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/sci-libs/libcmatrix/files/libcmatrix-3.2.1-minuit2.patch b/sci-libs/libcmatrix/files/libcmatrix-3.2.1-minuit2.patch
new file mode 100644
index 000000000000..e7a6cec644bf
--- /dev/null
+++ b/sci-libs/libcmatrix/files/libcmatrix-3.2.1-minuit2.patch
@@ -0,0 +1,14 @@
+--- a/configure-libraries.ac
++++ b/configure-libraries.ac
+@@ -14,8 +14,8 @@
+ fi
+ if test x$FOUNDMINUIT = xyes; then
+ AC_CHECK_LIB(lcg_Minuit,main,,
+- AC_CHECK_LIB(Minuit,main,,FOUNDMINUIT=no
+- AC_MSG_WARN([Minuit library (liblcg_Minuit or libMinuit) not found
++ AC_CHECK_LIB(Minuit2,main,,FOUNDMINUIT=no
++ AC_MSG_WARN([Minuit library (liblcg_Minuit or libMinuit2) not found
+ Is LDFLAGS is defined to include relevant directory?])))
+ if test x$FOUNDMINUIT = xyes; then
+ AC_DEFINE(HAVE_LIBMINUIT)
+