aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/gtksourceview/files
diff options
context:
space:
mode:
Diffstat (limited to 'x11-toolkits/gtksourceview/files')
-rw-r--r--x11-toolkits/gtksourceview/files/patch-gtksourceview_gtksourcebuffer.c14
-rw-r--r--x11-toolkits/gtksourceview/files/patch-gtksourceview_gtksourceregex.c11
-rw-r--r--x11-toolkits/gtksourceview/files/patch-gtksourceview_gtksourceregex.h11
-rw-r--r--x11-toolkits/gtksourceview/files/patch-gtksourceview_gtksourceview.c13
4 files changed, 11 insertions, 38 deletions
diff --git a/x11-toolkits/gtksourceview/files/patch-gtksourceview_gtksourcebuffer.c b/x11-toolkits/gtksourceview/files/patch-gtksourceview_gtksourcebuffer.c
deleted file mode 100644
index b6aa901c17a9..000000000000
--- a/x11-toolkits/gtksourceview/files/patch-gtksourceview_gtksourcebuffer.c
+++ /dev/null
@@ -1,14 +0,0 @@
---- gtksourceview/gtksourcebuffer.c.orig Wed May 7 20:05:58 2003
-+++ gtksourceview/gtksourcebuffer.c Wed May 7 20:06:18 2003
-@@ -687,9 +687,10 @@
- static void
- get_tags_func (GtkTextTag *tag, gpointer data)
- {
-+ GSList **list;
- g_return_if_fail (data != NULL);
-
-- GSList **list = (GSList **) data;
-+ list = (GSList **) data;
-
- if (GTK_IS_SOURCE_TAG (tag))
- {
diff --git a/x11-toolkits/gtksourceview/files/patch-gtksourceview_gtksourceregex.c b/x11-toolkits/gtksourceview/files/patch-gtksourceview_gtksourceregex.c
new file mode 100644
index 000000000000..3cc9f9eabf70
--- /dev/null
+++ b/x11-toolkits/gtksourceview/files/patch-gtksourceview_gtksourceregex.c
@@ -0,0 +1,11 @@
+--- gtksourceview/gtksourceregex.c.orig Thu May 22 12:41:03 2003
++++ gtksourceview/gtksourceregex.c Thu May 22 12:41:31 2003
+@@ -28,7 +28,7 @@
+
+ #ifdef NATIVE_GNU_REGEX
+ #include <sys/types.h>
+-#include <regex.h>
++#include <gnuregex.h>
+ #else
+ #include "gnu-regex/regex.h"
+ #endif
diff --git a/x11-toolkits/gtksourceview/files/patch-gtksourceview_gtksourceregex.h b/x11-toolkits/gtksourceview/files/patch-gtksourceview_gtksourceregex.h
deleted file mode 100644
index fc1be98e6ec1..000000000000
--- a/x11-toolkits/gtksourceview/files/patch-gtksourceview_gtksourceregex.h
+++ /dev/null
@@ -1,11 +0,0 @@
---- gtksourceview/gtksourceregex.h.orig Wed May 7 20:04:08 2003
-+++ gtksourceview/gtksourceregex.h Wed May 7 20:05:43 2003
-@@ -20,7 +20,7 @@
- #ifndef __GTK_SOURCE_REGEX_H__
- #define __GTK_SOURCE_REGEX_H__
-
--#include <regex.h>
-+#include <gnuregex.h>
- #include <glib/gtypes.h>
-
- G_BEGIN_DECLS
diff --git a/x11-toolkits/gtksourceview/files/patch-gtksourceview_gtksourceview.c b/x11-toolkits/gtksourceview/files/patch-gtksourceview_gtksourceview.c
deleted file mode 100644
index c975f84e163f..000000000000
--- a/x11-toolkits/gtksourceview/files/patch-gtksourceview_gtksourceview.c
+++ /dev/null
@@ -1,13 +0,0 @@
---- gtksourceview/gtksourceview.c.orig Wed May 7 20:10:15 2003
-+++ gtksourceview/gtksourceview.c Wed May 7 20:10:28 2003
-@@ -762,8 +762,9 @@
- gtk_text_iter_forward_to_line_end (&cur);
- while (!gtk_text_iter_starts_line (&cur))
- {
-+ gunichar c;
- gtk_text_iter_backward_char (&cur);
-- gunichar c = gtk_text_iter_get_char (&cur);
-+ c = gtk_text_iter_get_char (&cur);
- if (!g_unichar_isspace (c))
- {
- /* We've gone one character too far. */