wok-current diff udev/receipt @ rev 6216

Up: libnotify, libnotify-dev to 0.4.5.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Sep 11 16:45:07 2010 +0000 (2010-09-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	Sat Sep 11 16:45:07 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="" \