From: "Anna Vyalkova" <cyber+gentoo@sysrq.in>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: sci-libs/meschach/files/, sci-libs/meschach/
Date: Sun, 16 May 2021 14:06:10 +0000 (UTC) [thread overview]
Message-ID: <1621173902.dd6ff2f5c2f7887079934c95554adf61efb62506.cybertailor@gentoo> (raw)
commit: dd6ff2f5c2f7887079934c95554adf61efb62506
Author: Anna Vyalkova <cyber <AT> sysrq <DOT> in>
AuthorDate: Sun May 16 13:43:18 2021 +0000
Commit: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Sun May 16 14:05:02 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=dd6ff2f5
sci-libs/meschach: fix CC
Closes: https://bugs.gentoo.org/785196
Signed-off-by: Anna Vyalkova <cyber <AT> sysrq.in>
sci-libs/meschach/files/configure.patch | 29 +++++++++++++++++++++++++++++
sci-libs/meschach/meschach-1.2b.ebuild | 3 ++-
2 files changed, 31 insertions(+), 1 deletion(-)
diff --git a/sci-libs/meschach/files/configure.patch b/sci-libs/meschach/files/configure.patch
new file mode 100644
index 000000000..858196846
--- /dev/null
+++ b/sci-libs/meschach/files/configure.patch
@@ -0,0 +1,29 @@
+Bug: https://bugs.gentoo.org/785196
+
+--- a/configure.in
++++ b/configure.in
+@@ -9,16 +9,6 @@
+ [extern int test (int i, double x);],
+ AC_DEFINE(HAVE_PROTOTYPES))])dnl
+ dnl
+-dnl Brook Milligan's compiler check
+-dnl Check for the sun ansi c compiler, acc
+-define(LOCAL_PROG_ACC,
+-[AC_BEFORE([$0], [AC_PROG_CPP])AC_PROVIDE([$0])dnl
+-AC_PROGRAM_CHECK(CC, acc, acc, "")])dnl
+-dnl David Stewart's modified compiler check
+-define(LOCAL_PROG_CC,
+-[AC_BEFORE([$0], [AC_PROG_CPP])AC_PROVIDE([$0])dnl
+-AC_PROGRAM_CHECK(CC, acc, acc, cc)])dnl
+-dnl
+ dnl
+ dnl
+ dnl ----------------------------------------------------------------------
+@@ -29,7 +19,6 @@
+ PROGS=""
+ AC_SUBST(PROGS)dnl
+ LOCAL_PROG_ACC
+-AC_PROGRAM_CHECK(CC, cc, cc, gcc)
+ dnl AC_PROG_CC
+ AC_PROG_CPP
+ AC_AIX
diff --git a/sci-libs/meschach/meschach-1.2b.ebuild b/sci-libs/meschach/meschach-1.2b.ebuild
index 2f534ad10..b1f5b41bd 100644
--- a/sci-libs/meschach/meschach-1.2b.ebuild
+++ b/sci-libs/meschach/meschach-1.2b.ebuild
@@ -27,13 +27,14 @@ PATCHES=(
"${WORKDIR}/debian/patches/${PN}_${PV}-13.diff"
"${WORKDIR}/debian/patches/${PN}_${PV}-13.configure.diff"
"${FILESDIR}/makefile.patch"
+ "${FILESDIR}/configure.patch"
)
src_prepare() {
default
use old && sed -i -- 's/all: shared static/all: oldpart shared static/g' makefile.in
mv configure.in configure.ac || die
- export AR="$(tc-getAR)"
+ tc-export AR CC
eautoreconf
}
next reply other threads:[~2021-05-16 14:06 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-16 14:06 Anna Vyalkova [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-04-11 20:22 [gentoo-commits] repo/proj/guru:dev commit in: sci-libs/meschach/files/, sci-libs/meschach/ Alessandro Barbieri
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1621173902.dd6ff2f5c2f7887079934c95554adf61efb62506.cybertailor@gentoo \
--to=cyber+gentoo@sysrq.in \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox