From owner-svn-ports-all@freebsd.org Fri Feb 23 18:15:00 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 92BA9F0EB7C; Fri, 23 Feb 2018 18:15:00 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 427366E048; Fri, 23 Feb 2018 18:15:00 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 3918619FDA; Fri, 23 Feb 2018 18:15:00 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w1NIF0sx079854; Fri, 23 Feb 2018 18:15:00 GMT (envelope-from swills@FreeBSD.org) Received: (from swills@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w1NIExuv079840; Fri, 23 Feb 2018 18:14:59 GMT (envelope-from swills@FreeBSD.org) Message-Id: <201802231814.w1NIExuv079840@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: swills set sender to swills@FreeBSD.org using -f From: Steve Wills Date: Fri, 23 Feb 2018 18:14:59 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r462712 - branches/2018Q1/java/openjdk7/files X-SVN-Group: ports-branches X-SVN-Commit-Author: swills X-SVN-Commit-Paths: branches/2018Q1/java/openjdk7/files X-SVN-Commit-Revision: 462712 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Feb 2018 18:15:00 -0000 Author: swills Date: Fri Feb 23 18:14:59 2018 New Revision: 462712 URL: https://svnweb.freebsd.org/changeset/ports/462712 Log: MFH: r459311 Fix build with Clang 6.0. Note it is partially merged from the upstream patches for Linux and GCC 6. https://bugs.openjdk.java.net/browse/JDK-8163032 http://hg.openjdk.java.net/jdk7u/jdk7u/hotspot/rev/e34324d73cd5 http://hg.openjdk.java.net/jdk7u/jdk7u/jdk/rev/9e1264f51bae PR: 225054 Approved by: ports-secteam (implicit) Added: branches/2018Q1/java/openjdk7/files/patch-hotspot_make_bsd_makefiles_gcc.make - copied unchanged from r459311, head/java/openjdk7/files/patch-hotspot_make_bsd_makefiles_gcc.make branches/2018Q1/java/openjdk7/files/patch-jdk_make_common_Defs-bsd.gmk - copied unchanged from r459311, head/java/openjdk7/files/patch-jdk_make_common_Defs-bsd.gmk Modified: Directory Properties: branches/2018Q1/ (props changed) Copied: branches/2018Q1/java/openjdk7/files/patch-hotspot_make_bsd_makefiles_gcc.make (from r459311, head/java/openjdk7/files/patch-hotspot_make_bsd_makefiles_gcc.make) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/2018Q1/java/openjdk7/files/patch-hotspot_make_bsd_makefiles_gcc.make Fri Feb 23 18:14:59 2018 (r462712, copy of r459311, head/java/openjdk7/files/patch-hotspot_make_bsd_makefiles_gcc.make) @@ -0,0 +1,10 @@ +--- hotspot/make/bsd/makefiles/gcc.make.orig ++++ hotspot/make/bsd/makefiles/gcc.make +@@ -112,6 +112,7 @@ ifeq ($(JVM_VARIANT_ZEROSHARK), true) + CFLAGS += $(LIBFFI_CFLAGS) + CFLAGS += $(LLVM_CFLAGS) + endif ++CFLAGS += -std=gnu++98 + CFLAGS += $(VM_PICFLAG) + CFLAGS += -fno-rtti + CFLAGS += -fno-exceptions Copied: branches/2018Q1/java/openjdk7/files/patch-jdk_make_common_Defs-bsd.gmk (from r459311, head/java/openjdk7/files/patch-jdk_make_common_Defs-bsd.gmk) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/2018Q1/java/openjdk7/files/patch-jdk_make_common_Defs-bsd.gmk Fri Feb 23 18:14:59 2018 (r462712, copy of r459311, head/java/openjdk7/files/patch-jdk_make_common_Defs-bsd.gmk) @@ -0,0 +1,11 @@ +--- jdk/make/common/Defs-bsd.gmk.orig ++++ jdk/make/common/Defs-bsd.gmk +@@ -274,7 +274,7 @@ CFLAGS_OPT = $(CC_OPT) + CFLAGS_DBG = $(DEBUG_FLAG) + CFLAGS_COMMON += $(CFLAGS_REQUIRED) + +-CXXFLAGS_COMMON = $(GLOBAL_KPIC) -DCC_NOEX $(GCC_WARNINGS) ++CXXFLAGS_COMMON = -std=gnu++98 $(GLOBAL_KPIC) -DCC_NOEX $(GCC_WARNINGS) + CXXFLAGS_OPT = $(CC_OPT) + CXXFLAGS_DBG = $(DEBUG_FLAG) + CXXFLAGS_COMMON += $(CFLAGS_REQUIRED)