wok-current rev 20612

Update fdutils
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Dec 18 23:31:18 2018 +0100 (2018-12-18)
parents 4c17b4535f65
children 409e6888e77a
files fdutils/receipt linux-api-headers/receipt
line diff
     1.1 --- a/fdutils/receipt	Tue Dec 18 11:30:04 2018 +0100
     1.2 +++ b/fdutils/receipt	Tue Dec 18 23:31:18 2018 +0100
     1.3 @@ -17,7 +17,11 @@
     1.4  # Rules to configure and make the package.
     1.5  compile_rules()
     1.6  {
     1.7 -	cd $src
     1.8 +	sed -i 's|.*inux/ext2_fs.*|struct ext2_super_block {\n\
     1.9 +	__le32 pad1;\n	__le32 s_blocks_count;\n	__le32 pad2[4];\n\
    1.10 +	__le32 s_log_block_size;\n	__le32 pad3[7];\n\
    1.11 +	__le16 s_magic;\n};|' src/fdmount.c
    1.12 +	sed -i 's|(uname -m)|(echo i686)|' configure
    1.13  	mkdir -p $DESTDIR/etc
    1.14  	sed -i -e "s|^bindir.*|bindir = $DESTDIR/usr/bin|" \
    1.15  		-e "s|^sysconfdir.*|sysconfdir = $DESTDIR/etc|" \
     2.1 --- a/linux-api-headers/receipt	Tue Dec 18 11:30:04 2018 +0100
     2.2 +++ b/linux-api-headers/receipt	Tue Dec 18 23:31:18 2018 +0100
     2.3 @@ -51,8 +51,6 @@
     2.4  {
     2.5  	mkdir -p $fs/usr
     2.6  	cp -a $install/usr/include $fs/usr
     2.7 -	# for fdutils:
     2.8 -	cp $src/include/linux/ext2_fs.h $fs/usr/include/linux/ext2_fs.h
     2.9  	rm -f $(find ${fs} -name .install -or -name ..install.cmd)
    2.10  }
    2.11