Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Oct 2018 20:12:27 +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: r481132 - in head/devel/llvm40: . files
Message-ID:  <201810022012.w92KCRTS060987@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: brooks
Date: Tue Oct  2 20:12:26 2018
New Revision: 481132
URL: https://svnweb.freebsd.org/changeset/ports/481132

Log:
  Fix build on non-clang systems.[0]
  
  Switch to shared LICENSE defintions.
  
  Chase USE_GNOME changes.
  
  PR:		231528 [0]
  Submitted by:	Piotr Kubaj <pkubaj@anongoth.pl> [0]
  Sponsored by:	DARPA, AFRL

Added:
  head/devel/llvm40/files/lldb-patch-tools_lldb_include_lldb_Utility_TaskPool.h   (contents, props changed)
Modified:
  head/devel/llvm40/Makefile

Modified: head/devel/llvm40/Makefile
==============================================================================
--- head/devel/llvm40/Makefile	Tue Oct  2 19:47:25 2018	(r481131)
+++ head/devel/llvm40/Makefile	Tue Oct  2 20:12:26 2018	(r481132)
@@ -2,7 +2,7 @@
 
 PORTNAME=	llvm
 DISTVERSION=	4.0.1
-PORTREVISION=	9
+PORTREVISION=	10
 CATEGORIES=	devel lang
 MASTER_SITES=	http://llvm.org/${PRE_}releases/${LLVM_RELEASE}/${RCDIR}
 PKGNAMESUFFIX=	${LLVM_SUFFIX}
@@ -12,10 +12,7 @@ DISTFILES=	${PORTNAME}-${DISTVERSION}.src${EXTRACT_SUF
 MAINTAINER=	brooks@FreeBSD.org
 COMMENT=	LLVM and Clang
 
-LICENSE=	LLVM
-LICENSE_NAME=	LLVM Release License
-LICENSE_FILE=	${WRKSRC}/LICENSE.TXT
-LICENSE_PERMS=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
+.include "${.CURDIR}/../llvm-devel/Makefile.LICENSE"
 
 LLVM_RELEASE=	${DISTVERSION:C/rc.*//}
 LLVM_MAJOR=	${LLVM_RELEASE:C/\.[0-9]$//}
@@ -94,7 +91,8 @@ LLD_EXTRA_PATCHES=	${PATCHDIR}/lld
 LLDB_BUILD_DEPENDS=	swig3.0:devel/swig30
 LLDB_DESC=		Install lldb, the LLVM debugger
 LLDB_DISTFILES=		lldb-${DISTVERSION}.src${EXTRACT_SUFX}
-LLDB_EXTRA_PATCHES=	${PATCHDIR}/lldb-patch-tools_lldb_source_Host_common_FileSpec.cpp
+LLDB_EXTRA_PATCHES=	${PATCHDIR}/lldb-patch-tools_lldb_source_Host_common_FileSpec.cpp \
+			${PATCHDIR}/lldb-patch-tools_lldb_include_lldb_Utility_TaskPool.h
 LLDB_IMPLIES=		CLANG
 LLDB_VARS=		_USES_PYTHON=python:2.7
 OPENMP_DESC=		Install libomp, the LLVM OpenMP runtime library
@@ -225,6 +223,7 @@ CLANG_PATTERN=	(c-index-test|clang|scan-|Reporter.py|S
 SHEBANG_FILES+=	tools/clang/tools/scan-view/bin/scan-view \
 		tools/clang/tools/clang-format/git-clang-format \
 		tools/clang/tools/clang-format/clang-format-diff.py
+USES+=		gnome
 .endif
 
 .if ${PORT_OPTIONS:MCOMPILER_RT}

Added: head/devel/llvm40/files/lldb-patch-tools_lldb_include_lldb_Utility_TaskPool.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/llvm40/files/lldb-patch-tools_lldb_include_lldb_Utility_TaskPool.h	Tue Oct  2 20:12:26 2018	(r481132)
@@ -0,0 +1,10 @@
+--- tools/lldb/include/lldb/Utility/TaskPool.h.orig	2018-09-20 19:31:12 UTC
++++ tools/lldb/include/lldb/Utility/TaskPool.h
+@@ -33,6 +33,7 @@
+ #include <queue>
+ #include <thread>
+ #include <vector>
++#include <functional>
+ 
+ // Global TaskPool class for running tasks in parallel on a set of worker thread
+ // created the first



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