lcd4linux: import from oldpackages

* Update to latest version
* Refresh patches
* Update copyright years
* Fix musl build issues (patches already applied upstream)

Signed-off-by: Jonathan McCrohan <jmccrohan@gmail.com>
This commit is contained in:
Jonathan McCrohan
2015-07-12 23:18:21 +01:00
parent 6e79792c8a
commit 4f086bc2a3
12 changed files with 4308 additions and 0 deletions
@@ -0,0 +1,11 @@
--- a/plugin_netinfo.c
+++ b/plugin_netinfo.c
@@ -264,7 +264,7 @@ static void my_netmask_short(RESULT * re
sin = get_netmask(arg1);
if (NULL != sin) {
logval = (long double) (get_netmask(arg1)->sin_addr.s_addr);
- netlen = (int) rint(log2l(logval) / log2l(2.0));
+ netlen = (int) rint(log2f(logval) / log2f(2.0));
qprintf(value, sizeof(value), "/%d", netlen);
} else {
qprintf(value, sizeof(value), "/?");