]> git.pld-linux.org Git - packages/cdrtools.git/commitdiff
- fix compilation on 2.5 kernel cdrtools-2_01a12-1
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Thu, 1 May 2003 16:31:05 +0000 (16:31 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    cdrtools-u8-type.aptch -> 1.1

cdrtools-u8-type.aptch [new file with mode: 0644]

diff --git a/cdrtools-u8-type.aptch b/cdrtools-u8-type.aptch
new file mode 100644 (file)
index 0000000..0013821
--- /dev/null
@@ -0,0 +1,14 @@
+diff -urN cdrtools-2.01.org/libscg/scsi-linux-sg.c cdrtools-2.01/libscg/scsi-linux-sg.c
+--- cdrtools-2.01.org/libscg/scsi-linux-sg.c   Thu May  1 18:25:04 2003
++++ cdrtools-2.01/libscg/scsi-linux-sg.c       Thu May  1 18:25:39 2003
+@@ -66,7 +66,10 @@
+ #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 __KERNEL__
++#include <asm/types.h>
+ #include <scsi/scsi.h>
++#undef __KERNEL__
+ #else
+ #include <linux/scsi.h>
+ #endif
This page took 0.030267 seconds and 4 git commands to generate.