From 26895cf93ebbbf17a0081d9cf853fb7b3f0eea60 Mon Sep 17 00:00:00 2001
From: Natanael Copa <ncopa@alpinelinux.org>
Date: Thu, 6 Oct 2016 13:20:16 +0000
Subject: [PATCH] main/open-vm-tools: rebuild against libressl

---
 main/open-vm-tools/APKBUILD | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/main/open-vm-tools/APKBUILD b/main/open-vm-tools/APKBUILD
index 4f5f3d2de242..4ed051ef49bb 100644
--- a/main/open-vm-tools/APKBUILD
+++ b/main/open-vm-tools/APKBUILD
@@ -3,7 +3,7 @@ pkgname=open-vm-tools
 pkgver=10.0.7
 _pkgsubver=${pkgver#*_p}
 _ver=${pkgver/_p/-}
-pkgrel=2
+pkgrel=3
 pkgdesc="The Open Virtual Machine Tools are the open source implementation of VMware Tools."
 url="https://github.com/vmware/open-vm-tools/"
 
@@ -14,7 +14,7 @@ install="$pkgname.pre-install"
 makedepends="procps-dev libdnet-dev icu-dev glib-dev bash icu-dev
 	gtk+-dev libxext-dev libxinerama-dev libxtst-dev gtkmm-dev fuse-dev
 	libnotify-dev libxrandr-dev libxcomposite-dev libice-dev libsm-dev
-	libtirpc-dev linux-headers libmspack-dev openssl-dev rpcgen
+	libtirpc-dev linux-headers libmspack-dev libressl-dev rpcgen
 	automake autoconf libtool m4
 	"
 source="$pkgname-$pkgver.tar.gz::https://github.com/vmware/open-vm-tools/archive/stable-$_ver.tar.gz
@@ -59,8 +59,8 @@ prepare() {
 
 build() {
 	export CUSTOM_PROCPS_NAME="procps"
-	export CFLAGS="$CFLAGS -Wno-unused-but-set-variable -D_GNU_SOURCE"
-	export CXXFLAGS="$CXXFLAGS -std=c++11"
+	export CFLAGS="$CFLAGS -Wno-unused-but-set-variable -fpermissive -D_GNU_SOURCE"
+	export CXXFLAGS="$CXXFLAGS -std=gnu++11 -fpermissive"
 	mkdir "$_builddir"/build
 	cd "$_builddir"/build
 	../open-vm-tools/configure \
-- 
GitLab