diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2013-11-16 07:36:31 +0100 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2013-11-16 13:58:33 -0600 |
commit | 1a0688bcdee7d07fb11768ddf8f526ddb01f2994 (patch) | |
tree | 8f8481c81224f3145ef7a68e990387aa47330f6a /development/Coin | |
parent | 6e9bf54759c7cef765984277b59cb9e0ca3430f6 (diff) |
development/Coin: Added a fix for gcc.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'development/Coin')
-rw-r--r-- | development/Coin/Coin.SlackBuild | 6 |
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" \ |