graphics/hugin: gzip patch.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
titopoquito 2024-05-02 12:14:11 +07:00 committed by Willy Sudiarto Raharjo
parent 2b25e7479c
commit ee170444a2
No known key found for this signature in database
GPG key ID: 3F617144D7238786
3 changed files with 2 additions and 18 deletions

View file

@ -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

Binary file not shown.

View file

@ -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 . \