From db01e68f3d8e9610a0bfb2abdcb6ef0ebc9c037c Mon Sep 17 00:00:00 2001 From: mr-zhang_zx Date: Fri, 23 Dec 2022 15:16:53 +0800 Subject: [PATCH] add sw arch patch --- ypbind-mt-2.7.2-sw.patch | 12 ++++++++++++ ypbind.spec | 9 ++++++++- 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 ypbind-mt-2.7.2-sw.patch diff --git a/ypbind-mt-2.7.2-sw.patch b/ypbind-mt-2.7.2-sw.patch new file mode 100644 index 0000000..9f0e080 --- /dev/null +++ b/ypbind-mt-2.7.2-sw.patch @@ -0,0 +1,12 @@ +diff -Naur ypbind-mt-2.7.2.org/m4/intdiv0.m4 ypbind-mt-2.7.2.sw/m4/intdiv0.m4 +--- ypbind-mt-2.7.2.org/m4/intdiv0.m4 2022-02-26 01:25:41.820000000 +0000 ++++ ypbind-mt-2.7.2.sw/m4/intdiv0.m4 2022-02-26 01:26:04.470000000 +0000 +@@ -54,7 +54,7 @@ + [ + # Guess based on the CPU. + case "$host_cpu" in +- alpha* | i[34567]86 | m68k | s390*) ++ sw_64*| alpha* | i[34567]86 | m68k | s390*) + gt_cv_int_divbyzero_sigfpe="guessing yes";; + *) + gt_cv_int_divbyzero_sigfpe="guessing no";; diff --git a/ypbind.spec b/ypbind.spec index 2543cd4..f53a948 100644 --- a/ypbind.spec +++ b/ypbind.spec @@ -1,7 +1,7 @@ Name: ypbind Epoch: 3 Version: 2.7.2 -Release: 2 +Release: 3 Summary: NIS binding software License: GPLv2 URL: http://www.linux-nis.org/nis/ypbind-mt/index.html @@ -12,6 +12,7 @@ Source3: ypbind-pre-setdomain Source4: ypbind-post-waitbind Patch0: ypbind-1.11-gettextdomain.patch Patch2: ypbind-2.4-gettext_version.patch +Patch3: ypbind-mt-2.7.2-sw.patch BuildRequires: git gcc systemd automake autoconf libxslt BuildRequires: dbus-glib-devel systemd-devel docbook-style-xsl @@ -94,6 +95,12 @@ install -m 644 etc/yp.conf %{buildroot}/%{_sysconfdir}/yp.conf %{_mandir}/*/* %changelog +* Fri Dec 23 2022 zhangzhixin - 3:2.7.2-3 +- Type:enhancement +- ID:NA +- SUG:NA +- DESC:Add sw arch patch + * Sat Oct 22 2022 gaihuiying - 3:2.7.2-2 - Type:bugfix - ID:NA -- Gitee