summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/nsis/files/nsis-2.46-gcc47.patch')
-rw-r--r--dev-util/nsis/files/nsis-2.46-gcc47.patch15
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"