- make -j1 (there is race between building libvdesnmp and libvdemgmt)
--- /dev/null
+--- vde2-2.3.2/src/common/cmdparse.c.orig 2011-11-23 17:41:14.000000000 +0100
++++ vde2-2.3.2/src/common/cmdparse.c 2012-10-26 23:25:47.215786024 +0200
+@@ -284,13 +284,13 @@
+ int i;
+ for (i=0;i<argc;i++) {
+ if (i) fprintf(mf," ");
+- fprintf(mf,argv[i]);
++ fprintf(mf,"%s",argv[i]);
+ }
+ } else {
+ int num=atoi(t);
+ while (*t >='0' && *t <= '9') t++;
+ if (num < argc)
+- fprintf(mf,argv[num]);
++ fprintf(mf,"%s",argv[num]);
+ }
+ } else
+ fprintf(mf,"%c",*t);
Source0: http://downloads.sourceforge.net/vde/%{name}-%{version}.tar.bz2
# Source0-md5: 46fbc5f97f03dc517aa3b2c9d9ea6628
Patch0: %{name}-pathmax.patch
+Patch1: %{name}-format.patch
URL: http://sourceforge.net/projects/vde/
BuildRequires: autoconf >= 2.59
BuildRequires: automake
%prep
%setup -q
%patch0 -p1
+%patch1 -p1
%build
%{__libtoolize}
--disable-silent-rules \
--enable-kernel-switch
-%{__make} \
+%{__make} -j1 \
pythondir=%{py_sitedir}
%install