diff --git a/NetworkManager-Add-sw64-architecture.patch b/NetworkManager-Add-sw64-architecture.patch new file mode 100644 index 0000000000000000000000000000000000000000..13ac3b75ab0dcaf133f8107f5faf4fb955cbd877 --- /dev/null +++ b/NetworkManager-Add-sw64-architecture.patch @@ -0,0 +1,28 @@ +From a3e9c5c1e6646c133b7dbd6d996b4f38a44ae0aa Mon Sep 17 00:00:00 2001 +From: wzx +Date: Tue, 25 Oct 2022 09:06:08 +0800 +Subject: [PATCH] Add sw64 architecture + +Add sw64 architecture parallel to alpha architecture in file missing_fcntl.h to make it possible on sw64 servers. + +Signed-off-by: wzx +--- + src/libnm-systemd-shared/src/basic/missing_fcntl.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/libnm-systemd-shared/src/basic/missing_fcntl.h b/src/libnm-systemd-shared/src/basic/missing_fcntl.h +index 00937d2..547891c 100644 +--- a/src/libnm-systemd-shared/src/basic/missing_fcntl.h ++++ b/src/libnm-systemd-shared/src/basic/missing_fcntl.h +@@ -43,7 +43,7 @@ + */ + + #ifndef __O_TMPFILE +-#if defined(__alpha__) ++#if defined(__alpha__) || defined(__sw_64__) + #define __O_TMPFILE 0100000000 + #elif defined(__parisc__) || defined(__hppa__) + #define __O_TMPFILE 0400000000 +-- +2.33.0 + diff --git a/NetworkManager.spec b/NetworkManager.spec index f43747dc15211be7ef7c07bfde84f6657be847ae..726d710cf071826a05e8b99a85fe6a5b0b92c58c 100644 --- a/NetworkManager.spec +++ b/NetworkManager.spec @@ -50,7 +50,7 @@ Name: NetworkManager Version: 1.32.12 Epoch: 1 -Release: 13 +Release: 14 Summary: Network Link Manager and User Applications License: GPLv2+ URL: https://www.gnome.org/projects/NetworkManager/ @@ -67,6 +67,7 @@ Patch6001: backport-libnm-fix-crash-on-failure-of-nm_vpn_plugin_info_new_ Patch6002: backport-core-reload-config-for-active-devices.patch Patch6003: backport-libnm-fix-warning-when-setting-wrong-ethtool-ternary-value.patch Patch6004: fix-minor-written-mistake.patch +Patch6005: NetworkManager-Add-sw64-architecture.patch BuildRequires: gcc libtool pkgconfig automake autoconf intltool gettext-devel ppp-devel gnutls-devel BuildRequires: dbus-devel dbus-glib-devel glib2-devel gobject-introspection-devel jansson-devel @@ -486,6 +487,12 @@ fi %{_datadir}/gtk-doc/html/NetworkManager/* %changelog +* Fri Dec 2 2022 gaoxingwang - 1:1.32.12-14 +- Type:feature +- CVE:NA +- SUG:NA +- DESC:Add sw64 architecture + * Tue Nov 15 2022 yuelg - 1:1.32.12-13 - Type:bugfix - ID:NA