packages (DEVEL): mysql-workbench/mysql-workbench-replace_gnome_url_show_by...
arvenil
arvenil at pld-linux.org
Sat Jun 26 17:09:50 CEST 2010
Author: arvenil Date: Sat Jun 26 15:09:50 2010 GMT
Module: packages Tag: DEVEL
---- Log message:
- fix conversion
---- Files affected:
packages/mysql-workbench:
mysql-workbench-replace_gnome_url_show_by_xdg-open.patch (1.1.2.1 -> 1.1.2.2)
---- Diffs:
================================================================
Index: packages/mysql-workbench/mysql-workbench-replace_gnome_url_show_by_xdg-open.patch
diff -u packages/mysql-workbench/mysql-workbench-replace_gnome_url_show_by_xdg-open.patch:1.1.2.1 packages/mysql-workbench/mysql-workbench-replace_gnome_url_show_by_xdg-open.patch:1.1.2.2
--- packages/mysql-workbench/mysql-workbench-replace_gnome_url_show_by_xdg-open.patch:1.1.2.1 Sat Jun 26 16:39:47 2010
+++ packages/mysql-workbench/mysql-workbench-replace_gnome_url_show_by_xdg-open.patch Sat Jun 26 17:09:44 2010
@@ -10,7 +10,7 @@
- g_message("Open URL %s (no url handler)", url.c_str());
-#endif
+ if (g_find_program_in_path ("xdg-open")) {
-+ char *argv[] = {"xdg-open", url.c_str(), NULL, NULL};
++ char *argv[] = {(char*)"xdg-open", (char*)url.c_str(), NULL, NULL};
+ if (!g_spawn_async(NULL, argv, NULL, G_SPAWN_SEARCH_PATH, NULL, NULL, NULL, NULL)) {
+ g_warning("Open URL %s with xdg-open failed", url.c_str());
+ }
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/mysql-workbench/mysql-workbench-replace_gnome_url_show_by_xdg-open.patch?r1=1.1.2.1&r2=1.1.2.2&f=u
More information about the pld-cvs-commit
mailing list