From 20a0e1683a1597cd1581efb387194d97ce5a6913 Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Wed, 19 Sep 2012 08:14:31 +0700 Subject: development/pforth: Included a patch to fix build failure. Signed-off-by: Robby Workman --- development/pforth/pforth-build.patch | 10 ++++++++++ development/pforth/pforth.SlackBuild | 5 ++++- 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 development/pforth/pforth-build.patch (limited to 'development/pforth') 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 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 -- cgit v1.2.3