diff --git a/xorg-x11-proto-devel.spec b/xorg-x11-proto-devel.spec index 9fa9d66f4727e50c70eaf8e795e74738a791abe3..3f6de237f2c31a7b9e5afc112556c1d6ab33a048 100644 --- a/xorg-x11-proto-devel.spec +++ b/xorg-x11-proto-devel.spec @@ -1,11 +1,12 @@ Name: xorg-x11-proto-devel Version: 2021.5 -Release: 1 +Release: 2 License: MIT Summary: X.Org X11 Protocol headers URL: https://www.x.org Source0: https://www.x.org/pub/individual/proto/xorgproto-%{version}.tar.bz2 Source1: make-git-snapshot.sh +Patch1: xorgproto-Add-sw64-architecture.patch BuildRequires: gcc pkgconfig meson @@ -32,6 +33,9 @@ X.Org X11 Protocol headers %{_docdir}/* %changelog +* Wed Oct 26 2022 wuzx - 2021.5-2 +- Add sw64 architecture + * Tue Nov 30 2021 yangcheng 2021.5-1 - DESC:Upgrade to 2021.5-1 diff --git a/xorgproto-Add-sw64-architecture.patch b/xorgproto-Add-sw64-architecture.patch new file mode 100644 index 0000000000000000000000000000000000000000..d07992a388cafaa7e39d9e86f0d17409658c6760 --- /dev/null +++ b/xorgproto-Add-sw64-architecture.patch @@ -0,0 +1,25 @@ +From f0d060366e0b7dc7bdad244952a5dc699f3dbdf9 Mon Sep 17 00:00:00 2001 +From: wzx +Date: Thu, 3 Nov 2022 15:38:38 +0800 +Subject: [PATCH] Add sw64 architecture + +Signed-off-by: wzx +--- + include/X11/Xmd.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/include/X11/Xmd.h b/include/X11/Xmd.h +index 68c45db..6540115 100644 +--- a/include/X11/Xmd.h ++++ b/include/X11/Xmd.h +@@ -63,6 +63,7 @@ SOFTWARE. + # endif + # elif defined (_LP64) || defined(__LP64__) || \ + defined(__alpha) || defined(__alpha__) || \ ++ defined(__sw_64) || defined(__sw_64__) || \ + defined(__ia64__) || defined(ia64) || \ + defined(__sparc64__) || \ + defined(__s390x__) || \ +-- +2.33.0 +