From: Vasilis Tsiligiannis Date: Sun, 12 Jul 2009 15:37:53 +0000 (+0000) Subject: [packages] kismet: Remove finite prototype patch which is now fixed on uClibc (change... X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=commitdiff_plain;h=7243ccc51653b7cfd71a45aa7b455657e3e0d162 [packages] kismet: Remove finite prototype patch which is now fixed on uClibc (changeset r16170) SVN-Revision: 16813 --- diff --git a/net/kismet/patches/110-finite_proto.patch b/net/kismet/patches/110-finite_proto.patch deleted file mode 100644 index d578e765c5..0000000000 --- a/net/kismet/patches/110-finite_proto.patch +++ /dev/null @@ -1,60 +0,0 @@ -diff -Nru kismet-2008-05-R1.old/gpsd.cc kismet-2008-05-R1/gpsd.cc ---- kismet-2008-05-R1.old/gpsd.cc 2009-05-20 00:27:48.612804334 +0300 -+++ kismet-2008-05-R1/gpsd.cc 2009-05-20 00:28:21.407929729 +0300 -@@ -481,7 +481,7 @@ - dir = atan2(tx,ty); - } - -- if (!finite(dir)) -+ if (!isfinite(dir)) - dir = 0.0; - if (ty < 0) - dir = M_PI + dir; -diff -Nru kismet-2008-05-R1.old/panelfront_display.cc kismet-2008-05-R1/panelfront_display.cc ---- kismet-2008-05-R1.old/panelfront_display.cc 2008-03-16 19:59:00.000000000 +0200 -+++ kismet-2008-05-R1/panelfront_display.cc 2009-05-20 00:28:11.074804546 +0300 -@@ -1562,7 +1562,7 @@ - details_network->virtnet->max_lat, - details_network->virtnet->max_lon); - -- if (finite(diagdist)) { -+ if (isfinite(diagdist)) { - if (metric) { - if (diagdist < 1000) - snprintf(output, print_width, "Range : %.3f meters", diagdist); -@@ -1575,7 +1575,7 @@ - else - snprintf(output, print_width, "Range : %.3f miles", diagdist / 5280); - } -- kwin->text.push_back(output); -+ kwin->text.push_back(output); - } - } - } -@@ -1937,7 +1937,7 @@ - double diagdist = GPSD::EarthDistance(dnet->min_lat, dnet->min_lon, - dnet->max_lat, dnet->max_lon); - -- if (finite(diagdist)) { -+ if (isfinite(diagdist)) { - if (metric) { - if (diagdist < 1000) - snprintf(output, print_width, "Range : %f meters", diagdist); -@@ -1950,7 +1950,7 @@ - else - snprintf(output, print_width, "Range : %f miles", diagdist / 5280); - } -- kwin->text.push_back(output); -+ kwin->text.push_back(output); - } - } - } -@@ -3141,7 +3141,7 @@ - details_client->max_lat, - details_client->max_lon); - -- if (finite(diagdist)) { -+ if (isfinite(diagdist)) { - if (metric) { - if (diagdist < 1000) - snprintf(output, print_width, "Range : %f meters", diagdist);