diff options
Diffstat (limited to 'office/gnucash')
-rw-r--r-- | office/gnucash/gnucash-boost-1.73.patch | 10 | ||||
-rw-r--r-- | office/gnucash/gnucash.SlackBuild | 11 |
2 files changed, 16 insertions, 5 deletions
diff --git a/office/gnucash/gnucash-boost-1.73.patch b/office/gnucash/gnucash-boost-1.73.patch new file mode 100644 index 0000000000000..ab3a015199472 --- /dev/null +++ b/office/gnucash/gnucash-boost-1.73.patch @@ -0,0 +1,10 @@ +--- gnucash/import-export/csv-imp/gnc-imp-settings-csv.hpp.orig 2020-05-11 19:38:43.108485371 +0000 ++++ gnucash/import-export/csv-imp/gnc-imp-settings-csv.hpp +@@ -34,6 +34,7 @@ extern "C" { + #include "gnc-commodity.h" + } + ++#include <algorithm> + #include <string> + #include <vector> + #include <boost/optional.hpp> diff --git a/office/gnucash/gnucash.SlackBuild b/office/gnucash/gnucash.SlackBuild index 9113f8d68d230..ae678bba6950b 100644 --- a/office/gnucash/gnucash.SlackBuild +++ b/office/gnucash/gnucash.SlackBuild @@ -25,7 +25,7 @@ PRGNAM=gnucash VERSION=${VERSION:-3.10} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PACKAGER=${PACKAGER:-"Just Another Slacker"} @@ -101,9 +101,6 @@ else W_PYTHON="-DWITH_PYTHON=OFF" fi -# New option to build with ninja: -NINJA=${NINJA:-"no"} - set -e rm -rf $PKG @@ -119,7 +116,11 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -if [ $NINJA = "yes" ]; then +# Patch for the newest boost (will be in gncuash 3.11) +patch -p0 < $CWD/gnucash-boost-1.73.patch + +# New option to build with ninja: +if [ "${NINJA:-no}" = "yes" ]; then echo "building using Ninja:" NINJABUILD="-GNinja" else |