From owner-svn-ports-head@freebsd.org Fri Dec 9 19:03:10 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CC837C6E09B; Fri, 9 Dec 2016 19:03:10 +0000 (UTC) (envelope-from brooks@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 mx1.freebsd.org (Postfix) with ESMTPS id A101B1F4C; Fri, 9 Dec 2016 19:03:10 +0000 (UTC) (envelope-from brooks@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id uB9J39Vn015674; Fri, 9 Dec 2016 19:03:09 GMT (envelope-from brooks@FreeBSD.org) Received: (from brooks@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id uB9J3983015671; Fri, 9 Dec 2016 19:03:09 GMT (envelope-from brooks@FreeBSD.org) Message-Id: <201612091903.uB9J3983015671@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: brooks set sender to brooks@FreeBSD.org using -f From: Brooks Davis Date: Fri, 9 Dec 2016 19:03:09 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r428234 - in head/devel/llvm39: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Dec 2016 19:03:10 -0000 Author: brooks Date: Fri Dec 9 19:03:09 2016 New Revision: 428234 URL: https://svnweb.freebsd.org/changeset/ports/428234 Log: Allow build on non-clang using architectures such as powerpc. Mark broken on FreeBSD 9. This is somewhat more agressive than necessicary, but I'm not sure what the correct conditional is and 9.x is supported for 22 more days. Call the correct clang format. PR: 215135 Submitted by: matthew@reztek.cz Added: head/devel/llvm39/files/lldb-patch-tools_lldb_source_Host_common_FileSpec.cpp (contents, props changed) Modified: head/devel/llvm39/Makefile head/devel/llvm39/files/clang-patch-tools_clang_tools_clang-format_clang-format.py Modified: head/devel/llvm39/Makefile ============================================================================== --- head/devel/llvm39/Makefile Fri Dec 9 18:47:09 2016 (r428233) +++ head/devel/llvm39/Makefile Fri Dec 9 19:03:09 2016 (r428234) @@ -2,7 +2,7 @@ PORTNAME= llvm DISTVERSION= 3.9.0 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= devel lang MASTER_SITES= http://llvm.org/${PRE_}releases/${LLVM_RELEASE}/${RCDIR} PKGNAMESUFFIX= ${LLVM_SUFFIX} @@ -17,7 +17,7 @@ LICENSE_NAME= LLVM Release License LICENSE_FILE= ${WRKSRC}/LICENSE.TXT LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept -BROKEN_powerpc64= Does not build +BROKEN_FreeBSD_9= COMPILER_RT does not compile LLVM_RELEASE= ${DISTVERSION:C/rc.*//} LLVM_MAJOR= ${LLVM_RELEASE:C/\.[0-9]$//} @@ -85,6 +85,7 @@ LIT_VARS= _USES_PYTHON=python LLD_DESC= Install lld, the LLVM linker LLD_DISTFILES= lld-${DISTVERSION}.src${EXTRACT_SUFX} LLDB_DESC= Install lldb, the LLVM debugger (ignored on 9.x) +LLDB_EXTRA_PATCHES= ${PATCHDIR}/lldb-patch-tools_lldb_source_Host_common_FileSpec.cpp LLDB_BUILD_DEPENDS= swig:devel/swig13 LLDB_DISTFILES= lldb-${DISTVERSION}.src${EXTRACT_SUFX} LLDB_USES= execinfo @@ -278,7 +279,7 @@ PORTDOCS+= lld .endif .if ${OPSYS} == "FreeBSD" && ${COMPILER_TYPE} != clang -BROKEN= Working C++11 compiler and library required +CXXFLAGS+= -D_GLIBCXX_USE_C99 .endif .if ${PYTHON_REL} < 3400 Modified: head/devel/llvm39/files/clang-patch-tools_clang_tools_clang-format_clang-format.py ============================================================================== --- head/devel/llvm39/files/clang-patch-tools_clang_tools_clang-format_clang-format.py Fri Dec 9 18:47:09 2016 (r428233) +++ head/devel/llvm39/files/clang-patch-tools_clang_tools_clang-format_clang-format.py Fri Dec 9 19:03:09 2016 (r428234) @@ -5,7 +5,7 @@ # set g:clang_format_path to the path to clang-format if it is not on the path # Change this to the full path if clang-format is not on the path. -binary = 'clang-format' -+binary = 'clang-format38' ++binary = 'clang-format39' if vim.eval('exists("g:clang_format_path")') == "1": binary = vim.eval('g:clang_format_path') Added: head/devel/llvm39/files/lldb-patch-tools_lldb_source_Host_common_FileSpec.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/llvm39/files/lldb-patch-tools_lldb_source_Host_common_FileSpec.cpp Fri Dec 9 19:03:09 2016 (r428234) @@ -0,0 +1,10 @@ +--- tools/lldb/source/Host/common/FileSpec.cpp.orig 2016-12-03 16:10:10 UTC ++++ tools/lldb/source/Host/common/FileSpec.cpp +@@ -17,6 +17,7 @@ + #ifndef _MSC_VER + #include + #endif ++#include + #include + #include + #include