summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 b053855fb4..f8a58b43c3 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" \