diff --git a/xorg-x11-proto-devel.spec b/xorg-x11-proto-devel.spec index ceeae6fcabcd37415ed988e793f93469a824a7eb..8653e297d0645aaf734f229e2bfe41754138051f 100644 --- a/xorg-x11-proto-devel.spec +++ b/xorg-x11-proto-devel.spec @@ -1,12 +1,12 @@ Name: xorg-x11-proto-devel Version: 2021.5 -Release: 2 +Release: 3 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 - +Patch0: xorgproto-Add-sw64-architecture.patch BuildRequires: gcc pkgconfig meson BuildArch: noarch @@ -32,6 +32,9 @@ X.Org X11 Protocol headers %{_docdir}/* %changelog +* Tue Sep 24 2024 wuzx - 2021.5-3 +- add sw64 patch + * Sat Oct 22 2022 wangkerong - 2021.5-2 - fix date error in changelog @@ -48,4 +51,4 @@ X.Org X11 Protocol headers - Upgrade to 2020.1-1 * Thu Nov 28 2019 wangyiru - 2018.4-3 -- Package init \ No newline at end of file +- Package init diff --git a/xorgproto-Add-sw64-architecture.patch b/xorgproto-Add-sw64-architecture.patch new file mode 100644 index 0000000000000000000000000000000000000000..058fd107ae7d283f75cf9c21b5d95c6fd7e8b90e --- /dev/null +++ b/xorgproto-Add-sw64-architecture.patch @@ -0,0 +1,12 @@ +diff -uNar xorgproto-2021.5/include/X11/Xmd.h xorgproto-2021.5.sw/include/X11/Xmd.h +--- xorgproto-2021.5/include/X11/Xmd.h 2021-09-15 23:57:52.000000000 +0800 ++++ xorgproto-2021.5.sw/include/X11/Xmd.h 2024-09-24 18:37:26.580130954 +0800 +@@ -67,7 +67,7 @@ + defined(__sparc64__) || \ + defined(__s390x__) || \ + defined(__amd64__) || defined(amd64) || \ +- defined(__powerpc64__) ++ defined(__powerpc64__) || defined(__sw_64__) + # if !defined(__ILP32__) /* amd64-x32 is 32bit */ + # define LONG64 /* 32/64-bit architecture */ + # endif /* !__ILP32__ */