From: "Jakov Smolić" <jakov.smolic@sartura.hr>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-biology/samstat/, sci-biology/samstat/files/
Date: Sat, 20 Feb 2021 23:26:18 +0000 (UTC) [thread overview]
Message-ID: <1613858261.6bc33b33b7c919869ab6c5f03854f10b8b14a030.jakov.smolic@gentoo> (raw)
commit: 6bc33b33b7c919869ab6c5f03854f10b8b14a030
Author: Jakov Smolic <jakov.smolic <AT> sartura <DOT> hr>
AuthorDate: Sat Feb 20 20:25:45 2021 +0000
Commit: Jakov Smolić <jakov.smolic <AT> sartura <DOT> hr>
CommitDate: Sat Feb 20 21:57:41 2021 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=6bc33b33
sci-biology/samstat: Port to EAPI 7
Closes: https://bugs.gentoo.org/755773
Signed-off-by: Jakov Smolic <jakov.smolic <AT> sartura.hr>
.../samstat/files/samstat-1.5.1-fno-common.patch | 31 ++++++++++++++++++++++
sci-biology/samstat/samstat-1.5.1.ebuild | 9 +++----
2 files changed, 35 insertions(+), 5 deletions(-)
diff --git a/sci-biology/samstat/files/samstat-1.5.1-fno-common.patch b/sci-biology/samstat/files/samstat-1.5.1-fno-common.patch
new file mode 100644
index 000000000..d5bed9ed6
--- /dev/null
+++ b/sci-biology/samstat/files/samstat-1.5.1-fno-common.patch
@@ -0,0 +1,31 @@
+--- a/src/nuc_code.c
++++ b/src/nuc_code.c
+@@ -29,6 +29,9 @@
+ #include <stdlib.h>
+ #include "nuc_code.h"
+
++unsigned int rev_nuc_code[5];
++unsigned int nuc_code[256];
++
+
+ /** \fn void init_nuc_code()
+ \brief Initializes nucleotide conversion arrays.
+--- a/src/nuc_code.h
++++ b/src/nuc_code.h
+@@ -32,14 +32,14 @@
+ *
+ *
+ */
+-unsigned int nuc_code[256];
++extern unsigned int nuc_code[256];
+
+ /**
+ * @brief Converts 0-5 nucleotides into printable ASCII to.
+ *
+ *
+ */
+-unsigned int rev_nuc_code[5];
++extern unsigned int rev_nuc_code[5];
+
+ void init_nuc_code(void);
+
diff --git a/sci-biology/samstat/samstat-1.5.1.ebuild b/sci-biology/samstat/samstat-1.5.1.ebuild
index cf409eeb0..5f1922467 100644
--- a/sci-biology/samstat/samstat-1.5.1.ebuild
+++ b/sci-biology/samstat/samstat-1.5.1.ebuild
@@ -1,9 +1,7 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
-
-inherit eutils
+EAPI=7
DESCRIPTION="Statistics of BAM/SAM files"
HOMEPAGE="http://samstat.sourceforge.net" # no https
@@ -12,7 +10,8 @@ SRC_URI="https://sourceforge.net/projects/samstat/files/${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
-IUSE=""
DEPEND="sci-biology/samtools:="
RDEPEND="${DEPEND}"
+
+PATCHES=( "${FILESDIR}"/${P}-fno-common.patch )
reply other threads:[~2021-02-20 23:26 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=1613858261.6bc33b33b7c919869ab6c5f03854f10b8b14a030.jakov.smolic@gentoo \
--to=jakov.smolic@sartura.hr \
--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