Package: lsdvd
Version: 0.16-4
Tags: patch
Severity: normal

Hi,

the command "lsdvd -Oy" (and -Op and other) produce wrong output:

lsdvd = {
  '%s' : device'/dev/sr0',
  '%s' : title'2001_A_SPACE_ODYSSEY',
 [...]
}

This prevents the "acidrip" program (in Ubuntu) from functioning.

The attached patch fixes this.

Best

Ole
--- a/debian/patches/fix_printf_FTBFS.patch
+++ b/debian/patches/fix_printf_FTBFS.patch
@@ -34,13 +34,7 @@
  #define DEF DEF_
  #define ADEF ADEF_
  #define HASH HASH_
-@@ -91,12 +91,12 @@ static struct Syntax *syntax = &perl_syn
- static void DEF_(char *name, const char *format, ...) {
-         va_list argp;
-         INDENT;
--        printf(syntax->def, name);
-+        printf("%s%s", syntax->def, name);
- 
+@@ -96,7 +96,7 @@
          va_start(argp, format);
          vprintf(format, argp);
          va_end(argp);

Reply via email to