summaryrefslogtreecommitdiff
path: root/games/bombherman/files/patch-src-display-display.cpp
diff options
context:
space:
mode:
authorRusmir Dusko <nemysis@FreeBSD.org>2013-10-21 21:23:34 +0000
committerRusmir Dusko <nemysis@FreeBSD.org>2013-10-21 21:23:34 +0000
commit238e1b9f9788623aa7e9f99f5eb867e914c44e91 (patch)
tree17f8e6909dd5c79e2db0c5a798d7151db87f1842 /games/bombherman/files/patch-src-display-display.cpp
parentaudio/audacity: link against ffmpeg0 (diff)
- Change Makefile header
- Change master sites remove GH - Change maintainer email to @FreeBSD.org - USE_GNOME cairo instead of graphics/cairo - Add DOCS Option - Support STAGEDIR and add OPTIONS_SUB - Add patch, fix build with Clang Approved by: pawel / wg (mentors, implicit)
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();
+ }