]> git.pld-linux.org Git - packages/vde2.git/blob - vde2-pathmax.patch
- rediff patch, rebuild with openssl 3.0.0, rel 6
[packages/vde2.git] / vde2-pathmax.patch
1 diff -urNp -x '*.orig' vde2-2.3.2.org/src/kvde_switch/consmgmt.h vde2-2.3.2/src/kvde_switch/consmgmt.h
2 --- vde2-2.3.2.org/src/kvde_switch/consmgmt.h   2011-11-23 17:41:17.000000000 +0100
3 +++ vde2-2.3.2/src/kvde_switch/consmgmt.h       2021-10-03 20:37:26.243228873 +0200
4 @@ -87,3 +87,7 @@ struct plugin {
5         struct plugin *next;
6  };
7  #endif
8 +
9 +#ifndef PATH_MAX
10 +#define PATH_MAX 1024
11 +#endif
12 diff -urNp -x '*.orig' vde2-2.3.2.org/src/vde_plug2tap.c vde2-2.3.2/src/vde_plug2tap.c
13 --- vde2-2.3.2.org/src/vde_plug2tap.c   2011-11-23 17:41:18.000000000 +0100
14 +++ vde2-2.3.2/src/vde_plug2tap.c       2021-10-03 20:37:26.243228873 +0200
15 @@ -51,6 +51,10 @@
16  #      endif
17  #endif
18  
19 +#ifndef PATH_MAX
20 +#define PATH_MAX 1024
21 +#endif
22 +
23  VDECONN *conn;
24  VDESTREAM *vdestream;
25  
26 diff -urNp -x '*.orig' vde2-2.3.2.org/src/wirefilter.c vde2-2.3.2/src/wirefilter.c
27 --- vde2-2.3.2.org/src/wirefilter.c     2011-11-23 17:41:18.000000000 +0100
28 +++ vde2-2.3.2/src/wirefilter.c 2021-10-03 20:37:26.243228873 +0200
29 @@ -49,6 +49,10 @@
30  #      endif
31  #endif
32  
33 +#ifndef PATH_MAX
34 +#define PATH_MAX 1024
35 +#endif
36 +
37  #define NPIPES 2
38  #define MAXCONN 3
39  static int alternate_stdin;
This page took 0.085956 seconds and 4 git commands to generate.