wok-next diff epdfview/receipt @ rev 12759

epdfview: hack compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 12 11:15:54 2012 +0200 (2012-05-12)
parents 4d8d4417d2f5
children f6cec36345bb
line diff
     1.1 --- a/epdfview/receipt	Mon Dec 19 02:49:30 2011 +0100
     1.2 +++ b/epdfview/receipt	Sat May 12 11:15:54 2012 +0200
     1.3 @@ -17,6 +17,9 @@
     1.4  compile_rules()
     1.5  {
     1.6  	cd $src
     1.7 +	sed -i 's/<config.h>/&\n#include <stdio.h>\n#define g_fopen fopen/' \
     1.8 +		src/epdfview.h
     1.9 +	find . -name '*.[ch]*' | xargs sed -i 's|<glib/.*h|<glib.h|'
    1.10  	patch -Np1 -i $stuff/0001-When-using-Poppler-0.17.0-I-needed-to-swap-the-blue-.patch
    1.11  	./configure \
    1.12  		--without-cups \