Mercurial > gub
changeset 6281:c5980a071dd7
Fix tools::nsis
util.h
author | Masamichi Hosoda <trueroad@users.noreply.github.com> |
---|---|
date | Sun, 16 Nov 2014 02:10:29 +0900 |
parents | 9518035a47e9 |
children | 04693165013a |
files | gub/specs/nsis.py patches/nsis-2.46-util.patch |
diffstat | 2 files changed, 14 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/gub/specs/nsis.py Sun Nov 16 01:02:23 2014 +0900 +++ b/gub/specs/nsis.py Sun Nov 16 02:10:29 2014 +0900 @@ -8,7 +8,10 @@ source = 'http://surfnet.dl.sourceforge.net/sourceforge/nsis/nsis-2.46-src.tar.bz2' #source = ':pserver:anonymous@nsis.cvs.sourceforge.net:/cvsroot/nsis&module=NSIS&tag=HEAD' dependencies = ['mingw::cross/gcc'] - patches = ['nsis-2.46-crossmingw.patch'] + patches = [ + 'nsis-2.46-crossmingw.patch', + 'nsis-2.46-util.patch', + ] scons_flags = misc.join_lines (''' DEBUG=yes NSIS_CONFIG_LOG=yes
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/nsis-2.46-util.patch Sun Nov 16 02:10:29 2014 +0900 @@ -0,0 +1,10 @@ +--- a/Source/util.h 2009-03-28 18:47:26.000000000 +0900 ++++ b/Source/util.h 2014-11-16 01:08:19.464124600 +0900 +@@ -27,6 +27,7 @@ + # include <stdio.h> + #endif + ++#include<unistd.h> + + // these are the standard pause-before-quit shit. + extern int g_dopause;