summaryrefslogtreecommitdiffstats
path: root/package/openvmtools/0002-dont-force-cppflags.patch
diff options
context:
space:
mode:
authorPeter Korsgaard <peter@korsgaard.com>2019-01-17 20:13:22 +0100
committerPeter Korsgaard <peter@korsgaard.com>2019-01-17 23:12:31 +0100
commit5f0f0f7e4f3362a3695d5876d0f41125a2544285 (patch)
tree2534793c6a067d0586b3340bed42b3eb998592e0 /package/openvmtools/0002-dont-force-cppflags.patch
parentb5e1b51dd1ee68ee342a3340c9c947c083861eb8 (diff)
downloadbuildroot-5f0f0f7e4f3362a3695d5876d0f41125a2544285.tar.gz
buildroot-5f0f0f7e4f3362a3695d5876d0f41125a2544285.zip
package/openvmtools: bump version to 10.3.5
Fixes build against glibc 2.28: closes #11546 http://autobuild.buildroot.net/results/f2c/f2c73480b5a1060bb17ac260ef82c3e641fad085/ http://autobuild.buildroot.net/results/e21/e219b8bacb52bb661eb6663b82f549ed941f26fe/ Use released tarball rather than github helper. The tarball does not contain the open-vm-tools sub directory, so adjust the paths in the patches to match and drop OPENVMTOOLS_SUBDIR. Drop 0001-has_bsd_printf.patch: msgList.c has been removed upstream since: https://github.com/vmware/open-vm-tools/commit/dc81979e78e1b8f42639aeb7aaec69f7ea49eb79 Drop 0004-uclibc_secure_getenv.sh: uClibc-ng provides secure_getenv() since 1.0.22. Renumber remaining patches. Add hash for license file. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/openvmtools/0002-dont-force-cppflags.patch')
-rw-r--r--package/openvmtools/0002-dont-force-cppflags.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/package/openvmtools/0002-dont-force-cppflags.patch b/package/openvmtools/0002-dont-force-cppflags.patch
new file mode 100644
index 0000000000..eb2fe16ba9
--- /dev/null
+++ b/package/openvmtools/0002-dont-force-cppflags.patch
@@ -0,0 +1,21 @@
+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>
+
+--- open-vm-tools/m4/vmtools.m4 2015-06-17 10:03:00.000000000 +0200
++++ 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
+ ])
OpenPOWER on IntegriCloud