diff --git a/development/nsis/nsis-fix-compile.patch b/development/nsis/nsis-fix-compile.patch new file mode 100644 index 0000000000..62e9e43c5d --- /dev/null +++ b/development/nsis/nsis-fix-compile.patch @@ -0,0 +1,10 @@ +--- nsis-2.46-src/Source/script.cpp.orig 2012-09-19 07:37:04.579646966 +0700 ++++ nsis-2.46-src/Source/script.cpp 2012-09-19 07:37:34.676226671 +0700 +@@ -16,6 +16,7 @@ + + #include "Platform.h" + #include ++#include + #include + #include "tokens.h" + #include "build.h" 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 \