xbps: fix build (readdir_r is deprecated)

This commit is contained in:
Jürgen Buchmüller 2016-08-09 13:59:23 +02:00
parent a0d46e37a0
commit 944a8452c8
1 changed files with 3 additions and 0 deletions

View File

@ -11,6 +11,9 @@ license="2-clause-BSD"
distfiles="https://github.com/voidlinux/xbps/archive/$version.tar.gz"
checksum=fb97f78a2d1e78ca7fb74426bbc7edac7af36366491dbcf3b97db3aa1b20a8b7
# readdir_r is deprecated
CFLAGS="-Wno-error=deprecated-declarations"
hostmakedepends="pkg-config"
makedepends="zlib-devel libressl-devel libarchive-devel"
depends="ca-certificates xbps-triggers"