summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 0000000000..c3652fc424
--- /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 ca9325917e..4a58e68292 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