* [gentoo-commits] proj/sci:master commit in: sci-biology/rnaplex/, sci-biology/rnaplex/files/
@ 2021-02-20 23:26 Jakov Smolić
0 siblings, 0 replies; only message in thread
From: Jakov Smolić @ 2021-02-20 23:26 UTC (permalink / raw
To: gentoo-commits
commit: 2b0744a231b93f5e09b63375005fb6e522999c9a
Author: Jakov Smolic <jakov.smolic <AT> sartura <DOT> hr>
AuthorDate: Sat Feb 20 20:21:18 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=2b0744a2
sci-biology/rnaplex: Port to EAPI 7
Closes: https://bugs.gentoo.org/755770
Signed-off-by: Jakov Smolic <jakov.smolic <AT> sartura.hr>
sci-biology/rnaplex/files/rnaplex-0.2-inline.patch | 14 ++++++++++++++
sci-biology/rnaplex/rnaplex-0.2.ebuild | 17 ++++++++++++-----
2 files changed, 26 insertions(+), 5 deletions(-)
diff --git a/sci-biology/rnaplex/files/rnaplex-0.2-inline.patch b/sci-biology/rnaplex/files/rnaplex-0.2-inline.patch
new file mode 100644
index 000000000..30d05cd97
--- /dev/null
+++ b/sci-biology/rnaplex/files/rnaplex-0.2-inline.patch
@@ -0,0 +1,14 @@
+--- a/lib/fold.c
++++ b/lib/fold.c
+@@ -64,9 +64,9 @@ PRIVATE void backtrack(const char *sequence, int s);
+ PRIVATE int fill_arrays(const char *sequence);
+ /*@unused@*/
+ INLINE PRIVATE int oldLoopEnergy(int i, int j, int p, int q, int type, int type_2);
+-INLINE int LoopEnergy(int n1, int n2, int type, int type_2,
++int LoopEnergy(int n1, int n2, int type, int type_2,
+ int si1, int sj1, int sp1, int sq1);
+-INLINE int HairpinE(int size, int type, int si1, int sj1, const char *string);
++int HairpinE(int size, int type, int si1, int sj1, const char *string);
+
+ #define MAXSECTORS 500 /* dimension for a backtrack array */
+ #define LOCALITY 0. /* locality parameter for base-pairs */
diff --git a/sci-biology/rnaplex/rnaplex-0.2.ebuild b/sci-biology/rnaplex/rnaplex-0.2.ebuild
index 11de0007c..5892f4676 100644
--- a/sci-biology/rnaplex/rnaplex-0.2.ebuild
+++ b/sci-biology/rnaplex/rnaplex-0.2.ebuild
@@ -1,17 +1,24 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=7
-MY_P=RNAplex-${PV}
+inherit flag-o-matic
+MY_P=RNAplex-${PV}
DESCRIPTION="RNA-RNA interaction search"
HOMEPAGE="http://www.bioinf.uni-leipzig.de/Software/RNAplex/"
SRC_URI="http://www.bioinf.uni-leipzig.de/Software/RNAplex/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-IUSE=""
KEYWORDS="~amd64 ~x86"
-S=${WORKDIR}/${MY_P}
+S="${WORKDIR}/${MY_P}"
+
+PATCHES=( "${FILESDIR}"/${P}-inline.patch )
+
+src_configure() {
+ append-cflags -fcommon
+ default
+}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2021-02-20 23:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-02-20 23:26 [gentoo-commits] proj/sci:master commit in: sci-biology/rnaplex/, sci-biology/rnaplex/files/ Jakov Smolić
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox