pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/rust rust: match newer versions of llvm, too.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/269aeabba894
branches:  trunk
changeset: 356943:269aeabba894
user:      maya <maya%pkgsrc.org@localhost>
date:      Sun Jan 08 14:38:13 2017 +0000

description:
rust: match newer versions of llvm, too.

while I didn't complete the build, it is likely necessary, as pkgsrc llvm
is 3.9 and doesn't match this test.

diffstat:

 lang/rust/distinfo                |   3 ++-
 lang/rust/patches/patch-configure |  18 ++++++++++++++++++
 2 files changed, 20 insertions(+), 1 deletions(-)

diffs (39 lines):

diff -r 607a09e5e99c -r 269aeabba894 lang/rust/distinfo
--- a/lang/rust/distinfo        Sun Jan 08 14:21:09 2017 +0000
+++ b/lang/rust/distinfo        Sun Jan 08 14:38:13 2017 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.3 2016/09/13 12:37:08 ryoon Exp $
+$NetBSD: distinfo,v 1.4 2017/01/08 14:38:13 maya Exp $
 
 SHA1 (rust-1.10.0-i686-unknown-linux-gnu.tar.gz) = aded64d8ddc5d286ffc81de21c6a8c47951ac329
 RMD160 (rust-1.10.0-i686-unknown-linux-gnu.tar.gz) = 9248526a5f9656e083a221f0931f9cec6b1a0726
@@ -24,6 +24,7 @@
 RMD160 (rustc-1.11.0-src.tar.gz) = ada0761c38febb423677c1b8bb2fd5c8fee05d53
 SHA512 (rustc-1.11.0-src.tar.gz) = 6ad050a02e3a3b48f205f5d5ed9393fd2a1a2237e5c78b3e51af8162f410b93a831ebe5980ce78c4d38c5a692395c7fec8442956497a5d21e9f7157404c6b5aa
 Size (rustc-1.11.0-src.tar.gz) = 26126471 bytes
+SHA1 (patch-configure) = df5fb89bb04be3844fba78e0adea5c0a2901e376
 SHA1 (patch-mk_cfg_x86__64-apple-darwin.mk) = 37b50b64ea5607588d541852e07f02a4611d38c8
 SHA1 (patch-mk_rt.mk) = 51238ae320b47296546537aeb050773511049d11
 SHA1 (patch-mk_rustllvm.mk) = 500ce129d9ea83fc97317679b45a79f12c8ca9e8
diff -r 607a09e5e99c -r 269aeabba894 lang/rust/patches/patch-configure
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/rust/patches/patch-configure Sun Jan 08 14:38:13 2017 +0000
@@ -0,0 +1,18 @@
+$NetBSD: patch-configure,v 1.1 2017/01/08 14:38:13 maya Exp $
+
+match newer versions of llvm
+
+--- configure.orig     2016-08-16 01:54:35.000000000 +0000
++++ configure
+@@ -991,7 +991,10 @@ then
+     LLVM_VERSION=$($LLVM_CONFIG --version)
+ 
+     case $LLVM_VERSION in
+-        (3.[7-8]*)
++        (3.[789]*)
++            msg "found ok version of LLVM: $LLVM_VERSION"
++            ;;
++        (4.*)
+             msg "found ok version of LLVM: $LLVM_VERSION"
+             ;;
+         (*)



Home | Main Index | Thread Index | Old Index