wok-6.x diff libcdio/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 8752c40cc534
children 411bb3c1703c
line diff
     1.1 --- a/libcdio/receipt	Sun Feb 28 16:17:14 2010 +0100
     1.2 +++ b/libcdio/receipt	Sat Sep 04 16:02:13 2010 +0200
     1.3 @@ -15,6 +15,9 @@
     1.4  compile_rules()
     1.5  {
     1.6  	cd $src
     1.7 +	grep -qs 'define u8' lib/driver/gnu_linux.c ||
     1.8 +	sed -i 's|#include <scsi/scsi.h>|#define u8 __u8\n&|' \
     1.9 +		lib/driver/gnu_linux.c
    1.10  	./configure --prefix=/usr --disable-vcd-info &&
    1.11  	make &&
    1.12  	make DESTDIR=$PWD/_pkg install