libgeos: Disable build for now
[termux-packages] / packages / net-tools / lib-inet6.c.patch
1 --- ./lib/inet6.c 2017-02-21 23:54:32.000000000 +0530
2 +++ ../inet6.c 2017-04-09 14:01:12.215538103 +0530
3 @@ -46,7 +46,7 @@
4
5 static char *fix_v4_address(char *buf, const struct in6_addr *in6)
6 {
7 - if (IN6_IS_ADDR_V4MAPPED(in6->s6_addr)) {
8 + if (IN6_IS_ADDR_V4MAPPED(in6)) {
9 char *s =strchr(buf, '.');
10 if (s) {
11 while (s > buf && *s != ':')