diff options
Diffstat (limited to 'trinity-base/tdelibs')
-rw-r--r-- | trinity-base/tdelibs/files/tdelibs-backtrace.patch | 12 | ||||
-rw-r--r-- | trinity-base/tdelibs/files/tdelibs-hwlib.patch | 20 | ||||
-rw-r--r-- | trinity-base/tdelibs/files/tdelibs-malloc.patch | 11 |
3 files changed, 0 insertions, 43 deletions
diff --git a/trinity-base/tdelibs/files/tdelibs-backtrace.patch b/trinity-base/tdelibs/files/tdelibs-backtrace.patch deleted file mode 100644 index 21020b46..00000000 --- a/trinity-base/tdelibs/files/tdelibs-backtrace.patch +++ /dev/null @@ -1,12 +0,0 @@ ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -374,6 +374,9 @@ - find_package( Backtrace ) - if ( Backtrace_FOUND ) - set ( HAVE_BACKTRACE 1 ) -+ else () -+ set ( Backtrace_LIBRARY "" ) -+ set ( Backtrace_HEADER "" ) - endif () - endif () - check_cxx_source_compiles( "#include <cxxabi.h> 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) { diff --git a/trinity-base/tdelibs/files/tdelibs-malloc.patch b/trinity-base/tdelibs/files/tdelibs-malloc.patch deleted file mode 100644 index 9e4ebeb5..00000000 --- a/trinity-base/tdelibs/files/tdelibs-malloc.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/tdecore/malloc/malloc.c -+++ b/tdecore/malloc/malloc.c -@@ -4306,7 +4306,7 @@ - remainder_size = chunksize(p); - - if (opts & 0x2) { /* optionally clear the elements */ -- memset(mem, 0, remainder_size - SIZE_SZ - array_size) -+ memset(mem, 0, remainder_size - SIZE_SZ - array_size); - } - - /* If not provided, allocate the pointer array as final part of chunk */ |