diff options
Diffstat (limited to 'system/par2cmdline/par2cmdline.SlackBuild')
-rw-r--r-- | system/par2cmdline/par2cmdline.SlackBuild | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/system/par2cmdline/par2cmdline.SlackBuild b/system/par2cmdline/par2cmdline.SlackBuild index 9029aa04181af..5cf9b2cb5dfb8 100644 --- a/system/par2cmdline/par2cmdline.SlackBuild +++ b/system/par2cmdline/par2cmdline.SlackBuild @@ -15,7 +15,7 @@ VERSION=0.4 ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -CWD=`pwd` +CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -35,6 +35,10 @@ cd $PRGNAM-$VERSION || exit 1 chown -R root:root . chmod -R u+w,go+r-w,a-s . +# Apply the patch for gcc-4.x.x (Thanks to Neil Ord for pointing +# this one out in ##Slackware) +cat $CWD/$PRGNAM-$VERSION-gcc4.patch | patch -p0 || exit 1 + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ |