Gentoo Archives: gentoo-commits

From: "Kacper Kowalik (xarthisius)" <xarthisius@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-libs/hdf5/files: hdf5-1.8.9-static_libgfortran.patch
Date: Wed, 06 Jun 2012 22:22:06
Message-Id: 20120606222156.AA0152004B@flycatcher.gentoo.org
1 xarthisius 12/06/06 22:21:56
2
3 Added: hdf5-1.8.9-static_libgfortran.patch
4 Log:
5 Link libgfortran statically to H5test_kind in order to circumvent kind misdetection. Fixes #419895 by My Th <rei4dan@×××××.com>
6
7 (Portage version: 2.2.0_alpha108/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.1 sci-libs/hdf5/files/hdf5-1.8.9-static_libgfortran.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/hdf5/files/hdf5-1.8.9-static_libgfortran.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/hdf5/files/hdf5-1.8.9-static_libgfortran.patch?rev=1.1&content-type=text/plain
14
15 Index: hdf5-1.8.9-static_libgfortran.patch
16 ===================================================================
17 Make sure that during runtime we'll use the same libgfortran as during linking
18
19 https://bugs.gentoo.org/show_bug.cgi?id=419991
20 https://bugs.gentoo.org/show_bug.cgi?id=419895
21
22 --- a/fortran/src/Makefile.am
23 +++ b/fortran/src/Makefile.am
24 @@ -181,6 +181,7 @@
25 else
26 H5test_kind_SOURCES = $(srcdir)/H5test_kind.f90
27 endif
28 +H5test_kind_LDFLAGS=-static-libgfortran
29
30 # Mark this directory as part of the Fortran API
31 FORTRAN_API=yes