From: "Christoph Junghans" <junghans@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/bliss/files/, sci-libs/bliss/
Date: Fri, 10 Jul 2020 16:44:20 +0000 (UTC) [thread overview]
Message-ID: <1594399402.0ba92a30fc30e69af6567c45be5ef43c9382a951.junghans@gentoo> (raw)
commit: 0ba92a30fc30e69af6567c45be5ef43c9382a951
Author: Christoph Junghans <junghans <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 10 16:42:25 2020 +0000
Commit: Christoph Junghans <junghans <AT> gentoo <DOT> org>
CommitDate: Fri Jul 10 16:43:22 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ba92a30
sci-libs/bliss: fix clang build (bug #731930)
Closes: https://bugs.gentoo.org/731930
Package-Manager: Portage-2.3.99, Repoman-2.3.23
Signed-off-by: Christoph Junghans <junghans <AT> gentoo.org>
sci-libs/bliss/bliss-0.73-r2.ebuild | 49 +++++++++++++++++++++++++++++
sci-libs/bliss/files/bliss-0.73-clang.patch | 11 +++++++
sci-libs/bliss/metadata.xml | 4 ---
3 files changed, 60 insertions(+), 4 deletions(-)
diff --git a/sci-libs/bliss/bliss-0.73-r2.ebuild b/sci-libs/bliss/bliss-0.73-r2.ebuild
new file mode 100644
index 00000000000..9293ac0a67a
--- /dev/null
+++ b/sci-libs/bliss/bliss-0.73-r2.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools
+
+SRC_URI="http://www.tcs.hut.fi/Software/${PN}/${P}.zip"
+DESCRIPTION="Compute Automorphism Groups and Canonical Labelings of Graphs"
+HOMEPAGE="http://www.tcs.hut.fi/Software/bliss/"
+
+LICENSE="LGPL-3"
+SLOT="0/1"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc gmp static-libs"
+
+RDEPEND="gmp? ( dev-libs/gmp:0= )"
+DEPEND="${RDEPEND}
+ app-arch/unzip
+ doc? ( app-doc/doxygen )"
+
+#patches from http://pkgs.fedoraproject.org/cgit/rpms/bliss.git/tree/
+PATCHES=(
+ "${FILESDIR}"/${P}-error.patch
+ "${FILESDIR}"/${P}-rehn.patch
+ "${FILESDIR}"/${P}-clang.patch
+ "${FILESDIR}"/${P}-autotools.patch
+)
+
+src_prepare() {
+ default
+ cp "${FILESDIR}/${P}.1.in" "${PN}.1.in" || die
+ rm Makefile || die
+ eautoreconf
+}
+
+src_configure() {
+ econf $(use_with gmp) $(use_enable static-libs static)
+}
+
+src_compile() {
+ emake all $(usex doc html "")
+}
+
+src_install() {
+ default
+ use static-libs || find "${ED}" -name '*.la' -delete
+ use doc && dodoc -r html
+}
diff --git a/sci-libs/bliss/files/bliss-0.73-clang.patch b/sci-libs/bliss/files/bliss-0.73-clang.patch
new file mode 100644
index 00000000000..8a2e4bb6ca4
--- /dev/null
+++ b/sci-libs/bliss/files/bliss-0.73-clang.patch
@@ -0,0 +1,11 @@
+--- ./bliss.cc.orig 2020-07-10 10:34:44.946000000 -0600
++++ ./bliss.cc 2020-07-10 10:35:36.076000000 -0600
+@@ -59,7 +59,7 @@
+ else program_name = argv0;
+ if(!program_name or *program_name == 0) program_name = "bliss";
+
+- fprintf(fp, "bliss version %s (compiled "__DATE__")\n", bliss::version);
++ fprintf(fp, "bliss version %s (compiled %s)\n", bliss::version, __DATE__);
+ fprintf(fp, "Copyright 2003-2015 Tommi Junttila\n");
+ fprintf(fp,
+ "\n"
diff --git a/sci-libs/bliss/metadata.xml b/sci-libs/bliss/metadata.xml
index 0668c1ada0d..9b3cd6685a1 100644
--- a/sci-libs/bliss/metadata.xml
+++ b/sci-libs/bliss/metadata.xml
@@ -1,10 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <maintainer type="person">
- <email>junghans@gentoo.org</email>
- <name>Christoph Junghans</name>
- </maintainer>
<maintainer type="project">
<email>sci@gentoo.org</email>
<name>Gentoo Science Project</name>
next reply other threads:[~2020-07-10 16:44 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-10 16:44 Christoph Junghans [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-12-15 11:40 [gentoo-commits] repo/gentoo:master commit in: sci-libs/bliss/files/, sci-libs/bliss/ Andrew Ammerlaan
2017-01-01 18:17 Christoph Junghans
2017-01-01 18:17 Christoph Junghans
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=1594399402.0ba92a30fc30e69af6567c45be5ef43c9382a951.junghans@gentoo \
--to=junghans@gentoo.org \
--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