summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2020-02-08 11:55:49 +0100
committerDavid Seifert <soap@gentoo.org>2020-02-08 11:55:49 +0100
commitbbc280302422f9a4e29bc5867894f415d8a3ec0d (patch)
tree3b5ee7facfe3e6a3a6c6dd2a45be5e2a3b55fd72 /sci-chemistry/autodock_vina/files/autodock_vina-1.1.2-missing-debug-decl.patch
parentprofiles/arch/powerpc/ppc64/64ul: force dev-libs/efl[lua] (diff)
downloadgentoo-bbc280302422f9a4e29bc5867894f415d8a3ec0d.tar.gz
gentoo-bbc280302422f9a4e29bc5867894f415d8a3ec0d.tar.bz2
gentoo-bbc280302422f9a4e29bc5867894f415d8a3ec0d.zip
sci-chemistry/autodock_vina: Port to EAPI 7
Package-Manager: Portage-2.3.87, Repoman-2.3.20 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'sci-chemistry/autodock_vina/files/autodock_vina-1.1.2-missing-debug-decl.patch')
-rw-r--r--sci-chemistry/autodock_vina/files/autodock_vina-1.1.2-missing-debug-decl.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/sci-chemistry/autodock_vina/files/autodock_vina-1.1.2-missing-debug-decl.patch b/sci-chemistry/autodock_vina/files/autodock_vina-1.1.2-missing-debug-decl.patch
new file mode 100644
index 000000000000..c68adb1bff21
--- /dev/null
+++ b/sci-chemistry/autodock_vina/files/autodock_vina-1.1.2-missing-debug-decl.patch
@@ -0,0 +1,11 @@
+--- a/src/lib/quaternion.h
++++ b/src/lib/quaternion.h
+@@ -70,6 +70,8 @@
+ return sqr(q.R_component_1()) + sqr(q.R_component_2()) + sqr(q.R_component_3()) + sqr(q.R_component_4());
+ }
+
++bool quaternion_is_normalized(const qt& q);
++
+ inline void quaternion_normalize(qt& q) {
+ const fl s = quaternion_norm_sqr(q);
+ assert(eq(s, sqr(boost::math::abs(q))));