aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/gnome-system-monitor/files/patch-src_openfiles.cpp
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2009-01-10 13:22:13 +0800
committermarcus <marcus@FreeBSD.org>2009-01-10 13:22:13 +0800
commit6d8ed8f7c7511223163de715a97ffc04bf6fada9 (patch)
tree40dc015efe383243b0880df377f73ee250da7de7 /sysutils/gnome-system-monitor/files/patch-src_openfiles.cpp
parentc7f342a8d7b82e85b9625c4403600fc20ce41da6 (diff)
downloadfreebsd-ports-gnome-6d8ed8f7c7511223163de715a97ffc04bf6fada9.tar.gz
freebsd-ports-gnome-6d8ed8f7c7511223163de715a97ffc04bf6fada9.tar.zst
freebsd-ports-gnome-6d8ed8f7c7511223163de715a97ffc04bf6fada9.zip
Presenting GNOME 2.24 for FreeBSD.
See http://library.gnome.org/misc/release-notes/2.24/ for the general release notes. On the FreeBSD front, this release introduces Fuse support in HAL, adds multi-CPU support to libgtop, WebKit updates, and fixes some long-standing seahorse and gnome-keyring bugs. The documentation updates to the website are forthcoming. This release features commits by adamw, ahze, kwm, mezz, and myself. It would not have been possible without are contributors and testers: Alexander Loginov Craig Butler [1] Dmitry Marakasov [6] Eric L. Chen Joseph S. Atkinson Kris Moore Lapo Luchini [7] Nikos Ntarmos Pawel Worach Romain Tartiere TAOKA Fumiyoshi [3] Yasuda Keisuke Zyl aZ [4] bf [2] [5] Florent Thoumie Peter Wemm pluknet PR: 125857 [1] 126993 [2] 130031 [3] 127399 [4] 127661 [5] 124302 [6] 129570 [7] 129936 123790
Diffstat (limited to 'sysutils/gnome-system-monitor/files/patch-src_openfiles.cpp')
-rw-r--r--sysutils/gnome-system-monitor/files/patch-src_openfiles.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/sysutils/gnome-system-monitor/files/patch-src_openfiles.cpp b/sysutils/gnome-system-monitor/files/patch-src_openfiles.cpp
new file mode 100644
index 000000000000..c00526174921
--- /dev/null
+++ b/sysutils/gnome-system-monitor/files/patch-src_openfiles.cpp
@@ -0,0 +1,14 @@
+--- src/openfiles.cpp.orig 2008-05-27 16:16:46.000000000 -0400
++++ src/openfiles.cpp 2008-05-27 16:19:53.000000000 -0400
+@@ -66,7 +66,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))
++#else
++ sizeof hostname, service, sizeof service, 0))
++#endif
+ goto failsafe;
+
+ if (res) freeaddrinfo(res);