Add sw64 architecture
Signed-off-by: wzx <wuzx1226@qq.com> (cherry picked from commit bc6aafdafc80218c39d5d545f47ff8cc8d988c0e)
This commit is contained in:
parent
cc16d7e707
commit
3b972ec783
12
xinetd-2.3.15-sw.patch
Executable file
12
xinetd-2.3.15-sw.patch
Executable file
@ -0,0 +1,12 @@
|
|||||||
|
diff -Naur xinetd-2.3.15.org/xinetd/connection.c xinetd-2.3.15.sw/xinetd/connection.c
|
||||||
|
--- xinetd-2.3.15.org/xinetd/connection.c 2022-02-25 22:19:06.110000000 +0000
|
||||||
|
+++ xinetd-2.3.15.sw/xinetd/connection.c 2022-02-25 22:19:55.660000000 +0000
|
||||||
|
@@ -220,7 +220,7 @@
|
||||||
|
|
||||||
|
tabprint( fd, 1, "service = %s\n", SVC_ID( cp->co_sp ) ) ;
|
||||||
|
tabprint( fd, 1, "descriptor = %d\n", cp->co_descriptor ) ;
|
||||||
|
-#if defined(__GNUC__) && !defined(__arch64__) && !defined(__alpha__)
|
||||||
|
+#if defined(__GNUC__) && !defined(__arch64__) && !defined(__alpha__) && !defined(__sw_64__)
|
||||||
|
tabprint( fd, 1, "flags = %#llx\n", cp->co_flags ) ;
|
||||||
|
#else
|
||||||
|
tabprint( fd, 1, "flags = %#lx\n", cp->co_flags ) ;
|
||||||
@ -1,7 +1,7 @@
|
|||||||
Name: xinetd
|
Name: xinetd
|
||||||
Epoch: 2
|
Epoch: 2
|
||||||
Version: 2.3.15
|
Version: 2.3.15
|
||||||
Release: 34
|
Release: 35
|
||||||
Summary: A super-server daemon that manages Internet-based connectivity
|
Summary: A super-server daemon that manages Internet-based connectivity
|
||||||
License: xinetd
|
License: xinetd
|
||||||
URL: https://github.com/openSUSE/xinetd
|
URL: https://github.com/openSUSE/xinetd
|
||||||
@ -43,6 +43,7 @@ Patch0029: inet.c-avoid-using-pointer-after-free.patch
|
|||||||
Patch0030: service.c-avoid-dereferencing-NULL-pointer.patch
|
Patch0030: service.c-avoid-dereferencing-NULL-pointer.patch
|
||||||
Patch0031: sconf.c-fix-possible-memleak.patch
|
Patch0031: sconf.c-fix-possible-memleak.patch
|
||||||
Patch0032: xinetd-remove-deprecation-warning-about-flask.h-usage.patch
|
Patch0032: xinetd-remove-deprecation-warning-about-flask.h-usage.patch
|
||||||
|
Patch0033: xinetd-2.3.15-sw.patch
|
||||||
|
|
||||||
BuildRequires: autoconf automake libtirpc-devel libselinux-devel >= 1.30 systemd-units
|
BuildRequires: autoconf automake libtirpc-devel libselinux-devel >= 1.30 systemd-units
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
@ -116,6 +117,12 @@ install -m600 contrib/xinetd.d/* %{buildroot}%{_sysconfdir}/xinetd.d
|
|||||||
%exclude %{_mandir}/man8/xconv.pl*
|
%exclude %{_mandir}/man8/xconv.pl*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Oct 26 2022 wuzx<wuzx1226@qq.com> - 2:2.3.15-35
|
||||||
|
- Type:feature
|
||||||
|
- CVE:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC:Add sw64 architecture
|
||||||
|
|
||||||
* Fri Jun 10 2022 gaihuiying <eaglegai@163.com> - 2:2.3.15-34
|
* Fri Jun 10 2022 gaihuiying <eaglegai@163.com> - 2:2.3.15-34
|
||||||
- Type:bugfix
|
- Type:bugfix
|
||||||
- CVE:NA
|
- CVE:NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user