diff options
author | Henrik Riomar <henrik.riomar@gmail.com> | 2018-11-22 13:25:10 +0100 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2018-11-23 14:41:42 +0000 |
commit | 6413d57449d77bb2f9af64f3da33b28630b501d8 (patch) | |
tree | ad92e65ec357063fa84baaf0de150304d65a8a80 /main/open-vm-tools/0003-open-vm-tools-Add-disable-werror-configure-option.patch | |
parent | 2c086abc7fcf9222a81b640aed6ae91f1be5afbc (diff) | |
download | aports-6413d57449d77bb2f9af64f3da33b28630b501d8.tar.bz2 aports-6413d57449d77bb2f9af64f3da33b28630b501d8.tar.xz |
main/open-vm-tools: upgrade 10.3.5
Rebased the patches and skiped the ones that was fixed by upstream
Added check()
Diffstat (limited to 'main/open-vm-tools/0003-open-vm-tools-Add-disable-werror-configure-option.patch')
-rw-r--r-- | main/open-vm-tools/0003-open-vm-tools-Add-disable-werror-configure-option.patch | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/main/open-vm-tools/0003-open-vm-tools-Add-disable-werror-configure-option.patch b/main/open-vm-tools/0003-open-vm-tools-Add-disable-werror-configure-option.patch deleted file mode 100644 index 4ecd19e80a..0000000000 --- a/main/open-vm-tools/0003-open-vm-tools-Add-disable-werror-configure-option.patch +++ /dev/null @@ -1,39 +0,0 @@ -From 1dde2ecb29fd9f4d88a453e62a3df943e944bdc1 Mon Sep 17 00:00:00 2001 -From: Natanael Copa <ncopa@alpinelinux.org> -Date: Thu, 5 Nov 2015 13:19:20 +0000 -Subject: [PATCH 03/14] open-vm-tools: Add --disable-werror configure option - -Packagers will normally not want the -Werror compile option as it may -break compilation depending on the platform specific warnings. - -Signed-off-by: Natanael Copa <ncopa@alpinelinux.org> ---- - open-vm-tools/configure.ac | 12 +++++++++++- - 1 file changed, 11 insertions(+), 1 deletion(-) - -diff --git a/open-vm-tools/configure.ac b/open-vm-tools/configure.ac -index 8d4604e8..7f1bed30 100644 ---- a/open-vm-tools/configure.ac -+++ b/open-vm-tools/configure.ac -@@ -1137,7 +1137,17 @@ AC_C_VOLATILE - - ### General flags / actions - CFLAGS="$CFLAGS -Wall" --CFLAGS="$CFLAGS -Werror" -+AC_ARG_ENABLE( -+ werror, -+ AS_HELP_STRING( -+ [--disable-werror], -+ [disable compilation with -Werror]), -+ [enable_werror="$enableval"], -+ [enable_werror="yes"]) -+ -+if test "$enable_werror" = "yes"; then -+ CFLAGS="$CFLAGS -Werror" -+fi - - # -Wno-unknown-pragmas is due to gcc not understanding '#pragma ident' - # in Xlib.h on OpenSolaris. --- -2.11.0 - |