aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits
diff options
context:
space:
mode:
authorkwm <kwm@FreeBSD.org>2012-10-05 05:18:23 +0800
committerkwm <kwm@FreeBSD.org>2012-10-05 05:18:23 +0800
commitcdafb45198368046e4206243a218c7ebc1f80a5f (patch)
tree4efa2f7db563128246af34565376b5652f3aeb63 /x11-toolkits
parentf9a0332f5b838eee0618abfee989c16f24981b40 (diff)
downloadfreebsd-ports-gnome-cdafb45198368046e4206243a218c7ebc1f80a5f.tar.gz
freebsd-ports-gnome-cdafb45198368046e4206243a218c7ebc1f80a5f.tar.zst
freebsd-ports-gnome-cdafb45198368046e4206243a218c7ebc1f80a5f.zip
Fix build with newer glib.
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/gtksourceview/files/patch-gtksourceview_gtksourcelanguage.c12
-rw-r--r--x11-toolkits/gtksourceview/files/patch-gtksourceview_gtksourceregex.h11
2 files changed, 23 insertions, 0 deletions
diff --git a/x11-toolkits/gtksourceview/files/patch-gtksourceview_gtksourcelanguage.c b/x11-toolkits/gtksourceview/files/patch-gtksourceview_gtksourcelanguage.c
new file mode 100644
index 000000000000..14ba21800767
--- /dev/null
+++ b/x11-toolkits/gtksourceview/files/patch-gtksourceview_gtksourcelanguage.c
@@ -0,0 +1,12 @@
+--- gtksourceview/gtksourcelanguage.c.orig 2012-10-04 13:22:21.000000000 +0000
++++ gtksourceview/gtksourcelanguage.c 2012-10-04 13:22:33.000000000 +0000
+@@ -30,8 +30,7 @@
+
+ #include <libxml/xmlreader.h>
+
+-#include <glib/gstdio.h>
+-#include <glib/gmappedfile.h>
++#include <glib.h>
+
+ #include "gtksourceview-i18n.h"
+
diff --git a/x11-toolkits/gtksourceview/files/patch-gtksourceview_gtksourceregex.h b/x11-toolkits/gtksourceview/files/patch-gtksourceview_gtksourceregex.h
new file mode 100644
index 000000000000..9c4285bb5dd9
--- /dev/null
+++ b/x11-toolkits/gtksourceview/files/patch-gtksourceview_gtksourceregex.h
@@ -0,0 +1,11 @@
+--- gtksourceview/gtksourceregex.h.orig 2012-10-04 08:40:27.000000000 +0000
++++ gtksourceview/gtksourceregex.h 2012-10-04 08:40:34.000000000 +0000
+@@ -20,7 +20,7 @@
+ #ifndef __GTK_SOURCE_REGEX_H__
+ #define __GTK_SOURCE_REGEX_H__
+
+-#include <glib/gtypes.h>
++#include <glib.h>
+
+ G_BEGIN_DECLS
+