mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-01-06 07:44:52 +01:00
libvshadow: tmp fix for the bug https://github.com/libyal/libvshadow/issues/10
This commit is contained in:
parent
8345c1039f
commit
fe40d4fd46
2 changed files with 2 additions and 15 deletions
|
|
@ -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 )
|
||||
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue