wok-current diff cdrkit/receipt @ rev 5908
cdrkit, dvd+rw-tools: prevent error in scsi/scsi.h
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jul 26 17:07:06 2010 +0200 (2010-07-26) |
parents | 063ab2698119 |
children | e97b439c02c1 |
line diff
1.1 --- a/cdrkit/receipt Sat May 01 12:51:24 2010 +0000 1.2 +++ b/cdrkit/receipt Mon Jul 26 17:07:06 2010 +0200 1.3 @@ -18,6 +18,8 @@ 1.4 sed -i -e '/USE_MAGIC/d' -e '/(MAGICLIBS magic)/d' \ 1.5 genisoimage/CMakeLists.txt 1.6 #patch -p1 < ../stuff/$PACKAGE-1.1.9-glibc-2.10.patch || exit 1 1.7 + grep -qs 'define u8' libusal/scsi-linux-sg.c || 1.8 + sed -i 's|#include <scsi/scsi.h>|#define u8 __u8\n&|' libusal/scsi-linux-sg.c 1.9 make && 1.10 make install PREFIX=$PWD/_pkg/usr 1.11 }