mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-18 22:06:04 +01:00
development/Coin: Added a fix for gcc.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
parent
6e9bf54759
commit
1a0688bcde
1 changed files with 5 additions and 1 deletions
|
@ -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" \
|
||||
|
|
Loading…
Reference in a new issue