From 0652f944af3e1fc3d7482380f9c9a8aabc334db3 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Mon, 10 Feb 2014 09:34:53 +0100 Subject: fix cross-compile on Darwin --- package/iproute2/patches/patch-netem_pareto_c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 package/iproute2/patches/patch-netem_pareto_c (limited to 'package/iproute2/patches/patch-netem_pareto_c') diff --git a/package/iproute2/patches/patch-netem_pareto_c b/package/iproute2/patches/patch-netem_pareto_c new file mode 100644 index 000000000..b422a56a0 --- /dev/null +++ b/package/iproute2/patches/patch-netem_pareto_c @@ -0,0 +1,14 @@ +--- iproute2-3.12.0.orig/netem/pareto.c 2013-11-23 02:10:33.000000000 +0100 ++++ iproute2-3.12.0/netem/pareto.c 2014-02-09 11:46:07.000000000 +0100 +@@ -7,10 +7,8 @@ + #include + #include + +-#include +-#include +- + static const double a=3.0; ++#define NETEM_DIST_SCALE 8192 + #define TABLESIZE 16384 + #define TABLEFACTOR NETEM_DIST_SCALE + -- cgit v1.2.3