pkgsrc-WIP-changes archive

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

llvm-netbsd: Include pending patch upstream



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Sat Jun 3 21:09:36 2017 +0200
Changeset:	ddeb736bcef34db8a0b1510b35a93b912f4b4ea8

Modified Files:
	llvm-netbsd/distinfo
Added Files:
	llvm-netbsd/patches/patch-include_llvm_ADT_Triple.h

Log Message:
llvm-netbsd: Include pending patch upstream

Fix error with initializing class Triple, detected by asan.

Initialize SubArch in class Triple
https://reviews.llvm.org/D33845

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=ddeb736bcef34db8a0b1510b35a93b912f4b4ea8

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

diffstat:
 llvm-netbsd/distinfo                                |  1 +
 llvm-netbsd/patches/patch-include_llvm_ADT_Triple.h | 13 +++++++++++++
 2 files changed, 14 insertions(+)

diffs:
diff --git a/llvm-netbsd/distinfo b/llvm-netbsd/distinfo
index 7931384fd5..0f0e9add59 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_ADT_Triple.h) = be08dde07a038259a3314ec7791d2ccf8a682c0c
diff --git a/llvm-netbsd/patches/patch-include_llvm_ADT_Triple.h b/llvm-netbsd/patches/patch-include_llvm_ADT_Triple.h
new file mode 100644
index 0000000000..a0ecce9393
--- /dev/null
+++ b/llvm-netbsd/patches/patch-include_llvm_ADT_Triple.h
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- include/llvm/ADT/Triple.h.orig	2017-05-31 16:10:27.000000000 +0000
++++ include/llvm/ADT/Triple.h
+@@ -239,7 +239,7 @@ public:
+ 
+   /// Default constructor is the same as an empty string and leaves all
+   /// triple fields unknown.
+-  Triple() : Data(), Arch(), Vendor(), OS(), Environment(), ObjectFormat() {}
++  Triple() : Data(), Arch(), SubArch(), Vendor(), OS(), Environment(), ObjectFormat() {}
+ 
+   explicit Triple(const Twine &Str);
+   Triple(const Twine &ArchStr, const Twine &VendorStr, const Twine &OSStr);


Home | Main Index | Thread Index | Old Index