From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C09141382C5 for ; Sat, 20 Feb 2021 23:26:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 11774E0880; Sat, 20 Feb 2021 23:26:28 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id F018AE0880 for ; Sat, 20 Feb 2021 23:26:27 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B5701340E4C for ; Sat, 20 Feb 2021 23:26:26 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 278FC4F1 for ; Sat, 20 Feb 2021 23:26:18 +0000 (UTC) From: "Jakov Smolić" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jakov Smolić" Message-ID: <1613858261.6bc33b33b7c919869ab6c5f03854f10b8b14a030.jakov.smolic@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: sci-biology/samstat/, sci-biology/samstat/files/ X-VCS-Repository: proj/sci X-VCS-Files: sci-biology/samstat/files/samstat-1.5.1-fno-common.patch sci-biology/samstat/samstat-1.5.1.ebuild X-VCS-Directories: sci-biology/samstat/ sci-biology/samstat/files/ X-VCS-Committer: jakov.smolic X-VCS-Committer-Name: Jakov Smolić X-VCS-Revision: 6bc33b33b7c919869ab6c5f03854f10b8b14a030 X-VCS-Branch: master Date: Sat, 20 Feb 2021 23:26:18 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: b5e85199-a3ec-44b8-943d-eeab2829a08f X-Archives-Hash: caf605b8325710c2c8cfb4bccef0f790 commit: 6bc33b33b7c919869ab6c5f03854f10b8b14a030 Author: Jakov Smolic sartura hr> AuthorDate: Sat Feb 20 20:25:45 2021 +0000 Commit: Jakov Smolić sartura 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 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 + #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 )