diff options
author | Olivier Duchateau <duchateau.olivier@gmail.com> | 2025-06-11 13:39:31 +0200 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2025-06-11 13:54:43 +0200 |
commit | 108398604e16277d5bf76f157dd5b39644e73501 (patch) | |
tree | ac055f4cf3be701ce021f6e63b76131c5fdd4aaf /sysutils/gnome-system-monitor/files/patch-src_openfiles.cpp | |
parent | deskutils/gnote: update to 47.2 (diff) |
sysutils/gnome-system-monitor: update to 47.1
PR: 286697
Diffstat (limited to 'sysutils/gnome-system-monitor/files/patch-src_openfiles.cpp')
-rw-r--r-- | sysutils/gnome-system-monitor/files/patch-src_openfiles.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/sysutils/gnome-system-monitor/files/patch-src_openfiles.cpp b/sysutils/gnome-system-monitor/files/patch-src_openfiles.cpp index 7e97b8a494aa..6a1798386840 100644 --- a/sysutils/gnome-system-monitor/files/patch-src_openfiles.cpp +++ b/sysutils/gnome-system-monitor/files/patch-src_openfiles.cpp @@ -1,14 +1,14 @@ ---- src/openfiles.cpp.orig 2011-08-30 02:46:08.000000000 +0200 -+++ src/openfiles.cpp 2011-10-08 00:23:38.000000000 +0200 -@@ -71,7 +71,11 @@ - goto failsafe; +--- src/openfiles.cpp.orig 2023-09-02 21:02:13 UTC ++++ src/openfiles.cpp +@@ -79,7 +79,11 @@ friendlier_hostname (const char *addr_str, + goto failsafe; - if (getnameinfo(res->ai_addr, res->ai_addrlen, hostname, -+#ifdef NI_IDN - sizeof hostname, service, sizeof service, NI_IDN)) + if (getnameinfo (res->ai_addr, res->ai_addrlen, hostname, ++#ifdef NI_IDM + sizeof hostname, service, sizeof service, NI_IDN)) +#else -+ sizeof hostname, service, sizeof service, 0)) ++ sizeof hostname, service, sizeof service, 0)) +#endif - goto failsafe; + goto failsafe; - if (res) freeaddrinfo(res); + if (res) |