wok-next diff udev/receipt @ rev 6659

psyco: fix opcodes for python 2.7
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Oct 11 17:24:20 2010 +0200 (2010-10-11)
parents 4d23756fcd14
children fed0f0bd92ab
line diff
     1.1 --- a/udev/receipt	Thu May 27 22:07:21 2010 +0200
     1.2 +++ b/udev/receipt	Mon Oct 11 17:24:20 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="" \