From 219a6dab8995aad9ac4860cc1a84d6f3509a03a4 Mon Sep 17 00:00:00 2001 From: wbx Date: Sun, 17 May 2009 14:41:34 +0200 Subject: Initial import --- package/squid/patches/patch-lib_util_c | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 package/squid/patches/patch-lib_util_c (limited to 'package/squid/patches/patch-lib_util_c') 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 -- cgit v1.2.3