wok rev 12785
dia: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue May 15 11:32:14 2012 +0200 (2012-05-15) |
parents | 37cb8350d4bb |
children | 93e88c5e3408 |
files | dia/receipt |
line diff
1.1 --- a/dia/receipt Tue May 15 11:12:15 2012 +0200 1.2 +++ b/dia/receipt Tue May 15 11:32:14 2012 +0200 1.3 @@ -20,6 +20,8 @@ 1.4 compile_rules() 1.5 { 1.6 cd $src 1.7 + find . -name '*.[ch]*' | xargs sed -i 's|<glib/.*h|<glib.h|' 1.8 + sed -i 's|stdio.h>|&\n#include <sys/stat.h>|' plug-ins/vdx/vdx-export.c 1.9 patch -Np1 -i $stuff/dia-overflow-fix.patch 1.10 ./configure --with-python \ 1.11 --disable-gnome \