wok-6.x rev 5910

xine-lib: prevent error in scsi/scsi.h
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jul 26 18:07:34 2010 +0200 (2010-07-26)
parents 6c384c0e66f1
children 37f3adfaa485
files xine-lib/receipt
line diff
     1.1 --- a/xine-lib/receipt	Mon Jul 26 17:19:12 2010 +0200
     1.2 +++ b/xine-lib/receipt	Mon Jul 26 18:07:34 2010 +0200
     1.3 @@ -25,6 +25,9 @@
     1.4  {
     1.5  	cd $src
     1.6  	sed -i 's/grep -x/grep/' configure
     1.7 +	grep -qs 'define u8' src/input/vcd/libcdio/_cdio_linux.c ||
     1.8 +	sed -i 's|#include <scsi/scsi.h>|#define u8 __u8\n&|' \
     1.9 +		src/input/vcd/libcdio/_cdio_linux.c
    1.10  	./configure \
    1.11  		--prefix=/usr \
    1.12  		--infodir=/usr/share/info \