diff options
author | Brahmajit Das <brahmajit.xyz@gmail.com> | 2023-06-17 06:22:09 +0000 |
---|---|---|
committer | Andrew Ammerlaan <andrewammerlaan@gentoo.org> | 2023-09-11 09:37:27 +0200 |
commit | 40119f3fb7d6b6327d75d40be30a5cbc2b9dc6e4 (patch) | |
tree | 29500f8260db9bc8baa76e1cc2851d589e41a3ad | |
parent | media-sound/qsampler: bump to 0.9.11 (diff) | |
download | gentoo-40119f3fb7d6b6327d75d40be30a5cbc2b9dc6e4.tar.gz gentoo-40119f3fb7d6b6327d75d40be30a5cbc2b9dc6e4.tar.bz2 gentoo-40119f3fb7d6b6327d75d40be30a5cbc2b9dc6e4.zip |
sci-biology/pilercr: Fix error: ISO C++17 does not allow register storage class specifier
Closes: https://bugs.gentoo.org/898124
Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/31498
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
-rw-r--r-- | sci-biology/pilercr/files/pilercr-1.0-drop-registers.patch | 14 | ||||
-rw-r--r-- | sci-biology/pilercr/pilercr-1.0-r3.ebuild | 29 |
2 files changed, 43 insertions, 0 deletions
diff --git a/sci-biology/pilercr/files/pilercr-1.0-drop-registers.patch b/sci-biology/pilercr/files/pilercr-1.0-drop-registers.patch new file mode 100644 index 000000000000..ab1535b4a767 --- /dev/null +++ b/sci-biology/pilercr/files/pilercr-1.0-drop-registers.patch @@ -0,0 +1,14 @@ +--- a/comp.cpp ++++ b/comp.cpp +@@ -28,7 +28,7 @@ void Complement(char *seq, int len) + /* Complement and reverse sequence */
+
+
+- { register unsigned char *s, *t;
++ { unsigned char *s, *t;
+ int c;
+
+
+old mode 100644 +new mode 100755 +Binary files a/pilercr and b/pilercr differ diff --git a/sci-biology/pilercr/pilercr-1.0-r3.ebuild b/sci-biology/pilercr/pilercr-1.0-r3.ebuild new file mode 100644 index 000000000000..5e73cddf5a10 --- /dev/null +++ b/sci-biology/pilercr/pilercr-1.0-r3.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +DESCRIPTION="Analysis of Clustered Regularly Interspaced Short Palindromic Repeats (CRISPRs)" +HOMEPAGE="http://www.drive5.com/pilercr/" +SRC_URI="http://www.drive5.com/pilercr/pilercr1.06.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}" + +LICENSE="public-domain" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +PATCHES=( + "${FILESDIR}"/${PN}-1.0-fix-build-system.patch + "${FILESDIR}"/${PN}-1.0-gcc43.patch + "${FILESDIR}"/${PN}-1.0-drop-registers.patch +) + +src_configure() { + tc-export CXX +} + +src_install() { + dobin pilercr +} |