openimageio: unbreak musl
This commit is contained in:
parent
966dbab3f2
commit
ad210ecd8f
1 changed files with 4 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'openimageio'
|
||||
pkgname=openimageio
|
||||
version=1.5.17
|
||||
revision=1
|
||||
revision=2
|
||||
wrksrc=oiio-Release-${version}
|
||||
build_style=cmake
|
||||
configure_args="-DUSE_OPENGL=0 -DUSE_QT=0 -DUSE_PYTHON=0 -DOIIO_BUILD_TESTS=0"
|
||||
|
@ -20,6 +20,9 @@ distfiles="https://github.com/OpenImageIO/oiio/archive/Release-${version}.tar.gz
|
|||
checksum=497c60bba9525b913935f0af771126338f07c2f78bd84e96fd19df38b6574706
|
||||
nocross=yes # -> ilmbase
|
||||
|
||||
pre_build() {
|
||||
find ${wrksrc} -type f -exec sed -i "{}" -e "s;<sys/poll\.h>;<poll.h>;g" \;
|
||||
}
|
||||
openimageio-devel_package() {
|
||||
depends="${sourcepkg}-${version}_${revision}"
|
||||
short_desc+=" - development files"
|
||||
|
|
Loading…
Reference in a new issue