aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Meier <maekke@gentoo.org>2024-09-13 23:10:06 +0200
committerMarkus Meier <maekke@gentoo.org>2024-09-13 23:10:06 +0200
commit4042c64bfd32dd2063c35b923e5cfd94afb9a6b6 (patch)
tree93cb24b8e517740107884d0ceb96009ea664f8fa /media-gfx
parentmedia-gfx/darktable: use :* for kwallet dependency (diff)
downloadmaekke-4042c64bfd32dd2063c35b923e5cfd94afb9a6b6.tar.gz
maekke-4042c64bfd32dd2063c35b923e5cfd94afb9a6b6.tar.bz2
maekke-4042c64bfd32dd2063c35b923e5cfd94afb9a6b6.zip
media-gfx/hugin: add missing files
Signed-off-by: Markus Meier <maekke@gentoo.org>
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/hugin/files/boost-1.85-932315.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/media-gfx/hugin/files/boost-1.85-932315.patch b/media-gfx/hugin/files/boost-1.85-932315.patch
new file mode 100644
index 0000000..e8fc5c2
--- /dev/null
+++ b/media-gfx/hugin/files/boost-1.85-932315.patch
@@ -0,0 +1,25 @@
+# HG changeset patch
+# User tmodes
+# Date 1710260877 -3600
+# Tue Mar 12 17:27:57 2024 +0100
+# Node ID 4d081490b48aaff820cee7601b8624b37b652c06
+# Parent 4b55f17c4e72d6c2f8b4930e3367ff52e1741b45
+Fixed deprecated boost::filesystem::copy_option enum
+
+diff -r 4b55f17c4e72 -r 4d081490b48a src/hugin_base/hugin_utils/filesystem.h
+--- a/src/hugin_base/hugin_utils/filesystem.h Tue Mar 12 17:27:29 2024 +0100
++++ b/src/hugin_base/hugin_utils/filesystem.h Tue Mar 12 17:27:57 2024 +0100
+@@ -64,6 +64,12 @@
+ #endif
+ #include <boost/filesystem.hpp>
+ namespace fs = boost::filesystem;
+- #define OVERWRITE_EXISTING boost::filesystem::copy_option::overwrite_if_exists
++ #if BOOST_VERSION>=107400
++ // in Boost 1.74 and later filesystem::copy_option is deprecated
++ // use filesystem::copy_options instead
++ #define OVERWRITE_EXISTING boost::filesystem::copy_options::overwrite_existing
++ #else
++ #define OVERWRITE_EXISTING boost::filesystem::copy_option::overwrite_if_exists
++ #endif
+ #endif
+ #endif // _HUGIN_UTILS_FILESYSTEM_H