aboutsummaryrefslogtreecommitdiff
path: root/package/openvmtools/0003-dont-force-cppflags.patch
diff options
context:
space:
mode:
authorGravatar Karoly Kasza <kaszak@gmail.com>2015-03-29 18:59:20 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-04-07 22:39:41 +0200
commit54b6649cf7c84d39568d4e24d0b93ab6416c1075 (patch)
tree41ca305842b899cc41b86abdddcaaf34663856ca /package/openvmtools/0003-dont-force-cppflags.patch
parent8ee6d5aa6acb9a1c4ece36ac65a6b92a213d47da (diff)
downloadbuildroot-54b6649cf7c84d39568d4e24d0b93ab6416c1075.tar.gz
buildroot-54b6649cf7c84d39568d4e24d0b93ab6416c1075.tar.bz2
package/openvmtools: bump version to 9.10.0
[Thomas: - add explicit --with-ssl - remove comment above openssl condition, as it is obvious what is happening.] Signed-off-by: Karoly Kasza <kaszak@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/openvmtools/0003-dont-force-cppflags.patch')
-rw-r--r--package/openvmtools/0003-dont-force-cppflags.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/package/openvmtools/0003-dont-force-cppflags.patch b/package/openvmtools/0003-dont-force-cppflags.patch
new file mode 100644
index 0000000000..8f904b1202
--- /dev/null
+++ b/package/openvmtools/0003-dont-force-cppflags.patch
@@ -0,0 +1,22 @@
+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>
+
+diff -durN openvmtools-9.4.6-1770165.orig/m4/vmtools.m4 openvmtools-9.4.6-1770165/m4/vmtools.m4
+--- openvmtools-9.4.6-1770165.orig/m4/vmtools.m4 2014-07-02 00:21:14.000000000 +0200
++++ openvmtools-9.4.6-1770165/m4/vmtools.m4 2014-09-21 12:39:15.901659888 +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
+ ])