commit: 7a76e11c258579f45c31c3617ad684db975e91d0
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 1 21:18:31 2016 +0000
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Fri Jan 1 21:18:31 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a76e11c
app-emulation/open-vm-tools: Fix building with latest glibmm/libsigc++ (#570418)
Package-Manager: portage-2.2.26
app-emulation/open-vm-tools/open-vm-tools-10.0.0_p3000743.ebuild | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/app-emulation/open-vm-tools/open-vm-tools-10.0.0_p3000743.ebuild
b/app-emulation/open-vm-tools/open-vm-tools-10.0.0_p3000743.ebuild
index 9c136f9..3cc623f 100644
--- a/app-emulation/open-vm-tools/open-vm-tools-10.0.0_p3000743.ebuild
+++ b/app-emulation/open-vm-tools/open-vm-tools-10.0.0_p3000743.ebuild
@@ -63,6 +63,10 @@ src_prepare() {
}
src_configure() {
+ # libsigc++-2.0 >= 2.5.1 requires C++11. Using -std=c++11
+ # does not provide "linux" definition, we need gnu++11
+ append-cxxflags -std=gnu++11
+
# https://bugs.gentoo.org/402279
export CUSTOM_PROCPS_NAME=procps
export CUSTOM_PROCPS_LIBS="$($(tc-getPKG_CONFIG) --libs libprocps)"