summaryrefslogtreecommitdiff
path: root/development/nsis/nsis.SlackBuild
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@gmail.com>2012-09-19 07:44:10 +0700
committerRobby Workman <rworkman@slackbuilds.org>2012-09-18 23:06:36 -0500
commita9249246ec7fff0266c6608e19551d9117f467b6 (patch)
tree5c87f55ed17691c32005240fdda4db8c3feba8b4 /development/nsis/nsis.SlackBuild
parentf38d8f9bf12983ed4cbfbf4d3be6347515b0bd86 (diff)
downloadslackbuilds-a9249246ec7fff0266c6608e19551d9117f467b6.tar.gz
development/nsis: Include unistd.h to fix compile.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'development/nsis/nsis.SlackBuild')
-rw-r--r--development/nsis/nsis.SlackBuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/development/nsis/nsis.SlackBuild b/development/nsis/nsis.SlackBuild
index 5b5a9d6e66..12ea856ec6 100644
--- a/development/nsis/nsis.SlackBuild
+++ b/development/nsis/nsis.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=nsis
VERSION=2.46
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
@@ -72,6 +72,8 @@ unzip $CWD/$PRGNAM-$VERSION.zip -d $PKG/usr/lib${LIBDIRSUFFIX}
chown -R root:root $PKG/usr/lib${LIBDIRSUFFIX}/$PRGNAM-$VERSION
chmod -R u+w,go+r-w,a-s $PKG/usr/lib${LIBDIRSUFFIX}/$PRGNAM-$VERSION
+patch -p1 < $CWD/nsis-fix-compile.patch
+
# PREFIX=$PKG/usr/lib${LIBDIRSUFFIX}/$PRGNAM-$VERSION search located zip extracted dir.
# *makensis* will be placed in $PKG/usr/lib${LIBDIRSUFFIX}/$PRGNAM-$VERSION
scons \