wok 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 f3291115c86b
children ed506ef90549
files epdfview-cups/receipt epdfview/receipt
line diff
     1.1 --- a/epdfview-cups/receipt	Sat May 12 10:59:26 2012 +0200
     1.2 +++ b/epdfview-cups/receipt	Sat May 12 11:15:54 2012 +0200
     1.3 @@ -18,6 +18,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  	./configure \
    1.11  		--with-cups \
    1.12  		$CONFIGURE_ARGS &&
     2.1 --- a/epdfview/receipt	Sat May 12 10:59:26 2012 +0200
     2.2 +++ b/epdfview/receipt	Sat May 12 11:15:54 2012 +0200
     2.3 @@ -17,6 +17,9 @@
     2.4  compile_rules()
     2.5  {
     2.6  	cd $src
     2.7 +	sed -i 's/<config.h>/&\n#include <stdio.h>\n#define g_fopen fopen/' \
     2.8 +		src/epdfview.h
     2.9 +	find . -name '*.[ch]*' | xargs sed -i 's|<glib/.*h|<glib.h|'
    2.10  	patch -Np1 -i $stuff/0001-When-using-Poppler-0.17.0-I-needed-to-swap-the-blue-.patch
    2.11  	./configure \
    2.12  		--without-cups \