commit:     e7ea26f08a0d2a9b4c4f4c385a8c2488c073387c
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 12 20:17:28 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jul 12 20:17:28 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7ea26f0

sci-chemistry/autodock_vina: fix build w/ boost-1.85

Closes: https://bugs.gentoo.org/932237
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../autodock_vina/autodock_vina-1.2.5.ebuild        |  1 +
 .../files/autodock_vina-1.2.5-boost-1.85.patch      | 21 +++++++++++++++++++++
 2 files changed, 22 insertions(+)

diff --git a/sci-chemistry/autodock_vina/autodock_vina-1.2.5.ebuild 
b/sci-chemistry/autodock_vina/autodock_vina-1.2.5.ebuild
index e9edf1f9c991..a74066d3963a 100644
--- a/sci-chemistry/autodock_vina/autodock_vina-1.2.5.ebuild
+++ b/sci-chemistry/autodock_vina/autodock_vina-1.2.5.ebuild
@@ -23,6 +23,7 @@ DEPEND="${RDEPEND}"
 
 PATCHES=(
        "${FILESDIR}"/${P}-gentoo.patch
+       "${FILESDIR}"/${P}-boost-1.85.patch
 )
 
 src_prepare() {

diff --git 
a/sci-chemistry/autodock_vina/files/autodock_vina-1.2.5-boost-1.85.patch 
b/sci-chemistry/autodock_vina/files/autodock_vina-1.2.5-boost-1.85.patch
new file mode 100644
index 000000000000..55906b093a49
--- /dev/null
+++ b/sci-chemistry/autodock_vina/files/autodock_vina-1.2.5-boost-1.85.patch
@@ -0,0 +1,21 @@
+https://bugs.gentoo.org/932237
+--- a/src/lib/vina.h
++++ b/src/lib/vina.h
+@@ -35,7 +35,6 @@
+ #include <boost/program_options.hpp>
+ #include <boost/filesystem/fstream.hpp>
+ #include <boost/filesystem/exception.hpp>
+-#include <boost/filesystem/convenience.hpp> // filesystem::basename
+ #include <boost/thread/thread.hpp> // hardware_concurrency // FIXME rm ?
+ #include <boost/algorithm/string.hpp>
+ //#include <openbabel/mol.h>
+--- a/src/split/split.cpp
++++ b/src/split/split.cpp
+@@ -30,7 +30,6 @@
+ #include <boost/program_options.hpp>
+ #include <boost/filesystem/fstream.hpp>
+ #include <boost/filesystem/exception.hpp>
+-#include <boost/filesystem/convenience.hpp> // filesystem::basename
+ 
+ #include "file.h"
+ #include "parse_error.h"

Reply via email to