projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
stop build when an error occurs and when BUILDLOG is set (#5160)
[openwrt.git]
/
package
/
iproute2
/
patches
/
004-darwin_fixes.patch
diff --git
a/package/iproute2/patches/004-darwin_fixes.patch
b/package/iproute2/patches/004-darwin_fixes.patch
index
3719c7e
..
da7c3ec
100644
(file)
--- a/
package/iproute2/patches/004-darwin_fixes.patch
+++ b/
package/iproute2/patches/004-darwin_fixes.patch
@@
-6,7
+6,7
@@
Index: iproute-2.6.20-070313/netem/maketable.c
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
-+#if
ndef __APPLE__
++#if
!defined(__APPLE__) && !defined(__FreeBSD__)
#include <malloc.h>
+#endif
#include <string.h>
#include <malloc.h>
+#endif
#include <string.h>
@@
-20,7
+20,7
@@
Index: iproute-2.6.20-070313/netem/normal.c
#include <string.h>
#include <limits.h>
#include <string.h>
#include <limits.h>
-+#if
ndef __APPLE__
++#if
!defined(__APPLE__) && !defined(__FreeBSD__)
#include <linux/types.h>
#include <linux/pkt_sched.h>
+#else
#include <linux/types.h>
#include <linux/pkt_sched.h>
+#else
@@
-37,7
+37,7
@@
Index: iproute-2.6.20-070313/netem/pareto.c
#include <math.h>
#include <limits.h>
#include <math.h>
#include <limits.h>
-+#if
ndef __APPLE__
++#if
!defined(__APPLE__) && !defined(__FreeBSD__)
#include <linux/types.h>
#include <linux/pkt_sched.h>
+#else
#include <linux/types.h>
#include <linux/pkt_sched.h>
+#else
@@
-54,7
+54,7
@@
Index: iproute-2.6.20-070313/netem/paretonormal.c
#include <string.h>
#include <math.h>
#include <limits.h>
#include <string.h>
#include <math.h>
#include <limits.h>
-+#if
ndef __APPLE__
++#if
!defined(__APPLE__) && !defined(__FreeBSD__)
#include <malloc.h>
-
#include <linux/types.h>
#include <malloc.h>
-
#include <linux/types.h>
This page took
0.022221 seconds
and
4
git commands to generate.