From d57e6a82578ae8c5008de9b8a118e7286b5ac8bd Mon Sep 17 00:00:00 2001 From: Michael Nottebrock Date: Sun, 20 Mar 2005 18:17:55 +0000 Subject: Update to KDE 3.4 --- x11/kde4-runtime/files/patch-kcontrol-nics-nic.cpp | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 x11/kde4-runtime/files/patch-kcontrol-nics-nic.cpp (limited to 'x11/kde4-runtime/files/patch-kcontrol-nics-nic.cpp') diff --git a/x11/kde4-runtime/files/patch-kcontrol-nics-nic.cpp b/x11/kde4-runtime/files/patch-kcontrol-nics-nic.cpp deleted file mode 100644 index e11c3de5032a..000000000000 --- a/x11/kde4-runtime/files/patch-kcontrol-nics-nic.cpp +++ /dev/null @@ -1,17 +0,0 @@ ---- kcontrol/nics/nic.cpp 15 Nov 2003 22:01:05 -0000 1.24 -+++ kcontrol/nics/nic.cpp 21 Jan 2004 13:38:46 -0000 -@@ -229,9 +229,14 @@ NICList* findNICs() - tmp->addr = buf; - - if (ifa->ifa_netmask != NULL) { -+#ifdef Q_OS_FREEBSD -+ struct sockaddr_in *sinptr = (struct sockaddr_in *)ifa->ifa_netmask; -+ tmp->netmask=inet_ntoa(sinptr->sin_addr); -+#else - bzero(buf, 128); - getnameinfo(ifa->ifa_netmask, ifa->ifa_netmask->sa_len, buf, 127, 0, 0, NI_NUMERICHOST); - tmp->netmask = buf; -+#endif - } - - if (ifa->ifa_flags & IFF_UP) -- cgit v1.2.3