wok-next rev 13845

lyx: fix for gcc 4.6
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jan 08 21:25:10 2013 +0100 (2013-01-08)
parents 8666107f2678
children 2fea9f650677
files lyx/receipt
line diff
     1.1 --- a/lyx/receipt	Tue Jan 08 21:19:16 2013 +0000
     1.2 +++ b/lyx/receipt	Tue Jan 08 21:25:10 2013 +0100
     1.3 @@ -15,6 +15,8 @@
     1.4  compile_rules()
     1.5  {
     1.6  	cd $src
     1.7 +	sed -i 's|.*define STRFWD_H.*|&\n#include <stdlib.h>|' src/support/strfwd.h
     1.8 +	sed -i 's|.*<algorithm>.*|#include <cstddef>\n&|' src/support/weighted_btree.h
     1.9  	./configure --with-frontend=qt4 $CONFIGURE_ARGS &&
    1.10  	make && make -j1 install
    1.11  }