From: | "Kacper Kowalik (xarthisius)" <xarthisius@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-util/nsis/files: nsis-2.46-gcc47.patch |
Date: | Sun, 03 Mar 2013 12:10:44 |
Message-Id: | 20130303121026.3A2592171E@flycatcher.gentoo.org |
1 | xarthisius 13/03/03 12:10:26 |
2 | |
3 | Added: nsis-2.46-gcc47.patch |
4 | Log: |
5 | Fix building with gcc-4.7 wrt #421871 by Danny Robson <danny@×××××××××.net>. Thanks to Rion <rion4ik@×××××.com> for suggestion regarding fix |
6 | |
7 | (Portage version: 2.2.0_alpha161/cvs/Linux x86_64, signed Manifest commit with key 895192F9) |
8 | |
9 | Revision Changes Path |
10 | 1.1 dev-util/nsis/files/nsis-2.46-gcc47.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/nsis/files/nsis-2.46-gcc47.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/nsis/files/nsis-2.46-gcc47.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: nsis-2.46-gcc47.patch |
16 | =================================================================== |
17 | Fix building with gcc-4.7 |
18 | |
19 | https://bugs.gentoo.org/show_bug.cgi?id=421871 |
20 | |
21 | Patch written by Kacper Kowalik <xarthisius@g.o> |
22 | --- a/Source/util.h |
23 | +++ b/Source/util.h |
24 | @@ -18,6 +18,7 @@ |
25 | #define _UTIL_H_ |
26 | |
27 | #include <string> // for std::string |
28 | +#include <unistd.h> |
29 | |
30 | #include "boost/scoped_ptr.hpp" // for boost::scoped_ptr |
31 | #include "ResourceEditor.h" |