summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTony Vroon <chainsaw@gentoo.org>2008-07-22 14:16:03 +0000
committerTony Vroon <chainsaw@gentoo.org>2008-07-22 14:16:03 +0000
commit2dcbc031944c786e4c6395638f8dc4dd50501e53 (patch)
treeeb147b553499f9f1665240bfc1753ef66f85b3ea /media-sound/audacious/files
parentAdd local USE-flag scrobbler for media-plugins/audacious-plugins. (diff)
downloadgentoo-2-2dcbc031944c786e4c6395638f8dc4dd50501e53.tar.gz
gentoo-2-2dcbc031944c786e4c6395638f8dc4dd50501e53.tar.bz2
gentoo-2-2dcbc031944c786e4c6395638f8dc4dd50501e53.zip
Revision bump. Upstream patch from Matti Hamalainen <ccr@tnsp.org> closes bug #228365.
(Portage version: 2.2_rc1/cvs/Linux 2.6.26 x86_64)
Diffstat (limited to 'media-sound/audacious/files')
-rw-r--r--media-sound/audacious/files/1.5.1-commandline-options.patch43
1 files changed, 43 insertions, 0 deletions
diff --git a/media-sound/audacious/files/1.5.1-commandline-options.patch b/media-sound/audacious/files/1.5.1-commandline-options.patch
new file mode 100644
index 000000000000..f30e27f515b1
--- /dev/null
+++ b/media-sound/audacious/files/1.5.1-commandline-options.patch
@@ -0,0 +1,43 @@
+
+--- a/src/audacious/main.c Sun May 25 15:12:17 2008 +0200
++++ b/src/audacious/main.c Thu May 29 01:03:13 2008 +0300
+@@ -315,7 +315,7 @@ parse_cmd_line_options(gint *argc, gchar
+ }
+
+ static void
+-handle_cmd_line_options()
++handle_cmd_line_options(gboolean skip)
+ {
+ gchar **filenames = options.filenames;
+ #ifdef USE_DBUS
+@@ -430,7 +430,7 @@ handle_cmd_line_options()
+ } /* is_running */
+ else
+ #endif
+- { /* !is_running */
++ if (!skip) { /* !is_running */
+ if (filenames != NULL)
+ {
+ gint pos = 0;
+@@ -715,7 +715,7 @@ main(gint argc, gchar ** argv)
+
+ signal_handlers_init();
+
+- handle_cmd_line_options();
++ handle_cmd_line_options(TRUE);
+
+ if (options.headless == FALSE)
+ {
+@@ -734,6 +734,8 @@ main(gint argc, gchar ** argv)
+
+ plugin_system_init();
+ playlist_system_init();
++
++ handle_cmd_line_options(FALSE);
+
+ #ifdef USE_DBUS
+ init_dbus();
+
+
+
+