buildroot/package/openvmtools/0003-dont-force-cppflags.patch
Karoly Kasza ab71dff0dd package/openvmtools: introduce SUBDIR variable and update patches
The Open-vm-tools package is now distributed from GitHub and a new
subdirectory was introduced, which breaks the Buildroot process.

This patch adds the _SUBDIR variable in the Makefile and also updates
all distributed patches.

Fixes:

http://autobuild.buildroot.net/results/bfd10c8d454a2686ebb1c4afdb49c55e39a9dd67/

Signed-off-by: Karoly Kasza <kaszak@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-06-17 12:10:13 +02:00

22 lines
727 B
Diff

m4: do not force -I/usr/include in CPPFLAGS
This is so horribly broken for cross-compilation. :-(
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
--- openvmtools-stable-9.10.0.orig/open-vm-tools/m4/vmtools.m4 2015-06-17 10:03:00.000000000 +0200
+++ openvmtools-stable-9.10.0/open-vm-tools/m4/vmtools.m4 2015-06-17 10:03:00.000000000 +0200
@@ -281,10 +281,10 @@
if test "$os" = freebsd; then
CUSTOM_$1_CPPFLAGS="-I/usr/local/include"
else
- CUSTOM_$1_CPPFLAGS="-I/usr/include"
+ CUSTOM_$1_CPPFLAGS=" "
fi
if test -n "$2"; then
- CUSTOM_$1_CPPFLAGS="${CUSTOM_$1_CPPFLAGS}/$2"
+ : CUSTOM_$1_CPPFLAGS="${CUSTOM_$1_CPPFLAGS}/$2"
fi
fi
])