Browse Source

d/nsis: Updated for Slackware 14.0.

slackware-14.2
Damien Goutte-Gattat 9 years ago
parent
commit
5ff1329006
  1. 11
      d/nsis/nsis-2.46-missing-header.diff
  2. 5
      d/nsis/nsis.SlackBuild

11
d/nsis/nsis-2.46-missing-header.diff

@ -0,0 +1,11 @@
diff -Naur nsis-2.46-src.orig/Source/script.cpp nsis-2.46-src/Source/script.cpp
--- nsis-2.46-src.orig/Source/script.cpp 2009-06-10 23:26:01.000000000 +0200
+++ nsis-2.46-src/Source/script.cpp 2013-07-28 20:43:03.694918970 +0200
@@ -16,6 +16,7 @@
#include "Platform.h"
#include <stdio.h>
+#include <unistd.h>
#include <ctype.h>
#include "tokens.h"
#include "build.h"

5
d/nsis/nsis.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2009,2010,2011 Damien Goutte-Gattat
# Copyright (C) 2009,2010,2011,2013 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -40,7 +40,7 @@ WGET=${WGET:-http://downloads.sourceforge.net/nsis/$ARCHIVE}
# Built package infos
NAMEPKG=${NAMEPKG:-nsis}
BUILD=${BUILD:-2GGD}
BUILD=${BUILD:-3GGD}
ARCH=${ARCH:-i486}
EXT=${EXT:-txz}
@ -89,6 +89,7 @@ echo "Building $ARCHIVE..."
tar xf $CWD/$ARCHIVE
cd $NAME
find . -type f -exec chmod 644 {} \;
patch -p 1 < $CWD/nsis-2.46-missing-header.diff
CFLAGS=$CPUOPT \
CXXFLAGS=$CPUOPT \
scons install \

Loading…
Cancel
Save