summaryrefslogtreecommitdiff
path: root/games/bombherman/files/patch-src-display-display.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'games/bombherman/files/patch-src-display-display.cpp')
-rw-r--r--games/bombherman/files/patch-src-display-display.cpp22
1 files changed, 22 insertions, 0 deletions
diff --git a/games/bombherman/files/patch-src-display-display.cpp b/games/bombherman/files/patch-src-display-display.cpp
new file mode 100644
index 000000000000..0eaee6e99363
--- /dev/null
+++ b/games/bombherman/files/patch-src-display-display.cpp
@@ -0,0 +1,22 @@
+--- src/display/display.cpp.orig 2012-05-26 11:11:52.000000000 +0200
++++ src/display/display.cpp 2013-09-17 10:22:23.000000000 +0200
+@@ -20,7 +20,7 @@
+ #include "display.hpp"
+
+ #include <sstream>
+-#include <librsvg/rsvg-cairo.h>
++#include <librsvg/rsvg.h>
+ #include <cairo.h>
+
+ #include "game/player.hpp"
+@@ -116,7 +116,9 @@
+ throw exceptions::display::NoSDLException("Can't init use of TrueType fonts");
+ }
+
+- g_type_init();
++ #if !GLIB_CHECK_VERSION(2,35,0)
++ g_type_init();
++ #endif
+
+ setMode();
+ }