From 67e33002b6d17b9a3fe1f2616f41aed1b2b98608 Mon Sep 17 00:00:00 2001 From: khy Date: Fri, 12 May 2023 16:05:29 +0800 Subject: [PATCH] sw 20230512 --- readline-7.0-sw.patch | 12 ++++++++++++ readline.spec | 6 +++++- 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 readline-7.0-sw.patch diff --git a/readline-7.0-sw.patch b/readline-7.0-sw.patch new file mode 100644 index 0000000..48812ec --- /dev/null +++ b/readline-7.0-sw.patch @@ -0,0 +1,12 @@ +diff -Naur readline-7.0.org/aclocal.m4 readline-7.0.sw/aclocal.m4 +--- readline-7.0.org/aclocal.m4 2015-12-02 22:22:19.000000000 +0800 ++++ readline-7.0.sw/aclocal.m4 2023-05-12 15:57:26.839697858 +0800 +@@ -2660,7 +2660,7 @@ + [ + # Guess based on the CPU. + case "$host_cpu" in +- alpha* | i[34567]86 | m68k | s390*) ++ alpha* | sw_64* | i[34567]86 | m68k | s390*) + gt_cv_int_divbyzero_sigfpe="guessing yes";; + *) + gt_cv_int_divbyzero_sigfpe="guessing no";; diff --git a/readline.spec b/readline.spec index 09cde44..c80286a 100644 --- a/readline.spec +++ b/readline.spec @@ -1,4 +1,4 @@ -%define anolis_release .0.1 +%define anolis_release .0.2 Summary: A library for editing typed command lines Name: readline Version: 7.0 @@ -12,6 +12,7 @@ Source: ftp://ftp.gnu.org/gnu/readline/readline-%{version}.tar.gz Patch1: Readline-7.0-patch-1.patch Patch2: Readline-7.0-patch-2.patch Patch3: Readline-7.0-patch-3.patch +Patch4: readline-7.0-sw.patch # Other patches # fix file permissions, remove RPATH, use CFLAGS @@ -120,6 +121,9 @@ fi %{_libdir}/libhistory.a %changelog +* Fri May 12 2023 wxiat -7.0-10.0.2 +- add sw patch + * Sat Jul 16 2022 Xiaoping Liu - 7.0-10.0.1 - add doc sub package -- Gitee