diff options
author | Michael Mair-Keimberger (asterix) <m.mairkeimberger@gmail.com> | 2016-09-03 18:03:04 +0200 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2016-09-08 09:32:37 +0200 |
commit | 108d88b3c17f3f0f11f555273a362f2467e524ab (patch) | |
tree | 17ded18af5b960c521d6425fcb2c43699640cbff /dev-libs/ucommon | |
parent | media-libs/libchamplain: version bump from 0.12.13 to 0.12.14 (diff) | |
download | gentoo-108d88b3c17f3f0f11f555273a362f2467e524ab.tar.gz gentoo-108d88b3c17f3f0f11f555273a362f2467e524ab.tar.bz2 gentoo-108d88b3c17f3f0f11f555273a362f2467e524ab.zip |
dev-libs/{...}: remove unused patches.
Closes: https://github.com/gentoo/gentoo/pull/2218
Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Diffstat (limited to 'dev-libs/ucommon')
-rw-r--r-- | dev-libs/ucommon/files/ucommon-5.2.2-address.patch | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/dev-libs/ucommon/files/ucommon-5.2.2-address.patch b/dev-libs/ucommon/files/ucommon-5.2.2-address.patch deleted file mode 100644 index 142aa5941f8c..000000000000 --- a/dev-libs/ucommon/files/ucommon-5.2.2-address.patch +++ /dev/null @@ -1,42 +0,0 @@ -This patch fixes memory errors - -Author: David Sugar - ---- commoncpp/address.cpp -+++ commoncpp/address.cpp -@@ -360,7 +360,7 @@ - if(ipaddr) - delete[] ipaddr; - ipaddr = new struct in_addr[1]; -- memset((void *)&ipaddr[0], 0, sizeof(ipaddr)); -+ memset((void *)&ipaddr[0], 0, sizeof(struct in_addr)); - return; - } - -@@ -498,7 +498,7 @@ - : validator(_validator), hostname(NULL) { - addr_count = 1; - ipaddr = new struct in6_addr[1]; -- memcpy(ipaddr, &in6addr_any, sizeof(in6_addr)); -+ memcpy(ipaddr, &in6addr_any, sizeof(struct in6_addr)); - } - - IPV6Address::IPV6Address(const char *address, const IPV6Validator *_validator) : -@@ -716,7 +716,7 @@ - if(ipaddr) - delete[] ipaddr; - ipaddr = new struct in6_addr[1]; -- memset((void *)&ipaddr[0], 0, sizeof(ipaddr)); -+ memset((void *)&ipaddr[0], 0, sizeof(struct in6_addr)); - return; - } - -@@ -796,7 +796,7 @@ - if(ipaddr) - delete[] ipaddr; - ipaddr = new struct in6_addr[1]; -- memset((void *)&ipaddr[0], 0, sizeof(ipaddr)); -+ memset((void *)&ipaddr[0], 0, sizeof(struct in6_addr)); - return; - } - |