summaryrefslogtreecommitdiff
path: root/recipes/cdparanoia/files/fixes.patch
blob: 6ffc8a6af9480d10e2eb9ee8d39e99f1dac74afa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
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[]={