Date: Fri, 9 Dec 2016 19:03:09 +0000 (UTC) From: Brooks Davis <brooks@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r428234 - in head/devel/llvm39: . files Message-ID: <201612091903.uB9J3983015671@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <libgen.h> + #endif ++#include <climits> + #include <set> + #include <string.h> + #include <fstream>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201612091903.uB9J3983015671>