summaryrefslogtreecommitdiff
path: root/package/olsrd
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-10-14 00:21:05 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2010-10-14 00:21:05 +0200
commit838ba34414112d674ed917d83bdae7c1a8dafdc6 (patch)
tree4303cceddeb48d74755cbacc0b06eadaf45c1d37 /package/olsrd
parentb2d07cf71c35790672584d9d7bef255fd5bc554c (diff)
make MacOS X works as build system for most of the packages, update some packages to latest stable upstream version
Diffstat (limited to 'package/olsrd')
-rw-r--r--package/olsrd/patches/patch-src_unix_ifnet_c13
1 files changed, 13 insertions, 0 deletions
diff --git a/package/olsrd/patches/patch-src_unix_ifnet_c b/package/olsrd/patches/patch-src_unix_ifnet_c
new file mode 100644
index 000000000..67705012b
--- /dev/null
+++ b/package/olsrd/patches/patch-src_unix_ifnet_c
@@ -0,0 +1,13 @@
+--- olsrd-0.6.0.orig/src/unix/ifnet.c 2010-04-22 17:11:11.000000000 +0200
++++ olsrd-0.6.0/src/unix/ifnet.c 2010-10-10 14:34:54.000000000 +0200
+@@ -547,10 +547,8 @@ chk_if_up(struct olsr_if *iface, int deb
+ struct ifreq ifr;
+ union olsr_ip_addr null_addr;
+ size_t name_size;
+-#ifdef linux
+ int precedence = IPTOS_PREC(olsr_cnf->tos);
+ int tos_bits = IPTOS_TOS(olsr_cnf->tos);
+-#endif
+
+ if (iface->host_emul)
+ return -1;