summaryrefslogtreecommitdiffstats
path: root/audio/gmpc/files
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2004-07-25 15:49:43 +0000
committerpav <pav@FreeBSD.org>2004-07-25 15:49:43 +0000
commit836c637247d2a59671c770f7b3c0afc961490467 (patch)
tree64849e6d2ec9504bb51162940ae9c4552ad6ef7c /audio/gmpc/files
parent8e0cfe7d132f07e9585dd875bd8f17466b826282 (diff)
downloadFreeBSD-ports-836c637247d2a59671c770f7b3c0afc961490467.zip
FreeBSD-ports-836c637247d2a59671c770f7b3c0afc961490467.tar.gz
- Update to 0.11.1
- Install french translation PR: ports/69541 Submitted by: Mark Daniel Reidel <ports@mark.reidel.info> (maintainer)
Diffstat (limited to 'audio/gmpc/files')
-rw-r--r--audio/gmpc/files/patch-src-open-location.c15
-rw-r--r--audio/gmpc/files/patch-src-playlist2.c14
-rw-r--r--audio/gmpc/files/patch-src-song-browser.c13
3 files changed, 42 insertions, 0 deletions
diff --git a/audio/gmpc/files/patch-src-open-location.c b/audio/gmpc/files/patch-src-open-location.c
new file mode 100644
index 0000000..393c419
--- /dev/null
+++ b/audio/gmpc/files/patch-src-open-location.c
@@ -0,0 +1,15 @@
+--- src/open-location.c.orig Sat Jul 3 14:33:37 2004
++++ src/open-location.c Sun Jul 25 17:40:10 2004
+@@ -171,9 +171,10 @@
+
+ void ol_add_location()
+ {
+- if(strlen(gtk_entry_get_text(GTK_ENTRY(glade_xml_get_widget(ol_xml, "entry_stream")))) == 0 ) return;
+ GList *list = NULL;
+- GnomeVFSURI *uri = gnome_vfs_uri_new(gtk_entry_get_text(GTK_ENTRY(glade_xml_get_widget(ol_xml, "entry_stream"))));
++ GnomeVFSURI *uri;
++ if(strlen(gtk_entry_get_text(GTK_ENTRY(glade_xml_get_widget(ol_xml, "entry_stream")))) == 0 ) return;
++ uri = gnome_vfs_uri_new(gtk_entry_get_text(GTK_ENTRY(glade_xml_get_widget(ol_xml, "entry_stream"))));
+ if(uri == NULL)
+ {
+ g_print("Invalid link\n");
diff --git a/audio/gmpc/files/patch-src-playlist2.c b/audio/gmpc/files/patch-src-playlist2.c
new file mode 100644
index 0000000..25c213d
--- /dev/null
+++ b/audio/gmpc/files/patch-src-playlist2.c
@@ -0,0 +1,14 @@
+--- src/playlist2.c.orig Mon Jul 12 17:46:23 2004
++++ src/playlist2.c Sun Jul 25 17:38:51 2004
+@@ -609,10 +609,10 @@
+ /* move every dragged row */
+ if (gtk_tree_selection_count_selected_rows (selection) > 0)
+ {
++ int i = 0;
+ GList *list = NULL;
+ list = gtk_tree_selection_get_selected_rows (selection, &pl2_fil);
+ list = g_list_last (list);
+- int i = 0;
+ /* start a command list */
+ mpd_sendCommandListBegin (info.connection);
+ do
diff --git a/audio/gmpc/files/patch-src-song-browser.c b/audio/gmpc/files/patch-src-song-browser.c
new file mode 100644
index 0000000..091aa98
--- /dev/null
+++ b/audio/gmpc/files/patch-src-song-browser.c
@@ -0,0 +1,13 @@
+--- src/song-browser.c.orig Sat Jul 10 17:12:59 2004
++++ src/song-browser.c Sun Jul 25 17:39:25 2004
+@@ -626,8 +626,9 @@
+ return;
+ if (add_list != NULL)
+ {
++ GList *song;
+ mpd_sendCommandListBegin (info.connection);
+- GList *song = g_list_first (add_list);
++ song = g_list_first (add_list);
+ do
+ {
+ mpd_sendAddCommand (info.connection, song->data);
OpenPOWER on IntegriCloud