Add sw64 architecture
Signed-off-by: wzx <wuzx1226@qq.com> (cherry picked from commit b7d2a5695f4a9acb9e12141c295fa52a70a30594)
This commit is contained in:
parent
c2b2302e6b
commit
66f0829050
37
0004-xfsprogs-Add-sw64-architecture.patch
Normal file
37
0004-xfsprogs-Add-sw64-architecture.patch
Normal file
@ -0,0 +1,37 @@
|
||||
From 2e7288a16fedf40326641cb7928d6f1dc4ef3185 Mon Sep 17 00:00:00 2001
|
||||
From: wzx <wuzx1226@qq.com>
|
||||
Date: Wed, 26 Oct 2022 11:27:26 +0800
|
||||
Subject: [PATCH] Add sw64 architecture
|
||||
|
||||
Add sw64 architecture in file open.c to support sw64 architecture.
|
||||
|
||||
Signed-off-by: wzx <wuzx1226@qq.com>
|
||||
---
|
||||
io/open.c | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/io/open.c b/io/open.c
|
||||
index d807266..e7329a8 100644
|
||||
--- a/io/open.c
|
||||
+++ b/io/open.c
|
||||
@@ -14,7 +14,7 @@
|
||||
#include "libfrog/bulkstat.h"
|
||||
|
||||
#ifndef __O_TMPFILE
|
||||
-#if defined __alpha__
|
||||
+#if defined __alpha__ || defined __sw_64__
|
||||
#define __O_TMPFILE 0100000000
|
||||
#elif defined(__hppa__)
|
||||
#define __O_TMPFILE 040000000
|
||||
@@ -30,7 +30,7 @@
|
||||
#endif
|
||||
|
||||
#ifndef O_PATH
|
||||
-#if defined __alpha__
|
||||
+#if defined __alpha__ || defined __sw_64__
|
||||
#define O_PATH 040000000
|
||||
#elif defined(__hppa__)
|
||||
#define O_PATH 020000000
|
||||
--
|
||||
2.33.0
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
Name: xfsprogs
|
||||
Version: 5.14.1
|
||||
Release: 5
|
||||
Release: 6
|
||||
Summary: Administration and debugging tools for the XFS file system
|
||||
License: GPL+ and LGPLv2+
|
||||
URL: https://xfs.wiki.kernel.org
|
||||
@ -21,6 +21,7 @@ Patch0: xfsprogs-5.12.0-default-bigtime-inobtcnt-on.patch
|
||||
Patch1: 0001-xfs-correct-nlink-printf-specifier-from-hd-to-PRIu32.patch
|
||||
Patch2: 0002-libxfs-fix-inode-reservation-space-for-removing-tran.patch
|
||||
Patch3: 0003-mkfs-prevent-corruption-of-passed-in-suboption-strin.patch
|
||||
Patch4: 0004-xfsprogs-Add-sw64-architecture.patch
|
||||
|
||||
%description
|
||||
xfsprogs are the userspace utilities that manage XFS filesystems.
|
||||
@ -104,6 +105,9 @@ rm -rf %{buildroot}%{_datadir}/doc/xfsprogs/
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Oct 26 2022 wuzx<wuzx1226@qq.com> - 5.14.1-6
|
||||
- Add sw64 architecture
|
||||
|
||||
* Wed Sep 28 2022 Jun Yang <jun.yang@suse.com> - 5.14.1-5
|
||||
- add Patch3: prevent corruption of passed-in suboption string values
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user