wok-6.x diff udev/receipt @ rev 6526

Added stellarium. A virtual star watcher.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Oct 03 05:09:56 2010 +0000 (2010-10-03)
parents 4d23756fcd14
children fed0f0bd92ab
line diff
     1.1 --- a/udev/receipt	Thu May 27 22:07:21 2010 +0200
     1.2 +++ b/udev/receipt	Sun Oct 03 05:09:56 2010 +0000
     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="" \