]> git.pld-linux.org Git - packages/vde2.git/commitdiff
- fix missing PATH_MAX
authorSebastian Zagrodzki <sebek@zagrodzki.net>
Tue, 24 Jun 2008 10:36:48 +0000 (10:36 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    vde2-pathmax.patch -> 1.1

vde2-pathmax.patch [new file with mode: 0644]

diff --git a/vde2-pathmax.patch b/vde2-pathmax.patch
new file mode 100644 (file)
index 0000000..a3566ec
--- /dev/null
@@ -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;
This page took 0.106595 seconds and 4 git commands to generate.