aboutsummaryrefslogtreecommitdiff
path: root/development
diff options
context:
space:
mode:
Diffstat (limited to 'development')
-rw-r--r--development/Coin/Coin.SlackBuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/development/Coin/Coin.SlackBuild b/development/Coin/Coin.SlackBuild
index b053855fb43b..f8a58b43c393 100644
--- a/development/Coin/Coin.SlackBuild
+++ b/development/Coin/Coin.SlackBuild
@@ -8,7 +8,7 @@
PRGNAM=Coin
VERSION=${VERSION:-3.1.3}
-BUILD=${BUILD:-3}
+BUILD=${BUILD:-4}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -64,6 +64,10 @@ find . \
# Thanks Debian
patch -p1 < $CWD/coin-include_and_js.patch
+# fix compilation - from AUR
+sed -i \
+ '/^#include "fonts\/freetype.h"$/i #include <cstdlib>\n#include <cmath>' \
+ src/fonts/freetype.cpp
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \