diff options
Diffstat (limited to 'x11/kde4-workspace/files/patch-kcontrol-nics-nic.cpp')
-rw-r--r-- | x11/kde4-workspace/files/patch-kcontrol-nics-nic.cpp | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/x11/kde4-workspace/files/patch-kcontrol-nics-nic.cpp b/x11/kde4-workspace/files/patch-kcontrol-nics-nic.cpp deleted file mode 100644 index e11c3de5032a..000000000000 --- a/x11/kde4-workspace/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) |