Author: goetz
Date: Wed Feb  7 19:22:56 2007
New Revision: 117281

Added:
   
packages/cooker/audacious-plugins/current/SOURCES/audacious-plugins-1.3.0-alpha4-fixcrash.patch
Modified:
   packages/cooker/audacious-plugins/current/SPECS/audacious-plugins.spec

Log:
fix crash in vorbis plugin (bug #28603)


Added: 
packages/cooker/audacious-plugins/current/SOURCES/audacious-plugins-1.3.0-alpha4-fixcrash.patch
==============================================================================
--- (empty file)
+++ 
packages/cooker/audacious-plugins/current/SOURCES/audacious-plugins-1.3.0-alpha4-fixcrash.patch
     Wed Feb  7 19:22:56 2007
@@ -0,0 +1,25 @@
+--- audacious-plugins-1.3.0-alpha4/src/vorbis/vorbis.c.fixcrash        
2007-02-07 19:18:56.000000000 +0100
++++ audacious-plugins-1.3.0-alpha4/src/vorbis/vorbis.c 2007-02-07 
19:19:00.000000000 +0100
+@@ -37,8 +37,6 @@
+ 
+ #define DEBUG
+ 
+-#define REMOVE_NONEXISTANT_TAG(x)   if (!*x) { x = NULL; }
+-
+ #include <glib.h>
+ #include <gtk/gtk.h>
+ 
+@@ -784,13 +782,6 @@
+         tuple->genre = g_strdup(vorbis_comment_query(comment, "genre", 0));
+         tuple->comment =
+             g_strdup(vorbis_comment_query(comment, "comment", 0));
+-
+-        /* remove any blank tags */
+-        REMOVE_NONEXISTANT_TAG(tuple->performer);
+-        REMOVE_NONEXISTANT_TAG(tuple->album_name);
+-        REMOVE_NONEXISTANT_TAG(tuple->track_name);
+-        REMOVE_NONEXISTANT_TAG(tuple->genre);
+-        REMOVE_NONEXISTANT_TAG(tuple->comment);
+     }
+ 
+     return tuple;

Modified: packages/cooker/audacious-plugins/current/SPECS/audacious-plugins.spec
==============================================================================
--- packages/cooker/audacious-plugins/current/SPECS/audacious-plugins.spec      
(original)
+++ packages/cooker/audacious-plugins/current/SPECS/audacious-plugins.spec      
Wed Feb  7 19:22:56 2007
@@ -2,7 +2,7 @@
 %define svn 0
 %define pre alpha4
 %if %pre
-%define release                %mkrel 0.%pre.1
+%define release                %mkrel 0.%pre.2
 %define fname %name-%version-%pre
 %else
 %define fname %name-%version
@@ -21,6 +21,7 @@
 Epoch:         3
 Source0:       http://audacious-media-player.org/release/%fname.tar.bz2
 Patch3: audacious-862-timidity-config.patch
+Patch4: audacious-plugins-1.3.0-alpha4-fixcrash.patch
 License:       GPL
 Group:         Sound
 Url:           http://audacious-media-player.org/
@@ -208,6 +209,7 @@
 cd src
 %patch3 -p3 -b .timidity
 cd ..
+%patch4 -p1
 %if %svn
 sh ./autogen.sh
 %endif

Reply via email to