commit: bd3e4d8ba482580f3db048d241aee4c4e65c5c6e Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> AuthorDate: Sat Oct 24 15:39:28 2020 +0000 Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> CommitDate: Sat Oct 24 15:40:06 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd3e4d8b
sci-electronics/fasthenry: Fix ar Closes: https://bugs.gentoo.org/750128 Package-Manager: Portage-3.0.8, Repoman-3.0.2 Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org> .../fasthenry/fasthenry-3.0.20.07.17.ebuild | 3 ++- .../fasthenry/files/fasthenry-3.0.20.07.17-ar.patch | 18 ++++++++++++++++++ 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/sci-electronics/fasthenry/fasthenry-3.0.20.07.17.ebuild b/sci-electronics/fasthenry/fasthenry-3.0.20.07.17.ebuild index b8691f8986a..ee1cef974df 100644 --- a/sci-electronics/fasthenry/fasthenry-3.0.20.07.17.ebuild +++ b/sci-electronics/fasthenry/fasthenry-3.0.20.07.17.ebuild @@ -23,10 +23,11 @@ S=${WORKDIR}/fasthenry-3.0wr PATCHES=( "${FILESDIR}/${P}-cflags.patch" "${FILESDIR}/${P}-ldflags.patch" + "${FILESDIR}/${P}-ar.patch" ) src_compile() { - tc-export CC + tc-export CC AR emake all } diff --git a/sci-electronics/fasthenry/files/fasthenry-3.0.20.07.17-ar.patch b/sci-electronics/fasthenry/files/fasthenry-3.0.20.07.17-ar.patch new file mode 100644 index 00000000000..ea1e671b7df --- /dev/null +++ b/sci-electronics/fasthenry/files/fasthenry-3.0.20.07.17-ar.patch @@ -0,0 +1,18 @@ +diff -ruN fasthenry-3.0wr.orig/src/sparse/Makefile fasthenry-3.0wr/src/sparse/Makefile +--- fasthenry-3.0wr.orig/src/sparse/Makefile 2020-10-24 18:35:15.348900086 +0300 ++++ fasthenry-3.0wr/src/sparse/Makefile 2020-10-24 18:37:09.729921680 +0300 +@@ -25,12 +25,12 @@ + # $(CC) $(CFLAGS) -o $(DESTINATION) $(TESTO) $(LIBRARY) -lm + + $(LIBRARY) : $(OFILES) +- ar r $(LIBRARY) $? ++ $(AR) r $(LIBRARY) $? + ranlib $(LIBRARY) + + spice : $(LIBRARY) spSMP.o + cp $(LIBRARY) ../SMP.a +- ar r ../SMP.a spSMP.o ++ $(AR) r ../SMP.a spSMP.o + ranlib ../SMP.a + + lint :
