wok-next 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 | bd94cca0f444 |
children | 6c384c0e66f1 |
files | cdrkit/receipt dvd+rw-tools/receipt |
line diff
1.1 --- a/cdrkit/receipt Mon Jul 26 13:57:40 2010 +0200 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 }
2.1 --- a/dvd+rw-tools/receipt Mon Jul 26 13:57:40 2010 +0200 2.2 +++ b/dvd+rw-tools/receipt Mon Jul 26 17:07:06 2010 +0200 2.3 @@ -16,6 +16,8 @@ 2.4 { 2.5 cd $src 2.6 patch -p1 -i ../stuff/build-7.1.patch 2.7 + grep -qs 'define u8' growisofs.c || 2.8 + sed -i 's|#include <scsi/scsi.h>|#define u8 __u8\n&|' growisofs.c 2.9 make 2.10 mkdir -p $PWD/_pkg/usr/bin/ 2.11 for bin in growisofs dvd+rw-booktype dvd+rw-format dvd+rw-mediainfo dvd-ram-control; do