/[gentoo-x86]/dev-cpp/gtksourceviewmm/files/gtksourceviewmm-2.10.2-glib-2.31.patch
Gentoo

Contents of /dev-cpp/gtksourceviewmm/files/gtksourceviewmm-2.10.2-glib-2.31.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Wed May 2 07:17:04 2012 UTC (2 years, 4 months ago) by tetromino
Branch: MAIN
Fix building with >=glib-2.31 (bug #414127, thanks to salamanderrake for reporting).

(Portage version: 2.2.0_alpha101/cvs/Linux x86_64)

1 Fix build with glib 2.31
2
3 Patch by Dominique Leuenberger <dimstar@opensuse.org>
4
5 https://bugzilla.gnome.org/show_bug.cgi?id=666651
6
7 Index: gtksourceviewmm-2.10.2/gtksourceview/gtksourceviewmm/sourceiter.cc
8 ===================================================================
9 --- a/gtksourceviewmm-2.10.2/gtksourceview/gtksourceviewmm/sourceiter.cc
10 +++ b/gtksourceviewmm-2.10.2/gtksourceview/gtksourceviewmm/sourceiter.cc
11 @@ -28,7 +28,7 @@
12 */
13
14 #include "sourceiter.h"
15 -#include <glib/gmessages.h>
16 +#include <glib.h>
17 #include <gtksourceview/gtksourceview-typebuiltins.h>
18 namespace gtksourceview
19 {
20 Index: gtksourceviewmm-2.10.2/gtksourceview/src/sourceiter.ccg
21 ===================================================================
22 --- a/gtksourceviewmm-2.10.2/gtksourceview/src/sourceiter.ccg
23 +++ b/gtksourceviewmm-2.10.2/gtksourceview/src/sourceiter.ccg
24 @@ -21,7 +21,7 @@
25 */
26
27 #include "sourceiter.h"
28 -#include <glib/gmessages.h>
29 +#include <glib.h>
30 #include <gtksourceview/gtksourceview-typebuiltins.h>
31 namespace gtksourceview
32 {
33 Index: gtksourceviewmm-2.10.2/tests/search/main.cc
34 ===================================================================
35 --- a/gtksourceviewmm-2.10.2/tests/search/main.cc
36 +++ b/gtksourceviewmm-2.10.2/tests/search/main.cc
37 @@ -6,7 +6,7 @@
38 #include <cstring>
39 #include <gtkmm.h>
40 #include <gtksourceviewmm.h>
41 -#include <glib/gmessages.h>
42 +#include <glib.h>
43
44 using namespace std ;
45 using namespace Gtk;

  ViewVC Help
Powered by ViewVC 1.1.20