summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2016-05-05 21:06:06 +0200
committerDavid Seifert <soap@gentoo.org>2016-05-05 21:06:06 +0200
commitc3c7b1fd5e5c3f2925ad71c73bd5ae12eb2e5956 (patch)
tree023bc7b06dfae8e165dd40a3708e7dd6924e9ad8 /sci-libs/pastix/pastix-5.2.2.22-r1.ebuild
parentsci-mathematics/cgal: Move cmake files back to /usr/libdir (diff)
downloadgentoo-c3c7b1fd5e5c3f2925ad71c73bd5ae12eb2e5956.tar.gz
gentoo-c3c7b1fd5e5c3f2925ad71c73bd5ae12eb2e5956.tar.bz2
gentoo-c3c7b1fd5e5c3f2925ad71c73bd5ae12eb2e5956.zip
sci-libs/pastix: Add cast to double for C99 isnan macro
Gentoo-Bug: 580422 * Move patches into PATCHES bash array Package-Manager: portage-2.2.28
Diffstat (limited to 'sci-libs/pastix/pastix-5.2.2.22-r1.ebuild')
-rw-r--r--sci-libs/pastix/pastix-5.2.2.22-r1.ebuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/sci-libs/pastix/pastix-5.2.2.22-r1.ebuild b/sci-libs/pastix/pastix-5.2.2.22-r1.ebuild
index de59c9a71479..0fff267b93bf 100644
--- a/sci-libs/pastix/pastix-5.2.2.22-r1.ebuild
+++ b/sci-libs/pastix/pastix-5.2.2.22-r1.ebuild
@@ -41,11 +41,14 @@ RDEPEND="
DEPEND="${RDEPEND}
virtual/pkgconfig"
+PATCHES=(
+ "${FILESDIR}/${P}-nosmp-undefined-variable.patch"
+ "${FILESDIR}/${P}-isnan-floating-point-cast.patch"
+)
S="${WORKDIR}/${PN}_${PV}/src"
src_prepare() {
default
- epatch "${FILESDIR}"/${P}-nosmp-undefined-variable.patch
sed -e 's/^\(HOSTARCH\s*=\).*/\1 ${HOST}/' \
-e "s:^\(CCPROG\s*=\).*:\1 $(tc-getCC):" \
-e "s:^\(CFPROG\s*=\).*:\1 $(tc-getFC):" \