-
Notifications
You must be signed in to change notification settings - Fork 6.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/master' into HEAD
# Conflicts: # ports/aws-sdk-cpp/vcpkg.json # versions/a-/aws-sdk-cpp.json # versions/baseline.json
- Loading branch information
Showing
597 changed files
with
5,334 additions
and
3,247 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
46 changes: 46 additions & 0 deletions
46
ports/autodock-vina/fix-compatibility-with-boost-1.83.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
From 4a7935e1f8d1756cbeafb2564066551f9bd766f0 Mon Sep 17 00:00:00 2001 | ||
From: jjll <[email protected]> | ||
Date: Wed, 6 Sep 2023 14:25:30 +0200 | ||
Subject: [PATCH] compatibility boost >= 1.83 | ||
|
||
--- | ||
src/lib/parallel_progress.h | 11 +++++++++-- | ||
1 file changed, 9 insertions(+), 2 deletions(-) | ||
|
||
diff --git a/src/lib/parallel_progress.h b/src/lib/parallel_progress.h | ||
index 958b170..ee938d9 100755 | ||
--- a/src/lib/parallel_progress.h | ||
+++ b/src/lib/parallel_progress.h | ||
@@ -23,7 +23,14 @@ | ||
#ifndef VINA_PARALLEL_PROGRESS_H | ||
#define VINA_PARALLEL_PROGRESS_H | ||
|
||
+#include <boost/version.hpp> | ||
+#if BOOST_VERSION < 107200 | ||
#include <boost/progress.hpp> | ||
+typedef boost::progress_display boost_progress; | ||
+#else | ||
+#include <boost/timer/progress_display.hpp> | ||
+typedef boost::timer::progress_display boost_progress; | ||
+#endif | ||
#include <boost/thread/mutex.hpp> | ||
|
||
#include <functional> | ||
@@ -34,7 +41,7 @@ struct parallel_progress : public incrementable { | ||
parallel_progress(std::function<void(double)>* c = NULL) : p(NULL), callback(c) {} | ||
void init(unsigned long n) { | ||
count = n; | ||
- p = new boost::progress_display(count); | ||
+ p = new boost_progress(count); | ||
} | ||
void operator++() { | ||
if(p) { | ||
@@ -47,7 +54,7 @@ struct parallel_progress : public incrementable { | ||
virtual ~parallel_progress() { delete p; } | ||
private: | ||
boost::mutex self; | ||
- boost::progress_display* p; | ||
+ boost_progress* p; | ||
std::function<void(double)>* callback; | ||
unsigned long count; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.