pfff: fix build on ocaml 4.03.

This commit is contained in:
Christian Neukirchen 2016-04-30 13:42:17 +02:00
parent f281251a49
commit 01d0c34e09

View file

@ -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