!13 [sync] PR-11: 添加sw架构
From: @openeuler-sync-bot Reviewed-by: @liuzhiqiang26 Signed-off-by: @liuzhiqiang26
This commit is contained in:
commit
3ad1bebc4f
28
0003-quota-Add-sw64-architecture.patch
Normal file
28
0003-quota-Add-sw64-architecture.patch
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
From 3801089800f4530408b4d99a3d0bcf0a154bac1f Mon Sep 17 00:00:00 2001
|
||||||
|
From: wzx <wuzx1226@qq.com>
|
||||||
|
Date: Wed, 26 Oct 2022 16:00:36 +0800
|
||||||
|
Subject: [PATCH] Add sw64 architecture
|
||||||
|
|
||||||
|
Add sw64 architecture in file quota.h to suport sw64 architecture.
|
||||||
|
|
||||||
|
Signed-off-by: wzx <wuzx1226@qq.com>
|
||||||
|
---
|
||||||
|
quota.h | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/quota.h b/quota.h
|
||||||
|
index 4c21411..a9c9ecd 100644
|
||||||
|
--- a/quota.h
|
||||||
|
+++ b/quota.h
|
||||||
|
@@ -171,7 +171,7 @@ enum {
|
||||||
|
/* Ioctl for getting quota size */
|
||||||
|
#include <sys/ioctl.h>
|
||||||
|
#ifndef FIOQSIZE
|
||||||
|
- #if defined(__alpha__) || defined(__powerpc__) || defined(__sh__) || defined(__sparc__) || defined(__sparc64__)
|
||||||
|
+ #if defined(__alpha__) || defined(__sw_64__) || defined(__powerpc__) || defined(__sh__) || defined(__sparc__) || defined(__sparc64__)
|
||||||
|
#define FIOQSIZE _IOR('f', 128, loff_t)
|
||||||
|
#elif defined(__arm__) || defined(__mc68000__) || defined(__s390__)
|
||||||
|
#define FIOQSIZE 0x545E
|
||||||
|
--
|
||||||
|
2.33.0
|
||||||
|
|
||||||
@ -1,7 +1,7 @@
|
|||||||
Name: quota
|
Name: quota
|
||||||
Version: 4.06
|
Version: 4.06
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Release: 4
|
Release: 5
|
||||||
Summary: Linux Diskquota system as part of the Linux kernel
|
Summary: Linux Diskquota system as part of the Linux kernel
|
||||||
License: BSD and GPLv2 and GPLv2+ and LGPLv2+
|
License: BSD and GPLv2 and GPLv2+ and LGPLv2+
|
||||||
URL: http://sourceforge.net/projects/linuxquota/
|
URL: http://sourceforge.net/projects/linuxquota/
|
||||||
@ -15,6 +15,7 @@ Source4: rpc-rquotad.sysconfig
|
|||||||
Patch0: 0000-Limit-number-of-comparison-characters-to-4.patch
|
Patch0: 0000-Limit-number-of-comparison-characters-to-4.patch
|
||||||
Patch1: 0001-Limit-maximum-of-RPC-port.patch
|
Patch1: 0001-Limit-maximum-of-RPC-port.patch
|
||||||
Patch2: 0002-quotaio_xfs-Warn-when-large-kernel-timestamps-cannot.patch
|
Patch2: 0002-quotaio_xfs-Warn-when-large-kernel-timestamps-cannot.patch
|
||||||
|
Patch3: 0003-quota-Add-sw64-architecture.patch
|
||||||
|
|
||||||
BuildRequires: autoconf, automake, coreutils, rpcgen, systemd, gcc
|
BuildRequires: autoconf, automake, coreutils, rpcgen, systemd, gcc
|
||||||
BuildRequires: e2fsprogs-devel, gettext-devel, openldap-devel
|
BuildRequires: e2fsprogs-devel, gettext-devel, openldap-devel
|
||||||
@ -123,6 +124,12 @@ make check
|
|||||||
%{_mandir}/man*/*
|
%{_mandir}/man*/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Oct 26 2022 wuzx<wuzx1226@qq.com> - 1:4.06-5
|
||||||
|
- Type:feature
|
||||||
|
- CVE:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC:Add sw64 architecture
|
||||||
|
|
||||||
* Tue Oct 11 2022 huangduirong <huangduirong@huawei.com> - 1:4.06-4
|
* Tue Oct 11 2022 huangduirong <huangduirong@huawei.com> - 1:4.06-4
|
||||||
- Type:bugfix
|
- Type:bugfix
|
||||||
- ID:NA
|
- ID:NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user