diff options
author | cvs2svn <cvs2svn@FreeBSD.org> | 2005-01-21 15:36:45 +0000 |
---|---|---|
committer | cvs2svn <cvs2svn@FreeBSD.org> | 2005-01-21 15:36:45 +0000 |
commit | 7011c19a8c96a2f8fb7c04d61cb28cdc507584a6 (patch) | |
tree | 22c0efaf2b6bb5b461389f9bac9542c7e3a5909a /x11/kdebase4/files/patch-kcontrol-nics-nic.cpp | |
parent | Now buildable on 4.x, still broken on >= 5.x. (diff) |
This commit was manufactured by cvs2svn to create tag 'RELEASE_4_11_0'.release/4.11.0
Diffstat (limited to 'x11/kdebase4/files/patch-kcontrol-nics-nic.cpp')
-rw-r--r-- | x11/kdebase4/files/patch-kcontrol-nics-nic.cpp | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/x11/kdebase4/files/patch-kcontrol-nics-nic.cpp b/x11/kdebase4/files/patch-kcontrol-nics-nic.cpp deleted file mode 100644 index e11c3de5032a..000000000000 --- a/x11/kdebase4/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) |