office/gnucash: Patched.

Signed-off-by: Dave Woodfall <dave@slackbuilds.org>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Lenard Spencer 2020-05-14 18:57:14 +01:00 committed by Willy Sudiarto Raharjo
parent 0a9730dd9e
commit 9c270f89fd
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 16 additions and 5 deletions

View file

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

View file

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