Package: id3ren
Version: 1.1b0-1
Severity: normal
Tags: patch

Hi,

Attached is the diff for my id3ren 1.1b0-1.1 NMU.

-- 
see shy jo
diff -u id3ren-1.1b0/debian/changelog id3ren-1.1b0/debian/changelog
--- id3ren-1.1b0/debian/changelog
+++ id3ren-1.1b0/debian/changelog
@@ -1,3 +1,11 @@
+id3ren (1.1b0-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * fix genres id off by one (Closes: #267782)
+  * finish /usr/doc transition (Closes: #322786)
+
+ -- Stanley Jaddoe <[EMAIL PROTECTED]>  Tue, 17 Jan 2006 14:29:51 +0100
+
 id3ren (1.1b0-1) unstable; urgency=low
 
   * New upstream release
only in patch2:
unchanged:
--- id3ren-1.1b0.orig/src/id3tag.c
+++ id3ren-1.1b0/src/id3tag.c
@@ -57,7 +57,7 @@
 
   for (i=0, count=1, lines=1; i<genre_count; i++, count++)
   {
-    printf("%3d:%-15s", (i+1), genre_table[i]);
+    printf("%3d:%-15s", i, genre_table[i]);
 
     if (count >= 4)
     {
@@ -105,7 +105,7 @@
 
   if (i >= strlen(search_gen))
   {
-    digit = (atoi(search_gen) - 1);
+    digit = atoi(search_gen);
 
     if (digit >= 0 && digit < genre_count)
     {
only in patch2:
unchanged:
--- id3ren-1.1b0.orig/src/id3genre.h
+++ id3ren-1.1b0/src/id3genre.h
@@ -149,10 +149,31 @@
     "Acapella",
     "Euro-House",
     "Dance Hall",
-
+    "Goa",
+    "Drum & Bass",
+    "Club-House",
+    "Hardcore",
+    "Terror",
+    "Indie",
+    "BritPop",
+    "Negerpunk",
+    "Polsk Punk",
+    "Beat",
+    "Christian G",
+    "Heavy Metal",
+    "Black Metal",
+    "Crossover",
+    "Contemporary C",
+    "Christian Rock",
+    "Merengue",
+    "Salsa",
+    "Thrash Metal",
+    "Anime",
+    "JPop",
+    "SynthPop"
                        };
 
-const int genre_count = 125;
+const int genre_count = 148;
 
 
 #endif /* __GENRE_H__ */
only in patch2:
unchanged:
--- id3ren-1.1b0.orig/src/id3file.c
+++ id3ren-1.1b0/src/id3file.c
@@ -26,6 +26,7 @@
 #include <sys/stat.h>
 #include <fcntl.h>
 #include <unistd.h>
+#include <string.h>
 
 #include "id3file.h"
 #include "id3genre.h"

Attachment: signature.asc
Description: Digital signature

Reply via email to