wok-current rev 13500

zfs-fuse: add patch for glibc 2.14
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 13 11:36:17 2012 +0200 (2012-10-13)
parents cb4f24462873
children 0ad6b17c537c
files zfs-fuse/receipt
line diff
     1.1 --- a/zfs-fuse/receipt	Sat Oct 13 11:15:07 2012 +0200
     1.2 +++ b/zfs-fuse/receipt	Sat Oct 13 11:36:17 2012 +0200
     1.3 @@ -8,6 +8,7 @@
     1.4  WEB_SITE="http://zfs-fuse.net"
     1.5  TARBALL="$PACKAGE-$VERSION.tar.bz2"
     1.6  WGET_URL="$WEB_SITE/releases/$VERSION/$TARBALL"
     1.7 +http://zfs-fuse.net/releases/0.7.0/zfs-fuse-0.7.0.tar.bz2
     1.8  
     1.9  DEPENDS="fuse libaio libcrypto"
    1.10  BUILD_DEPENDS="fuse-dev scons libaio-dev attr-dev zlib-dev acl-dev openssl-dev"
    1.11 @@ -17,10 +18,13 @@
    1.12  {
    1.13  	mkdir -p $DESTDIR/usr
    1.14  	cd $src/src
    1.15 +	# glibc 2.14 update
    1.16 +	sed -i 's/\*__malloc_initialize_hook/* __volatile __malloc_initialize_hook/' \
    1.17 +		lib/libumem/malloc.c
    1.18  	scons PREFIX=/usr &&
    1.19  	scons install_dir=$DESTDIR/usr/sbin \
    1.20  	      cfg_dir=$DESTDIR/etc \
    1.21 -	      man_dirr=$DESTDIR/usr/man install
    1.22 +	      man_dir=$DESTDIR/usr/man install
    1.23  }
    1.24  
    1.25  # Rules to gen a SliTaz package suitable for Tazpkg.