]> git.pld-linux.org Git - packages/vde2.git/blob - vde2-pathmax.patch
- fix missing PATH_MAX
[packages/vde2.git] / vde2-pathmax.patch
1 --- vde2-2.2.1/src/kvde_switch/consmgmt.h.s     2008-06-24 12:20:28.000000000 +0200
2 +++ vde2-2.2.1/src/kvde_switch/consmgmt.h       2008-06-24 12:20:41.000000000 +0200
3 @@ -87,3 +87,7 @@
4         struct plugin *next;
5  };
6  #endif
7 +
8 +#ifndef PATH_MAX
9 +#define PATH_MAX 1024
10 +#endif
11 --- vde2-2.2.1/src/vde_plug2tap.c.s     2008-06-24 12:26:21.000000000 +0200
12 +++ vde2-2.2.1/src/vde_plug2tap.c       2008-06-24 12:26:42.000000000 +0200
13 @@ -49,6 +49,10 @@
14  #      endif
15  #endif
16  
17 +#ifndef PATH_MAX
18 +#define PATH_MAX 1024
19 +#endif
20 +
21  VDECONN *conn;
22  
23  char *prog;
24 --- vde2-2.2.1/src/wirefilter.c.s       2008-06-24 12:27:33.000000000 +0200
25 +++ vde2-2.2.1/src/wirefilter.c 2008-06-24 12:27:49.000000000 +0200
26 @@ -43,6 +43,10 @@
27  #      endif
28  #endif
29  
30 +#ifndef PATH_MAX
31 +#define PATH_MAX 1024
32 +#endif
33 +
34  #define NPIPES 2
35  #define MAXCONN 3
36  static int alternate_stdin;
This page took 0.032314 seconds and 4 git commands to generate.