From 944a8452c8ffb9caf0596b4d6cfd0eef63a45c18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Tue, 9 Aug 2016 13:59:23 +0200 Subject: [PATCH] xbps: fix build (readdir_r is deprecated) --- srcpkgs/xbps/template | 3 +++ 1 file changed, 3 insertions(+) diff --git a/srcpkgs/xbps/template b/srcpkgs/xbps/template index 9ebb15c2bf..ef20fa4494 100644 --- a/srcpkgs/xbps/template +++ b/srcpkgs/xbps/template @@ -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"