diff options
author | rillig <rillig@pkgsrc.org> | 2005-04-08 05:39:04 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2005-04-08 05:39:04 +0000 |
commit | 0ee7177d0cdfdfb41522ee8feabd3469aa2744b7 (patch) | |
tree | 3bbb1cd192df564323240a79c716c27d53cd700f /editors/gedit | |
parent | 98341d4fe9cfa4fcb4601fd1d4b0ef310ab65f84 (diff) | |
download | pkgsrc-0ee7177d0cdfdfb41522ee8feabd3469aa2744b7.tar.gz |
Added two patches that are needed for gcc-2.95. Approved by jlam.
Diffstat (limited to 'editors/gedit')
-rw-r--r-- | editors/gedit/distinfo | 4 | ||||
-rw-r--r-- | editors/gedit/patches/patch-aa | 16 | ||||
-rw-r--r-- | editors/gedit/patches/patch-ab | 19 |
3 files changed, 38 insertions, 1 deletions
diff --git a/editors/gedit/distinfo b/editors/gedit/distinfo index 889e11f1857..b274ec2269b 100644 --- a/editors/gedit/distinfo +++ b/editors/gedit/distinfo @@ -1,5 +1,7 @@ -$NetBSD: distinfo,v 1.16 2005/03/27 12:29:24 jmmv Exp $ +$NetBSD: distinfo,v 1.17 2005/04/08 05:39:04 rillig Exp $ SHA1 (gedit-2.10.1.tar.bz2) = 59bf2069b13f396709b142a9632166d1700ad9c7 RMD160 (gedit-2.10.1.tar.bz2) = 6ddaefc713ceb5c2be17520ed25bc10d386128cf Size (gedit-2.10.1.tar.bz2) = 3154246 bytes +SHA1 (patch-aa) = 3ef674ae52c500cb5807028c4328dad547cc7fa6 +SHA1 (patch-ab) = 5311afa2b4276ab337ebfcaabaf170dcd366688d diff --git a/editors/gedit/patches/patch-aa b/editors/gedit/patches/patch-aa new file mode 100644 index 00000000000..362c1120881 --- /dev/null +++ b/editors/gedit/patches/patch-aa @@ -0,0 +1,16 @@ +$NetBSD: patch-aa,v 1.4 2005/04/08 05:39:04 rillig Exp $ + +--- plugins/spell/gedit-spell-checker.c.orig Fri Feb 4 11:37:48 2005 ++++ plugins/spell/gedit-spell-checker.c Fri Apr 1 09:20:30 2005 +@@ -363,9 +363,9 @@ gedit_spell_checker_finalize (GObject *o + static const GeditLanguage* + get_language_from_abrev (const gchar *abrev) + { +- g_return_val_if_fail (abrev != NULL, NULL); +- + const GSList *langs; ++ ++ g_return_val_if_fail (abrev != NULL, NULL); + langs = gedit_spell_checker_get_available_languages (); + + while (langs != NULL) diff --git a/editors/gedit/patches/patch-ab b/editors/gedit/patches/patch-ab new file mode 100644 index 00000000000..6e824b8df33 --- /dev/null +++ b/editors/gedit/patches/patch-ab @@ -0,0 +1,19 @@ +$NetBSD: patch-ab,v 1.1 2005/04/08 05:39:04 rillig Exp $ + +--- plugins/taglist/gedit-taglist-plugin-parser.c.orig Wed Jan 12 17:31:09 2005 ++++ plugins/taglist/gedit-taglist-plugin-parser.c Fri Apr 1 09:16:44 2005 +@@ -277,11 +277,12 @@ lookup_best_lang (TagList *taglist, cons + { + const char * const *langs_pointer; + gint i; ++ gchar *lang; ++ gint cur_lanking = 1; + + langs_pointer = g_get_language_names (); + +- gchar* lang= (gchar*)xmlGetProp (cur, (const xmlChar*) "lang"); +- gint cur_lanking = 1; ++ lang= (gchar*)xmlGetProp (cur, (const xmlChar*) "lang"); + + /* + * When found a new TagGroup, append the best |