mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-23 09:37:02 +02:00
XyGrib: fix build with openjpeg 2.4
This commit is contained in:
parent
beea74e3bd
commit
e5cd09ec87
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue