This commit is contained in:
blshkv 2017-07-21 16:58:25 +08:00
parent 8345c1039f
commit fe40d4fd46
No known key found for this signature in database
GPG key ID: 273E3E90D1A6294F
2 changed files with 2 additions and 15 deletions

View file

@ -1,13 +0,0 @@
--- vshadowtools/vshadowmount.c.orig 2017-07-15 15:18:38.000000000 +0800
+++ vshadowtools/vshadowmount.c 2017-07-20 16:26:48.334872904 +0800
@@ -26,6 +26,10 @@
#include <types.h>
#include <wide_string.h>
+/* blshkv */
+#include <asm-generic/errno-base.h>
+#include <errno.h>
+
#include <stdio.h>
#if defined( HAVE_ERRNO_H )

View file

@ -44,8 +44,8 @@ RDEPEND="${DEPEND}
S="${WORKDIR}/${PN}-${MY_PV}"
src_prepare() {
epatch ${FILESDIR}/20170715-header.patch
# eautoreconf
#workaround, see https://github.com/libyal/libvshadow/issues/10
echo "#define HAVE_ERRNO_H 1" >> common/config.h.in
eapply_user
}