diff --git a/srcpkgs/gosu/patches/stdexcept.patch b/srcpkgs/gosu/patches/stdexcept.patch new file mode 100644 index 00000000000..f865b18de15 --- /dev/null +++ b/srcpkgs/gosu/patches/stdexcept.patch @@ -0,0 +1,120 @@ +diff --git src/DrawOpQueue.hpp src/DrawOpQueue.hpp +index 3a463ce..b06515f 100644 +--- src/DrawOpQueue.hpp ++++ src/DrawOpQueue.hpp +@@ -10,6 +10,7 @@ + #include + #include + #include ++#include + + class Gosu::DrawOpQueue + { +diff --git src/Font.cpp src/Font.cpp +index b2c0152..5bcacad 100644 +--- src/Font.cpp ++++ src/Font.cpp +@@ -10,6 +10,7 @@ + #include + #include + #include ++#include + using namespace std; + + static const int FONT_RENDER_SCALE = 2; +diff --git src/Graphics.cpp src/Graphics.cpp +index 0028269..db03fb2 100644 +--- src/Graphics.cpp ++++ src/Graphics.cpp +@@ -13,6 +13,7 @@ + #include + #include + #include ++#include + using namespace std; + + namespace Gosu +diff --git src/LargeImageData.cpp src/LargeImageData.cpp +index c0cbe0d..568a126 100644 +--- src/LargeImageData.cpp ++++ src/LargeImageData.cpp +@@ -3,6 +3,7 @@ + #include + #include + #include ++#include + using namespace std; + + Gosu::LargeImageData::LargeImageData(const Bitmap& source, int tile_width, int tile_height, +diff --git src/OffScreenTarget.cpp src/OffScreenTarget.cpp +index 7044777..0ec7625 100644 +--- src/OffScreenTarget.cpp ++++ src/OffScreenTarget.cpp +@@ -5,6 +5,7 @@ + #ifndef GOSU_IS_IPHONE + #include + #endif ++#include + using namespace std; + + #ifdef GOSU_IS_OPENGLES +diff --git src/RubyGosu.cxx src/RubyGosu.cxx +index 1825875..ae66a71 100644 +--- src/RubyGosu.cxx ++++ src/RubyGosu.cxx +@@ -17,6 +17,7 @@ + + + #ifdef __cplusplus ++#include + /* SwigValueWrapper is described in swig.swg */ + template class SwigValueWrapper { + struct SwigMovePointer { +diff --git src/SndFile.hpp src/SndFile.hpp +index 11e06c1..df17785 100644 +--- src/SndFile.hpp ++++ src/SndFile.hpp +@@ -9,6 +9,7 @@ + #define NOMINMAX + #include + #endif ++#include + + namespace Gosu + { +diff --git src/Text.cpp src/Text.cpp +index 3641fad..f874b03 100644 +--- src/Text.cpp ++++ src/Text.cpp +@@ -7,6 +7,7 @@ + #include + #include + #include ++#include + using namespace std; + + double Gosu::text_width(const u32string& text, +diff --git src/TrueTypeFont.cpp src/TrueTypeFont.cpp +index e891015..40ed6b6 100644 +--- src/TrueTypeFont.cpp ++++ src/TrueTypeFont.cpp +@@ -17,6 +17,7 @@ + + #include + #include ++#include + using namespace std; + + struct Gosu::TrueTypeFont::Impl +diff --git src/WindowUIKit.cpp src/WindowUIKit.cpp +index fc5060c..14ea73f 100644 +--- src/WindowUIKit.cpp ++++ src/WindowUIKit.cpp +@@ -3,6 +3,7 @@ + + #include "GosuViewController.hpp" + #include ++#include + + using namespace std; +