!4 修复编译失败问题
From: @caodongxia Reviewed-by: @small_leek Signed-off-by: @small_leek
This commit is contained in:
commit
606d79eb8f
33
0002-fix-glic-2.33-_STAT_VER-not-defined.patch
Normal file
33
0002-fix-glic-2.33-_STAT_VER-not-defined.patch
Normal file
@ -0,0 +1,33 @@
|
||||
From 9d56c292b454eff51bf9bbd60f25497bae43d65e Mon Sep 17 00:00:00 2001
|
||||
From: caodongxia <315816521@qq.com>
|
||||
Date: Wed, 30 Jun 2021 09:41:47 +0800
|
||||
Subject: [PATCH] patch
|
||||
Reference:https://bugs.archlinux.org/task/69572
|
||||
|
||||
---
|
||||
src/libfakechroot.h | 9 +++++++++
|
||||
1 file changed, 9 insertions(+)
|
||||
|
||||
diff --git a/src/libfakechroot.h b/src/libfakechroot.h
|
||||
index f395ac4..b546c20 100644
|
||||
--- a/src/libfakechroot.h
|
||||
+++ b/src/libfakechroot.h
|
||||
@@ -32,6 +32,15 @@
|
||||
|
||||
#define debug fakechroot_debug
|
||||
|
||||
+#ifndef _STAT_VER
|
||||
+# if defined (__aarch64__)
|
||||
+# define _STAT_VER 0
|
||||
+# elif defined (__x86_64__)
|
||||
+# define _STAT_VER 1
|
||||
+# else
|
||||
+# define _STAT_VER 3
|
||||
+# endif
|
||||
+#endif
|
||||
|
||||
#ifdef HAVE___ATTRIBUTE__VISIBILITY
|
||||
# define LOCAL __attribute__((visibility("hidden")))
|
||||
--
|
||||
2.27.0
|
||||
|
||||
@ -1,12 +1,13 @@
|
||||
Name: fakechroot
|
||||
Version: 2.19
|
||||
Release: 8
|
||||
Release: 9
|
||||
Summary: Gives a fake chroot environment
|
||||
License: LGPLv2+
|
||||
URL: https://github.com/dex4er/fakechroot
|
||||
Source0: https://github.com/dex4er/fakechroot/archive/%{version}/fakechroot-%{version}.tar.gz
|
||||
|
||||
Patch0000: 0001-Add-support-of-LFS-compatible-fts-functions.patch
|
||||
Patch0001: 0002-fix-glic-2.33-_STAT_VER-not-defined.patch
|
||||
|
||||
Requires: binutils binutils-devel
|
||||
Provides: fakechroot-libs = %{version}-%{release}
|
||||
@ -52,6 +53,9 @@ autoreconf -vfi
|
||||
%{_mandir}/man1/fakechroot.1*
|
||||
|
||||
%changelog
|
||||
* Wed Jun 30 2021 caodongxia<caodongxia@huawei.com> - 2.19-9
|
||||
- Fix '_STAT_VER' undeclared
|
||||
|
||||
* Wed Jan 22 2020 gulining<gulining1@huawei.com> - 2.19-8
|
||||
- Disable test
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user