mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
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:
parent
0a9730dd9e
commit
9c270f89fd
2 changed files with 16 additions and 5 deletions
10
office/gnucash/gnucash-boost-1.73.patch
Normal file
10
office/gnucash/gnucash-boost-1.73.patch
Normal 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>
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue