summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2022-10-15 10:20:17 -0400
committerIonen Wolkens <ionen@gentoo.org>2022-10-15 16:06:44 -0400
commite3f47e5d698809e572c10bda6e4929f2794f9860 (patch)
treed3f2d0a755ed289dafe124524bc5874c6da858a4 /sci-biology/stride
parentapp-emulation/wine-vanilla: add 7.19 (diff)
downloadgentoo-e3f47e5d698809e572c10bda6e4929f2794f9860.tar.gz
gentoo-e3f47e5d698809e572c10bda6e4929f2794f9860.tar.bz2
gentoo-e3f47e5d698809e572c10bda6e4929f2794f9860.zip
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@gentoo.org>
Diffstat (limited to 'sci-biology/stride')
-rw-r--r--sci-biology/stride/files/stride-20011129-clang16.patch15
-rw-r--r--sci-biology/stride/stride-20011129-r1.ebuild3
2 files changed, 17 insertions, 1 deletions
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() {