wok diff posixovl/receipt @ rev 15149

php: fix post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Aug 15 13:25:02 2013 +0000 (2013-08-15)
parents 404d32ff75a1
children 51a1ebbda768
line diff
     1.1 --- a/posixovl/receipt	Sat Apr 07 13:28:10 2012 +0200
     1.2 +++ b/posixovl/receipt	Thu Aug 15 13:25:02 2013 +0000
     1.3 @@ -17,6 +17,9 @@
     1.4  {
     1.5  	mv $PACKAGE $src 2> /dev/null
     1.6  	cd $src
     1.7 +	grep -q 'else if (!S_ISREG' posixovl.c ||
     1.8 +	sed -i 's/if (!S_ISREG/if (S_ISLNK(cb->ll.mode))\n\t\tcb->sb.st_size = strlen(cb->ll.target);\n\telse &/' posixovl.c
     1.9 +	sed -i 's/cb->ll.size/0/' posixovl.c
    1.10  	sh autogen.sh
    1.11  	./configure --prefix=/usr --mandir=/usr/share/man \
    1.12  	$CONFIGURE_ARGS &&