# HG changeset patch # User Pascal Bellard # Date 1357676710 -3600 # Node ID 04dbd2523d34de5d8c4599342dae319c47b94998 # Parent 8666107f26786d94b9123ac6ab17775d30b6689e lyx: fix for gcc 4.6 diff -r 8666107f2678 -r 04dbd2523d34 lyx/receipt --- a/lyx/receipt Tue Jan 08 21:19:16 2013 +0000 +++ b/lyx/receipt Tue Jan 08 21:25:10 2013 +0100 @@ -15,6 +15,8 @@ compile_rules() { cd $src + sed -i 's|.*define STRFWD_H.*|&\n#include |' src/support/strfwd.h + sed -i 's|.*.*|#include \n&|' src/support/weighted_btree.h ./configure --with-frontend=qt4 $CONFIGURE_ARGS && make && make -j1 install }