X-Git-Url: https://git.pld-linux.org/?a=blobdiff_plain;f=vde2-pathmax.patch;fp=vde2-pathmax.patch;h=a3566ec9efcfd3bf2eb98569b2443db9e88a4432;hb=7fc3c0f52a17864f2a8391862293253cf9408fbb;hp=0000000000000000000000000000000000000000;hpb=b738e09cf4a7c1b3de31a1c11df4789e39d87d2e;p=packages%2Fvde2.git diff --git a/vde2-pathmax.patch b/vde2-pathmax.patch new file mode 100644 index 0000000..a3566ec --- /dev/null +++ b/vde2-pathmax.patch @@ -0,0 +1,36 @@ +--- vde2-2.2.1/src/kvde_switch/consmgmt.h.s 2008-06-24 12:20:28.000000000 +0200 ++++ vde2-2.2.1/src/kvde_switch/consmgmt.h 2008-06-24 12:20:41.000000000 +0200 +@@ -87,3 +87,7 @@ + struct plugin *next; + }; + #endif ++ ++#ifndef PATH_MAX ++#define PATH_MAX 1024 ++#endif +--- vde2-2.2.1/src/vde_plug2tap.c.s 2008-06-24 12:26:21.000000000 +0200 ++++ vde2-2.2.1/src/vde_plug2tap.c 2008-06-24 12:26:42.000000000 +0200 +@@ -49,6 +49,10 @@ + # endif + #endif + ++#ifndef PATH_MAX ++#define PATH_MAX 1024 ++#endif ++ + VDECONN *conn; + + char *prog; +--- vde2-2.2.1/src/wirefilter.c.s 2008-06-24 12:27:33.000000000 +0200 ++++ vde2-2.2.1/src/wirefilter.c 2008-06-24 12:27:49.000000000 +0200 +@@ -43,6 +43,10 @@ + # endif + #endif + ++#ifndef PATH_MAX ++#define PATH_MAX 1024 ++#endif ++ + #define NPIPES 2 + #define MAXCONN 3 + static int alternate_stdin;