aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/gtksourceview/files
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2003-05-08 08:34:09 +0800
committermarcus <marcus@FreeBSD.org>2003-05-08 08:34:09 +0800
commitbc6717583d21cb991f1663db5152f41e2cf9193e (patch)
tree48b4aed6a3ba2fb0261f73b297cc4a6cb36ba61a /x11-toolkits/gtksourceview/files
parent191e995b84aaa160d5d62cc9d36f1398bc1f2ff9 (diff)
downloadfreebsd-ports-gnome-bc6717583d21cb991f1663db5152f41e2cf9193e.tar.gz
freebsd-ports-gnome-bc6717583d21cb991f1663db5152f41e2cf9193e.tar.zst
freebsd-ports-gnome-bc6717583d21cb991f1663db5152f41e2cf9193e.zip
Re-add gtksourceview under the x11-toolkits category. Gtksourceview is
an editor component that adds syntax highlighting support to the default GtkTextView widget.
Diffstat (limited to 'x11-toolkits/gtksourceview/files')
-rw-r--r--x11-toolkits/gtksourceview/files/patch-configure10
-rw-r--r--x11-toolkits/gtksourceview/files/patch-gtksourceview_gtksourcebuffer.c14
-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, 48 insertions, 0 deletions
diff --git a/x11-toolkits/gtksourceview/files/patch-configure b/x11-toolkits/gtksourceview/files/patch-configure
new file mode 100644
index 000000000000..6718d62e1a0f
--- /dev/null
+++ b/x11-toolkits/gtksourceview/files/patch-configure
@@ -0,0 +1,10 @@
+--- configure.orig Tue Dec 17 05:27:57 2002
++++ configure Sun Dec 22 17:31:25 2002
+@@ -7270,6 +7270,7 @@
+
+ # This can be used to rebuild libtool when needed
+ LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
++$ac_aux_dir/ltconfig $LIBTOOL_DEPS
+
+ # Always use our own libtool.
+ LIBTOOL='$(SHELL) $(top_builddir)/libtool'
diff --git a/x11-toolkits/gtksourceview/files/patch-gtksourceview_gtksourcebuffer.c b/x11-toolkits/gtksourceview/files/patch-gtksourceview_gtksourcebuffer.c
new file mode 100644
index 000000000000..b6aa901c17a9
--- /dev/null
+++ b/x11-toolkits/gtksourceview/files/patch-gtksourceview_gtksourcebuffer.c
@@ -0,0 +1,14 @@
+--- 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.h b/x11-toolkits/gtksourceview/files/patch-gtksourceview_gtksourceregex.h
new file mode 100644
index 000000000000..fc1be98e6ec1
--- /dev/null
+++ b/x11-toolkits/gtksourceview/files/patch-gtksourceview_gtksourceregex.h
@@ -0,0 +1,11 @@
+--- 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
new file mode 100644
index 000000000000..c975f84e163f
--- /dev/null
+++ b/x11-toolkits/gtksourceview/files/patch-gtksourceview_gtksourceview.c
@@ -0,0 +1,13 @@
+--- 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. */