diff --git a/0001-add-sw_64-arch-support.patch b/0001-add-sw_64-arch-support.patch new file mode 100644 index 0000000000000000000000000000000000000000..3b8651d2c4eec4bb5da6c229737580bfad5b65bc --- /dev/null +++ b/0001-add-sw_64-arch-support.patch @@ -0,0 +1,21 @@ +From 2f3fd59a82511a72b0130d1e3b6657033e8af072 Mon Sep 17 00:00:00 2001 +From: dongchuanjian +Date: Wed, 23 Apr 2025 17:45:21 +0800 +Subject: [PATCH] add sw_64 arch support + + +diff --git a/config.sub b/config.sub +index 51394d3..8206231 100755 +--- a/config.sub ++++ b/config.sub +@@ -1246,6 +1246,7 @@ case $cpu-$vendor in + | sparclite \ + | sparcv8 | sparcv9 | sparcv9b | sparcv9v | sv1 | sx* \ + | spu \ ++ | sw_64 \ + | tahoe \ + | thumbv7* \ + | tic30 | tic4x | tic54x | tic55x | tic6x | tic80 \ +-- +2.41.0 + diff --git a/ncurses.spec b/ncurses.spec index 6f5b0fe14cc7fecdb07b0b6dd1f85b27f075d574..4c240133b54dcbe38ab0881cd77c5e0cd55f9d6c 100644 --- a/ncurses.spec +++ b/ncurses.spec @@ -1,4 +1,4 @@ -%define anolis_release 3 +%define anolis_release 4 %define ver 6.4 %define patchdate 20240127 @@ -11,6 +11,7 @@ Summary: Ncurses support utilities License: MIT URL: https://invisible-island.net/ncurses/ncurses.html Source0: https://invisible-mirror.net/archives/ncurses/current/ncurses-%{ver}-%{patchdate}.tgz +Patch0: 0001-add-sw_64-arch-support.patch BuildRequires: gcc gcc-c++ gpm-devel gnupg2 make Requires: %{name}-libs = %{epoch}:%{version}-%{release} @@ -303,6 +304,9 @@ xz NEWS %changelog +* Wed Apr 23 2025 Dong Chuanjian - 6.4-4 +- Add sw_64 support + * Mon Mar 17 2025 mgb01105731 - 6.4-3.20240127 - Update to patchlevel 20240127 - Fix CVE-2023-29491, CVE-2023-50495