summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author titopoquito2024-05-02 07:14:11 +0200
committer Willy Sudiarto Raharjo2024-05-04 16:45:13 +0200
commitee170444a23837615e82b36ae65ecfe4d5a1f520 (patch)
treec4163dadf49a2026689743486cac7b1fcc1a1f75
parent2b25e7479c1c9005c8a45dd4e397904433ad4821 (diff)
downloadslackbuilds-ee170444a23837615e82b36ae65ecfe4d5a1f520.tar.gz
graphics/hugin: gzip patch.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--graphics/hugin/boost-1.85.0-patch16
-rw-r--r--graphics/hugin/boost-1.85.0-patch.gzbin0 -> 388 bytes
-rw-r--r--graphics/hugin/hugin.SlackBuild4
3 files changed, 2 insertions, 18 deletions
diff --git a/graphics/hugin/boost-1.85.0-patch b/graphics/hugin/boost-1.85.0-patch
deleted file mode 100644
index d2909ded9b..0000000000
--- a/graphics/hugin/boost-1.85.0-patch
+++ /dev/null
@@ -1,16 +0,0 @@
---- src/hugin_base/hugin_utils/filesystem.h.old 2023-05-08 20:19:14.000000000 +0200
-+++ src/hugin_base/hugin_utils/filesystem.h 2024-04-21 10:00:22.770138350 +0200
-@@ -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
diff --git a/graphics/hugin/boost-1.85.0-patch.gz b/graphics/hugin/boost-1.85.0-patch.gz
new file mode 100644
index 0000000000..d03ca9fd5e
--- /dev/null
+++ b/graphics/hugin/boost-1.85.0-patch.gz
Binary files differ
diff --git a/graphics/hugin/hugin.SlackBuild b/graphics/hugin/hugin.SlackBuild
index cd74672bfe..e90b451e18 100644
--- a/graphics/hugin/hugin.SlackBuild
+++ b/graphics/hugin/hugin.SlackBuild
@@ -35,7 +35,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=hugin
VERSION=${VERSION:-2023.0.0}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -79,7 +79,7 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
-patch -p0 <$CWD/boost-1.85.0-patch
+zcat $CWD/boost-1.85.0-patch | patch -p0
chown -R root:root .
find -L . \