wok-stable rev 6114
parted: fix scsi/scsi.h case
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Sep 04 16:15:19 2010 +0200 (2010-09-04) |
parents | 964f5d384827 |
children | 7e3e6fd419b7 1ddb9a566a1e |
files | parted/receipt |
line diff
1.1 --- a/parted/receipt Sat Sep 04 16:02:13 2010 +0200 1.2 +++ b/parted/receipt Sat Sep 04 16:15:19 2010 +0200 1.3 @@ -15,6 +15,9 @@ 1.4 compile_rules() 1.5 { 1.6 cd $src 1.7 + grep -qs 'define u8' libparted/arch/linux.c || 1.8 + sed -i 's|#include <scsi/scsi.h>|#define u8 __u8\n&|' \ 1.9 + libparted/arch/linux.c 1.10 ./configure \ 1.11 --prefix=/usr \ 1.12 --infodir=/usr/share/info \