diff --git a/ncurses-sw-support.patch b/ncurses-sw-support.patch new file mode 100644 index 0000000000000000000000000000000000000000..fc686fa1cce67e0d4ac28b83d46761022ad83eba --- /dev/null +++ b/ncurses-sw-support.patch @@ -0,0 +1,24 @@ +diff -arup ncurses-6.3.orig/config.guess ncurses-6.3/config.guess +--- ncurses-6.3.orig/config.guess 2021-06-04 12:01:25.000000000 +0800 ++++ ncurses-6.3/config.guess 2023-02-15 09:45:20.743936365 +0800 +@@ -1140,6 +1140,9 @@ EOF + sparc:Linux:*:* | sparc64:Linux:*:*) + GUESS=$UNAME_MACHINE-unknown-linux-$LIBC + ;; ++ sw_64*:Linux:*:*) ++ GUESS=$UNAME_MACHINE-unknown-linux-$LIBC ++ ;; + tile*:Linux:*:*) + GUESS=$UNAME_MACHINE-unknown-linux-$LIBC + ;; +diff -arup ncurses-6.3.orig/config.sub ncurses-6.3/config.sub +--- ncurses-6.3.orig/config.sub 2021-08-15 00:20:38.000000000 +0800 ++++ ncurses-6.3/config.sub 2023-02-15 09:46:19.158924225 +0800 +@@ -1262,6 +1262,7 @@ case $cpu-$vendor in + | sparclite \ + | sparcv8 | sparcv9 | sparcv9b | sparcv9v | sv1 | sx* \ + | spu \ ++ | sw_64 \ + | tahoe \ + | thumbv7* \ + | tic30 | tic4x | tic54x | tic55x | tic6x | tic80 \ diff --git a/ncurses.spec b/ncurses.spec index d39ab29f9c5decc1675da2215b9667ccdb32d1a2..f186c62f23198c76adb2f5813ec1ba6164330b7b 100644 --- a/ncurses.spec +++ b/ncurses.spec @@ -1,6 +1,6 @@ name: ncurses Version: 6.4 -Release: 8 +Release: 9 Summary: Terminal control library License: MIT URL: https://invisible-island.net/ncurses/ncurses.html @@ -16,6 +16,7 @@ Patch15: backport-fix-for-out-of-memory-condition.patch Patch16: backport-fix-coredump-when-use-Memmove.patch Patch17: backport-CVE-2023-50495.patch Patch18: backport-CVE-2023-45918.patch +Patch19: ncurses-sw-support.patch BuildRequires: make gcc gcc-c++ gpm-devel pkgconfig @@ -250,6 +251,9 @@ xz NEWS %{_mandir}/man7/* %changelog +* Mon Feb 17 2025 zhangshaoning - 6.4-9 +- Add sw_64 support + * Wed Feb 28 2024 yanglu - 6.4-8 - Type:bugfix - CVE:NA