diff options
Diffstat (limited to 'net-misc/vde/files/vde-2.3.2-fix-inline-funcs.patch')
-rw-r--r-- | net-misc/vde/files/vde-2.3.2-fix-inline-funcs.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/net-misc/vde/files/vde-2.3.2-fix-inline-funcs.patch b/net-misc/vde/files/vde-2.3.2-fix-inline-funcs.patch new file mode 100644 index 000000000000..5e2102617caa --- /dev/null +++ b/net-misc/vde/files/vde-2.3.2-fix-inline-funcs.patch @@ -0,0 +1,21 @@ +# Sourced from https://raw.githubusercontent.com/OpenMandrivaAssociation/vde2/master/vd2-2.3.2-clang.patch + +--- a/vde2-2.3.2/src/vde_switch/fstp.c 2014-10-29 22:54:18.659988435 +0000 ++++ b/vde2-2.3.2/src/vde_switch/fstp.c 2014-10-29 22:54:44.912986501 +0000 +@@ -30,14 +30,14 @@ + #ifdef FSTP + #include <fstp.h> + /*********************** sending macro used by FSTP & Core ******************/ +-void inline ltonstring(unsigned long l,unsigned char *s) { ++void ltonstring(unsigned long l,unsigned char *s) { + s[3]=l; l>>=8; + s[2]=l; l>>=8; + s[1]=l; l>>=8; + s[0]=l; + } + +-unsigned long inline nstringtol(unsigned char *s) { ++unsigned long nstringtol(unsigned char *s) { + return (s[0]<<24)+(s[1]<<16)+(s[2]<<8)+s[3]; + } + |