diff options
author | 2013-03-03 12:10:26 +0000 | |
---|---|---|
committer | 2013-03-03 12:10:26 +0000 | |
commit | 12f71b3d87ba54812a2b3f9f7b7beba098f73250 (patch) | |
tree | f0467d40fc625e0f4765e1f451609ac434bd245a /dev-util/nsis/files | |
parent | Stable for amd64, wrt bug #460058 (diff) | |
download | gentoo-2-12f71b3d87ba54812a2b3f9f7b7beba098f73250.tar.gz gentoo-2-12f71b3d87ba54812a2b3f9f7b7beba098f73250.tar.bz2 gentoo-2-12f71b3d87ba54812a2b3f9f7b7beba098f73250.zip |
Fix building with gcc-4.7 wrt #421871 by Danny Robson <danny@nerdcruft.net>. Thanks to Rion <rion4ik@gmail.com> for suggestion regarding fix
(Portage version: 2.2.0_alpha161/cvs/Linux x86_64, signed Manifest commit with key 895192F9)
Diffstat (limited to 'dev-util/nsis/files')
-rw-r--r-- | dev-util/nsis/files/nsis-2.46-gcc47.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/dev-util/nsis/files/nsis-2.46-gcc47.patch b/dev-util/nsis/files/nsis-2.46-gcc47.patch new file mode 100644 index 000000000000..e64a8b6ba43f --- /dev/null +++ b/dev-util/nsis/files/nsis-2.46-gcc47.patch @@ -0,0 +1,15 @@ +Fix building with gcc-4.7 + +https://bugs.gentoo.org/show_bug.cgi?id=421871 + +Patch written by Kacper Kowalik <xarthisius@gentoo.org> +--- a/Source/util.h ++++ b/Source/util.h +@@ -18,6 +18,7 @@ + #define _UTIL_H_ + + #include <string> // for std::string ++#include <unistd.h> + + #include "boost/scoped_ptr.hpp" // for boost::scoped_ptr + #include "ResourceEditor.h" |