aboutsummaryrefslogtreecommitdiff
path: root/development
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@gmail.com>2012-09-19 08:14:31 +0700
committerRobby Workman <rworkman@slackbuilds.org>2012-09-18 22:52:47 -0500
commit20a0e1683a1597cd1581efb387194d97ce5a6913 (patch)
tree6202ccd831a8d5eaf814dc9a9b3350675ecc28d3 /development
parent692fd63390b29d7c676450512f9ead2b21508ea0 (diff)
development/pforth: Included a patch to fix build failure.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'development')
-rw-r--r--development/pforth/pforth-build.patch10
-rw-r--r--development/pforth/pforth.SlackBuild5
2 files changed, 14 insertions, 1 deletions
diff --git a/development/pforth/pforth-build.patch b/development/pforth/pforth-build.patch
new file mode 100644
index 000000000000..c3652fc42421
--- /dev/null
+++ b/development/pforth/pforth-build.patch
@@ -0,0 +1,10 @@
+--- Makefile.orig 2012-09-19 08:11:17.879915524 +0700
++++ Makefile 2012-09-19 08:11:34.512682577 +0700
+@@ -24,7 +24,6 @@
+ WIDTHOPT=
+
+ FULL_WARNINGS = \
+- -c89 \
+ -fsigned-char \
+ -fno-builtin \
+ -fno-unroll-loops \
diff --git a/development/pforth/pforth.SlackBuild b/development/pforth/pforth.SlackBuild
index ca9325917e70..4a58e6829257 100644
--- a/development/pforth/pforth.SlackBuild
+++ b/development/pforth/pforth.SlackBuild
@@ -3,10 +3,11 @@
# Slackware build script for pforth
# Written by Zbigniew Baniewski, zb@ispid.com.pl
+# Modified by Willy Sudiarto Raharjo <willysr@slackware-id.org>
PRGNAM=pforth
VERSION=v27
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
SRCVERSION=${VERSION}_20101121
@@ -56,6 +57,8 @@ find . \
# pforth.dic into "share"
sed -i "s/pforth.dic/\/usr\/share\/pforth\/${VERSION}\/pforth.dic/g" ../../csrc/pf_main.c
+patch -p0 < $CWD/pforth-build.patch
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
make all DESTDIR=$PKG