XyGrib: fix build with openjpeg 2.4

This commit is contained in:
Đoàn Trần Công Danh 2021-01-18 18:57:52 +07:00
parent beea74e3bd
commit e5cd09ec87
1 changed files with 5 additions and 0 deletions

View File

@ -17,6 +17,11 @@ if [ "$CROSS_BUILD" ]; then
make_build_args="LINK=${XBPS_CROSS_TRIPLET}-c++"
fi
post_patch() {
vsed -i -e '\!/usr/include/openjpeg-2.3!i /usr/include/openjpeg-2.4' \
CMakeLists.txt
}
post_install() {
vbin ${FILESDIR}/XyGrib