summaryrefslogtreecommitdiff
path: root/packages/cdparanoia/files/fixes.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/cdparanoia/files/fixes.patch')
-rw-r--r--packages/cdparanoia/files/fixes.patch63
1 files changed, 63 insertions, 0 deletions
diff --git a/packages/cdparanoia/files/fixes.patch b/packages/cdparanoia/files/fixes.patch
index e69de29bb2..6ffc8a6af9 100644
--- a/packages/cdparanoia/files/fixes.patch
+++ b/packages/cdparanoia/files/fixes.patch
@@ -0,0 +1,63 @@
+--- cdparanoia-III-alpha9.8/configure.in 2000-03-26 00:33:22.000000000 -0700
++++ cdparanoia-III-alpha9.8.new/configure.in 2004-12-23 16:34:04.072846728 -0700
+@@ -1,7 +1,7 @@
+ AC_INIT(interface/interface.c)
+
+-cp $srcdir/configure.guess $srcdir/config.guess
+-cp $srcdir/configure.sub $srcdir/config.sub
++#cp $srcdir/configure.guess $srcdir/config.guess
++#cp $srcdir/configure.sub $srcdir/config.sub
+
+ AC_CANONICAL_HOST
+
+--- cdparanoia-III-alpha9.8/interface/utils.h 2000-04-19 15:41:04.000000000 -0700
++++ cdparanoia-III-alpha9.8.new/interface/utils.h 2004-12-23 16:37:11.126410264 -0700
+@@ -111,7 +111,7 @@
+ d->errorbuf=catstring(d->errorbuf,s);
+ break;
+ case CDDA_MESSAGE_FORGETIT:
+- default:
++ default: ;
+ }
+ }
+ }
+@@ -126,7 +126,7 @@
+ d->messagebuf=catstring(d->messagebuf,s);
+ break;
+ case CDDA_MESSAGE_FORGETIT:
+- default:
++ default: ;
+ }
+ }
+ }
+@@ -168,7 +168,7 @@
+ }
+ break;
+ case CDDA_MESSAGE_FORGETIT:
+- default:
++ default: ;
+ }
+ }
+ if(malloced)free(buffer);
+@@ -204,7 +204,7 @@
+ }
+ break;
+ case CDDA_MESSAGE_FORGETIT:
+- default:
++ default: ;
+ }
+ }
+ if(malloced)free(buffer);
+--- cdparanoia-III-alpha9.8/interface/scan_devices.c 2001-03-25 22:44:01.000000000 -0700
++++ cdparanoia-III-alpha9.8.new/interface/scan_devices.c 2004-12-23 16:38:47.128815680 -0700
+@@ -19,6 +19,10 @@
+ #include "common_interface.h"
+ #include "utils.h"
+
++#ifndef PATH_MAX
++#define PATH_MAX 4096
++#endif
++
+ #define MAX_DEV_LEN 20 /* Safe because strings only come from below */
+ /* must be absolute paths! */
+ static char *scsi_cdrom_prefixes[]={