]> git.pld-linux.org Git - packages/vde2.git/blame - vde2-pathmax.patch
- support building both python modules
[packages/vde2.git] / vde2-pathmax.patch
CommitLineData
66135b48
JR
1diff -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 {
7fc3c0f5
SZ
5 struct plugin *next;
6 };
7 #endif
8+
9+#ifndef PATH_MAX
10+#define PATH_MAX 1024
11+#endif
66135b48
JR
12diff -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 @@
7fc3c0f5
SZ
16 # endif
17 #endif
18
19+#ifndef PATH_MAX
20+#define PATH_MAX 1024
21+#endif
22+
23 VDECONN *conn;
66135b48 24 VDESTREAM *vdestream;
7fc3c0f5 25
66135b48
JR
26diff -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 @@
7fc3c0f5
SZ
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.128857 seconds and 5 git commands to generate.