summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2010-03-12 13:07:36 +0000
committerPacho Ramos <pacho@gentoo.org>2010-03-12 13:07:36 +0000
commitf8bc726f4fa51be295d3a3d714c3407838b12da5 (patch)
tree33df5d4a0d5526a04c57e61eaf9455ce6040ab37 /app-editors/gphpedit/files
parentRevbump to fix plugin issue introduced with libdir fix. (diff)
downloadgentoo-2-f8bc726f4fa51be295d3a3d714c3407838b12da5.tar.gz
gentoo-2-f8bc726f4fa51be295d3a3d714c3407838b12da5.tar.bz2
gentoo-2-f8bc726f4fa51be295d3a3d714c3407838b12da5.zip
Fix bug 248497 and clean old
(Portage version: 2.1.7.17/cvs/Linux x86_64)
Diffstat (limited to 'app-editors/gphpedit/files')
-rw-r--r--app-editors/gphpedit/files/gphpedit-0.9.91-find_replace.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/app-editors/gphpedit/files/gphpedit-0.9.91-find_replace.patch b/app-editors/gphpedit/files/gphpedit-0.9.91-find_replace.patch
new file mode 100644
index 000000000000..e12864367e6a
--- /dev/null
+++ b/app-editors/gphpedit/files/gphpedit-0.9.91-find_replace.patch
@@ -0,0 +1,17 @@
+# Should be fixed in upstream trunk, then next upstream
+# release shouldn't need this. For more info:
+# https://bugs.launchpad.net/ubuntu/+source/gphpedit/+bug/46487
+--- gphpedit-0.9.91.orig/src/find_replace.c
++++ gphpedit-0.9.91/src/find_replace.c
+@@ -478,7 +478,10 @@
+
+ replace_all_dialog = gnome_ok_dialog(message->str);
+ gnome_dialog_run_and_close(GNOME_DIALOG(replace_all_dialog));
+- g_free(replace_all_dialog);
++ // Comment the line bellow as suggested at
++ // http://www.gphpedit.org/bugs/bug_view.php?id=132 to avoid from
++ // a crash after searching & replacing.
++ //g_free(replace_all_dialog);
+
+ gtk_scintilla_goto_pos(GTK_SCINTILLA(main_window.current_editor->scintilla), start_pos);
+ }