diff options
Diffstat (limited to 'package/squid/patches/patch-lib_util_c')
-rw-r--r-- | package/squid/patches/patch-lib_util_c | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/package/squid/patches/patch-lib_util_c b/package/squid/patches/patch-lib_util_c new file mode 100644 index 000000000..622df36d6 --- /dev/null +++ b/package/squid/patches/patch-lib_util_c @@ -0,0 +1,22 @@ +$Id$ + + the host tools don't need libm + +--- squid-2.5.STABLE13.orig/lib/util.c 2005-06-30 20:50:56.000000000 +0200 ++++ squid-2.5.STABLE13/lib/util.c 2006-09-18 19:23:46.000000000 +0200 +@@ -704,6 +704,7 @@ xpercent(double part, double whole) + return xdiv(100 * part, whole); + } + ++#ifndef BUILD_HOST_TOOL + int + xpercentInt(double part, double whole) + { +@@ -714,6 +715,7 @@ xpercentInt(double part, double whole) + return (int) floor(xpercent(part, whole) + 0.5); + #endif + } ++#endif + + /* somewhat safer division */ + double |