pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

llvm-netbsd: Update to svn r. 293625 (5.0.0 svn)



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Tue Jan 31 17:23:09 2017 +0100
Changeset:	5e9d39d1671034e91b0fa70b89e3c90e19dc78b0

Modified Files:
	llvm-netbsd/Makefile
	llvm-netbsd/buildlink3.mk
	llvm-netbsd/distinfo
Added Files:
	llvm-netbsd/patches/patch-include_llvm_Support_Threading.h

Log Message:
llvm-netbsd: Update to svn r. 293625 (5.0.0 svn)

Ship a local patch for llvm::call_once
https://reviews.llvm.org/D29296

Sponsored by <The NetBSD Foundation>

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=5e9d39d1671034e91b0fa70b89e3c90e19dc78b0

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 llvm-netbsd/Makefile                                       |  4 ++--
 llvm-netbsd/buildlink3.mk                                  |  2 +-
 llvm-netbsd/distinfo                                       |  1 +
 llvm-netbsd/patches/patch-include_llvm_Support_Threading.h | 13 +++++++++++++
 4 files changed, 17 insertions(+), 3 deletions(-)

diffs:
diff --git a/llvm-netbsd/Makefile b/llvm-netbsd/Makefile
index fb84ad7..30891ea 100644
--- a/llvm-netbsd/Makefile
+++ b/llvm-netbsd/Makefile
@@ -1,11 +1,11 @@
 # $NetBSD: Makefile.common,v 1.7 2015/07/20 05:49:53 adam Exp $
 
-PKGNAME=	llvm-4.0.0
+PKGNAME=	llvm-5.0.0
 CATEGORIES=	lang devel
 
 SVN_REPOSITORIES=	llvm
 SVN_REPO.llvm=		http://llvm.org/svn/llvm-project/llvm/trunk
-SVN_REVISION.llvm=	289997
+SVN_REVISION.llvm=	293625
 
 MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=	http://llvm.org/
diff --git a/llvm-netbsd/buildlink3.mk b/llvm-netbsd/buildlink3.mk
index 8511794..d7d92d9 100644
--- a/llvm-netbsd/buildlink3.mk
+++ b/llvm-netbsd/buildlink3.mk
@@ -5,7 +5,7 @@ BUILDLINK_TREE+=	llvm
 .if !defined(LLVM_BUILDLINK3_MK)
 LLVM_BUILDLINK3_MK:=
 
-BUILDLINK_API_DEPENDS.llvm+=	llvm>=3.9.0
+BUILDLINK_API_DEPENDS.llvm+=	llvm>=5.0.0
 BUILDLINK_PKGSRCDIR.llvm?=	../../wip/llvm-netbsd
 
 LLVM_CONFIG_PATH?=		${BUILDLINK_PREFIX.llvm}/bin/llvm-config
diff --git a/llvm-netbsd/distinfo b/llvm-netbsd/distinfo
index 7931384..c704e50 100644
--- a/llvm-netbsd/distinfo
+++ b/llvm-netbsd/distinfo
@@ -12,3 +12,4 @@ Size (libcxx-3.6.2.src.tar.xz) = 944020 bytes
 SHA1 (llvm-3.6.2.src.tar.xz) = 7a00257eb2bc9431e4c77c3a36b033072c54bc7e
 RMD160 (llvm-3.6.2.src.tar.xz) = 521cbc5fe2925ea3c6e90c7a31f752a04045c972
 Size (llvm-3.6.2.src.tar.xz) = 12802380 bytes
+SHA1 (patch-include_llvm_Support_Threading.h) = 1adf64f038bd6e97cff20d8a52571091d6ed90ac
diff --git a/llvm-netbsd/patches/patch-include_llvm_Support_Threading.h b/llvm-netbsd/patches/patch-include_llvm_Support_Threading.h
new file mode 100644
index 0000000..e65ee2d
--- /dev/null
+++ b/llvm-netbsd/patches/patch-include_llvm_Support_Threading.h
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- include/llvm/Support/Threading.h.orig	2016-12-16 22:50:53.000000000 +0000
++++ include/llvm/Support/Threading.h
+@@ -71,7 +71,7 @@ namespace llvm {
+ 
+   /// This macro is the only way you should define your once flag for LLVM's
+   /// call_once.
+-#define LLVM_DEFINE_ONCE_FLAG(flag) static once_flag flag = Uninitialized
++#define LLVM_DEFINE_ONCE_FLAG(flag) static llvm::once_flag flag = llvm::Uninitialized
+ 
+ #endif
+ 


Home | Main Index | Thread Index | Old Index