wok-6.x diff udev/receipt @ rev 6113
cdparanoia-III, cdrdao, dmraid, hal, libburn, libcdio, lshw, testdisk, udev, util-linux-ng: fix scsi/scsi.h case
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Sep 04 16:02:13 2010 +0200 (2010-09-04) |
parents | 4d23756fcd14 |
children | fed0f0bd92ab |
line diff
1.1 --- a/udev/receipt Thu May 27 22:07:21 2010 +0200 1.2 +++ b/udev/receipt Sat Sep 04 16:02:13 2010 +0200 1.3 @@ -16,8 +16,10 @@ 1.4 compile_rules() 1.5 { 1.6 gzip -d /usr/share/misc/pci.ids.gz 1.7 - #sed -i s/u8/__u8/ /usr/include/scsi/scsi.h 1.8 cd $src 1.9 + grep -qs 'define u8' extras/*_id/*.c || 1.10 + sed -i 's|#include <scsi/scsi.h>|#define u8 __u8\n&|' \ 1.11 + extras/scsi_id/scsi_serial.c extras/ata_id/ata_id.c 1.12 ./configure \ 1.13 --prefix=/usr \ 1.14 --exec-prefix="" \