From 2b6799a08e6429b66aef446189bce03e2bc90f10 Mon Sep 17 00:00:00 2001 From: Michael Schwendt Date: Feb 06 2010 19:20:20 +0000 Subject: - Fix streambrowser streaminfo URL Add. --- diff --git a/audacious-plugins-2.2-streambrowser-url-add.patch b/audacious-plugins-2.2-streambrowser-url-add.patch new file mode 100644 index 0000000..079c03b --- /dev/null +++ b/audacious-plugins-2.2-streambrowser-url-add.patch @@ -0,0 +1,12 @@ +diff -Nur audacious-plugins-2.2-tmp-vuln/src/streambrowser/streambrowser.c audacious-plugins-2.2-streambrowser-url-add/src/streambrowser/streambrowser.c +--- audacious-plugins-2.2-tmp-vuln/src/streambrowser/streambrowser.c 2010-02-06 19:35:33.000000000 +0100 ++++ audacious-plugins-2.2-streambrowser-url-add/src/streambrowser/streambrowser.c 2010-02-06 20:16:05.000000000 +0100 +@@ -629,7 +629,7 @@ + } + + if (strlen(streaminfo->url) > 0) { +- aud_playlist_insert_playlist(aud_playlist_get_active(), entrycount, streaminfo->url); ++ aud_playlist_entry_insert(aud_playlist_get_active(), entrycount, g_strdup(streaminfo->url), NULL); + debug("stream '%s' added\n", streaminfo->url); + } + diff --git a/audacious-plugins.spec b/audacious-plugins.spec index 32f1761..d6b5128 100644 --- a/audacious-plugins.spec +++ b/audacious-plugins.spec @@ -5,7 +5,7 @@ Name: audacious-plugins Version: 2.2 -Release: 20%{?dist} +Release: 21%{?dist} Summary: Plugins for the Audacious media player Group: Applications/Multimedia URL: http://audacious-media-player.org/ @@ -55,6 +55,8 @@ Patch12: audacious-plugins-2.2-ladspa.patch Patch13: audacious-plugins-2.2-neon-error-handling.patch # revised version merged upstream Patch14: audacious-plugins-2.2-tmp-vuln.patch +# +Patch15: audacious-plugins-2.2-streambrowser-url-add.patch BuildRequires: audacious-devel >= %{aud_ver} BuildRequires: jack-audio-connection-kit-devel libsamplerate-devel @@ -199,6 +201,7 @@ in Vortex (.vtx) format. %patch12 -p1 -b .ladspa %patch13 -p1 -b .neon-error-handling %patch14 -p1 -b .tmp-vuln +%patch15 -p1 -b .streambrowser-url-add for i in src/ladspa/ladspa.c do @@ -299,6 +302,9 @@ update-desktop-database &> /dev/null || : %changelog +* Sat Feb 6 2010 Michael Schwendt - 2.2-21 +- Fix streambrowser streaminfo URL Add. + * Sat Feb 6 2010 Michael Schwendt - 2.2-20 - Use the John Lindgren's revised patch for the temp file vuln (which properly frees also the g_build_filename allocated string).