termux-packages/packages/net-tools/lib-inet.c.patch
Vishal Biswas b6d05a89e7 Updates for some disabled packages and add net-tools (#911)
* liblzo: update from 2.09 to 2.10

* net-tools: add package

* openvpn: update from 2.4.0 to 2.4.1

* squid: update from 3.5.24 to 3.5.25
2017-04-09 22:02:35 +02:00

19 lines
357 B
Diff

--- ./lib/inet.c 2017-02-21 23:54:32.000000000 +0530
+++ ../inet.c 2017-04-09 14:43:19.639365853 +0530
@@ -414,6 +414,7 @@
}
}
endservent();
+#if 0
setprotoent(1);
while ((pe = getprotoent())) {
/* Allocate a service entry. */
@@ -423,6 +424,7 @@
add2list(&raw_name, item);
}
endprotoent();
+#endif
return (0);
}