[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Cdrtools-2.01a25: Patch to make cdrtools 2.01a25 Linux compatible



Hi, 

 attached there is  a patch to make cdrtools 2.01 compatible to Linux
 2.6.1.
 If the patch is not needed for some distros, which are assembled
 somehow, it does not harm anything...

 Kind regards, 
 Meino Cramer

 
diff -Naur cdrtools-2.01/libscg/scsi-linux-sg.c cdrtools-2.01.new/libscg/scsi-linux-sg.c
--- cdrtools-2.01/libscg/scsi-linux-sg.c	2004-01-14 18:54:01.000000000 +0100
+++ cdrtools-2.01.new/libscg/scsi-linux-sg.c	2004-01-20 06:34:23.000000000 +0100
@@ -66,6 +66,7 @@
 #if LINUX_VERSION_CODE >= 0x01031a /* <linux/scsi.h> introduced in 1.3.26 */
 #if LINUX_VERSION_CODE >= 0x020000 /* <scsi/scsi.h> introduced somewhere. */
 /* Need to fine tune the ifdef so we get the transition point right. */
+#define u8 char    
 #include <scsi/scsi.h>
 #else
 #include <linux/scsi.h>

Reply to: