diff --git a/srcpkgs/pfff/template b/srcpkgs/pfff/template index 72d73840167..1d8dc12686a 100644 --- a/srcpkgs/pfff/template +++ b/srcpkgs/pfff/template @@ -1,7 +1,7 @@ # Template build file for 'pfff' pkgname=pfff version=0.29 -revision=1 +revision=2 build_style=configure configure_args="--prefix=/usr" short_desc="Tools and APIs for code analysis, visualization and transformation" @@ -15,6 +15,12 @@ depends="ocaml" nocross="yes" nostrip="yes" +post_extract() { + sed -i s/uint32/uint32_t/g external/ocamlzip/zlibstubs.c + sed -i '50,${/exception Error/d}' external/ocamlzip/zip.ml #duplicate def + sed -i 's/-warn-error .a//' Makefile.common lang_php/matcher/Makefile +} + do_build() { make depend make