Re: [B.A.T.M.A.N.] Donations for domain registration fees open-mesh.net/open-mesh.org

2016-09-15 Thread Simon Wunderlich
Hi, On Thursday, September 15, 2016 2:30:20 PM CEST Sven Eckelmann wrote: > On Donnerstag, 15. September 2016 14:02:13 CEST elektra wrote: > > Hi all – > > Please don't hijack other threads ;) > > [...] > > > This year I'm on a tight budget. So if anyone wants to throw in a coin or > > two to

[B.A.T.M.A.N.] [PATCH next v2 3/3] batman-adv: make netlink attributes const

2016-09-15 Thread Sven Eckelmann
From: stephen hemminger Signed-off-by: Stephen Hemminger [s...@narfation.org: Add compat-patch script] Signed-off-by: Sven Eckelmann --- v2: - new patch picked from the net-next.git compat-patches/replacements.sh |

[B.A.T.M.A.N.] [PATCH next v2 1/3] batman-adv: Introduce compat-patches support

2016-09-15 Thread Sven Eckelmann
compat-includes/compat.h can usually be used to solve compatibility problems with older kernels. This works well for functions, defines/enums and sometimes even structures that were introduced. But this can fail when structs changed. Some of these can be solved in crude ways but sometimes it is

[B.A.T.M.A.N.] [PATCH next v2 2/3] batman-adv: Use simple script to patch minor compat problems

2016-09-15 Thread Sven Eckelmann
Unified diff base patches have the problem that they fix only a single line and depend on the surrounding. This approach can fail relative often when the surrounding code will be changed often. Thus semantic patches (like spatch from coccinelle) or simple find+replace scripts are better for this

Re: [B.A.T.M.A.N.] batctl: Work around uclibc collision for __unused

2016-09-15 Thread Andreas Pape
On Sun, 4 Sep 2016 20:23:31 +0200 Sven Eckelmann wrote: > uclibc on 64 bit systems uses struct members called __unused. These > conflict with the definition of __unused in batctl. Such a conflict > results in a build error because the struct member will be replaced with >

Re: [B.A.T.M.A.N.] Donations for domain registration fees open-mesh.net/open-mesh.org

2016-09-15 Thread Sven Eckelmann
On Donnerstag, 15. September 2016 14:02:13 CEST elektra wrote: > Hi all – Please don't hijack other threads ;) [...] > This year I'm on a tight budget. So if anyone wants to throw in a coin or > two to share the costs, this would be appreciated. The amount due this year > is around 39 Euro. I

[B.A.T.M.A.N.] Antwort: Re: batctl: problem with #define __unused in main.h

2016-09-15 Thread Andreas Pape
Hi Sven, this patch works for me. Sorry for not finding your patch in patchwork myself. Stupid question: how and where do I reply with Tested-by? Best regards, Andreas Sven Eckelmann schrieb am 15.09.2016 11:19:33: > Von: Sven Eckelmann > An:

[B.A.T.M.A.N.] [PATCH] batctl: optchar variable uses wrong type

2016-09-15 Thread Andreas Pape
The variable "optchar" used char instead of int leading to a non working batctl tp command as the while loop parsing the tp arguments with the getopt command is only left via the "default" case leaving the tp subcommand unusable. Using type char also lead to a compiler warning. Signed-off-by:

Re: [B.A.T.M.A.N.] batctl: problem with #define __unused in main.h

2016-09-15 Thread Sven Eckelmann
On Donnerstag, 15. September 2016 11:00:03 CEST Andreas Pape wrote: > Hello > > when trying to compile the latest batctl code from the git repository I > run into a compiler error > (gcc 4.8.5 and eglibc-2.18) . Please test https://patchwork.open-mesh.org/patch/16673/ (and reply with a

[B.A.T.M.A.N.] Donations for domain registration fees open-mesh.net/open-mesh.org

2016-09-15 Thread elektra
Hi all – since the beginning of the open-mesh development platform Axel Neumann and I have been paying the domain registration fees for open-mesh.net and open-mesh.org. Since Axel went on to work for bmx as a seperate project a few years ago, I'm paying the fees every year out of my pocket.

[B.A.T.M.A.N.] batctl: problem with #define __unused in main.h

2016-09-15 Thread Andreas Pape
Hello when trying to compile the latest batctl code from the git repository I run into a compiler error (gcc 4.8.5 and eglibc-2.18) . As far as I could figure out the problem is caused by the define of __unused in main.h. In my case I use the libnl-3.2.25 to compile the code. The libnl header

Re: [B.A.T.M.A.N.] [PATCH] batctl: optchar variable uses wrong type

2016-09-15 Thread Sven Eckelmann
On Donnerstag, 15. September 2016 10:41:00 CEST Andreas Pape wrote: > The variable "optchar" used char instead of int leading to a non > working batctl tp command as the while loop parsing the tp > arguments with the getopt command is only left via the "default" > case leaving the tp subcommand