commit: e3f47e5d698809e572c10bda6e4929f2794f9860 Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org> AuthorDate: Sat Oct 15 14:20:17 2022 +0000 Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org> CommitDate: Sat Oct 15 20:06:44 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3f47e5d
sci-biology/stride: fix build w/ upcoming clang16 Note that the implicit int is part of the update patch. Closes: https://bugs.gentoo.org/874069 Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org> sci-biology/stride/files/stride-20011129-clang16.patch | 15 +++++++++++++++ sci-biology/stride/stride-20011129-r1.ebuild | 3 ++- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/sci-biology/stride/files/stride-20011129-clang16.patch b/sci-biology/stride/files/stride-20011129-clang16.patch new file mode 100644 index 000000000000..e1e4383a3281 --- /dev/null +++ b/sci-biology/stride/files/stride-20011129-clang16.patch @@ -0,0 +1,15 @@ +https://bugs.gentoo.org/874069 +--- a/hydrbond.c ++++ b/hydrbond.c +@@ -293,3 +293,3 @@ + int dc, ac, ccd, cca, cc, hc=0, i; +- void (*HBOND_Energy)(); ++ void (*HBOND_Energy)(float*, float*, float*, float*, float*, COMMAND*, HBOND*); + BUFFER Text; +--- a/p_atom.c ++++ b/p_atom.c +@@ -11,3 +11,3 @@ + RESIDUE *r; +- register i; ++ register int i; + diff --git a/sci-biology/stride/stride-20011129-r1.ebuild b/sci-biology/stride/stride-20011129-r1.ebuild index a8681b7f924e..9638fd559b55 100644 --- a/sci-biology/stride/stride-20011129-r1.ebuild +++ b/sci-biology/stride/stride-20011129-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -22,6 +22,7 @@ PATCHES=( # version which was kindly provided by the author "${S}"/${PN}-20060723-update.patch "${FILESDIR}"/${PN}-20011129-fix-buildsystem.patch + "${FILESDIR}"/${PN}-20011129-clang16.patch ) src_configure() {
