diff options
Diffstat (limited to 'trinity-base/tdelibs/files/tdelibs-hwlib.patch')
-rw-r--r-- | trinity-base/tdelibs/files/tdelibs-hwlib.patch | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/trinity-base/tdelibs/files/tdelibs-hwlib.patch b/trinity-base/tdelibs/files/tdelibs-hwlib.patch deleted file mode 100644 index 911f9c04..00000000 --- a/trinity-base/tdelibs/files/tdelibs-hwlib.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- a/tdecore/tdehw/tdehardwaredevices.cpp -+++ b/tdecore/tdehw/tdehardwaredevices.cpp -@@ -2906,7 +2906,7 @@ - ndevice->internalSetIpV6Netmask(address); - } - } -- s = getnameinfo(ifa->ifa_ifu.ifu_broadaddr, (family == AF_INET) ? sizeof(struct sockaddr_in) : sizeof(struct sockaddr_in6), host, NI_MAXHOST, NULL, 0, NI_NUMERICHOST); -+ s = ifa->ifa_ifu.ifu_broadaddr ? getnameinfo(ifa->ifa_ifu.ifu_broadaddr, (family == AF_INET) ? sizeof(struct sockaddr_in) : sizeof(struct sockaddr_in6), host, NI_MAXHOST, NULL, 0, NI_NUMERICHOST) : EAI_NONAME; - if (s == 0) { - TQString address(host); - if (family == AF_INET) { -@@ -2917,7 +2917,7 @@ - ndevice->internalSetIpV6Broadcast(address); - } - } -- s = getnameinfo(ifa->ifa_ifu.ifu_dstaddr, (family == AF_INET) ? sizeof(struct sockaddr_in) : sizeof(struct sockaddr_in6), host, NI_MAXHOST, NULL, 0, NI_NUMERICHOST); -+ s = ifa->ifa_ifu.ifu_dstaddr ? getnameinfo(ifa->ifa_ifu.ifu_dstaddr, (family == AF_INET) ? sizeof(struct sockaddr_in) : sizeof(struct sockaddr_in6), host, NI_MAXHOST, NULL, 0, NI_NUMERICHOST) : EAI_NONAME; - if (s == 0) { - TQString address(host); - if (family == AF_INET) { |