Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Jan 2018 21:47:55 +0000 (UTC)
From:      Raphael Kubo da Costa <rakuco@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r458577 - head/x11/kde4-workspace
Message-ID:  <201801092147.w09Llt0T020518@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rakuco
Date: Tue Jan  9 21:47:55 2018
New Revision: 458577
URL: https://svnweb.freebsd.org/changeset/ports/458577

Log:
  Explicitly build with -std=gnu++98.
  
  clang 6.0 defaults to -std=gnu++14, but the port fails with too many errors
  when built in C++11 (or later) mode.
  
  PR:		224945

Modified:
  head/x11/kde4-workspace/Makefile

Modified: head/x11/kde4-workspace/Makefile
==============================================================================
--- head/x11/kde4-workspace/Makefile	Tue Jan  9 21:25:14 2018	(r458576)
+++ head/x11/kde4-workspace/Makefile	Tue Jan  9 21:47:55 2018	(r458577)
@@ -56,6 +56,10 @@ USE_LDCONFIG=	yes
 
 KDE_APPLICATIONS_VERSION=	15.08.0
 
+# clang 6.0 defaults to -std=gnu++14, but the port fails with too many errors
+# when built in C++11 (or later) mode.
+USE_CXXSTD=	gnu++98
+
 CMAKE_ARGS=	-DCMAKE_REQUIRED_FLAGS:STRING="-L${LOCALBASE}/lib" \
 		-DBUILD_python:BOOL=OFF \
 		-DBUILD_ruby:BOOL=OFF \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201801092147.w09Llt0T020518>