pkgsrc-WIP-changes archive

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

rust: Update to rust-1.11-dev-nightly20160624



Module Name:	pkgsrc-wip
Committed By:	Mateusz Poszwa <old4%o2.pl@localhost>
Pushed By:	f8l
Date:		Mon Jul 4 22:38:04 2016 +0200
Changeset:	293adb6759bd9832b7ab323d1b93f055f4521faf

Modified Files:
	rust/Makefile
	rust/distinfo
Added Files:
	rust/TODO
Removed Files:
	rust/patches/patch-configure
	rust/patches/patch-mk_platform.mk
	rust/patches/patch-mk_rt.mk
	rust/patches/patch-src_jemalloc_config.guess
	rust/patches/patch-src_jemalloc_configure
	rust/patches/patch-src_libbacktrace_config.guess
	rust/patches/patch-src_llvm_autoconf_config.guess
	rust/patches/patch-src_llvm_unittests_ADT_TripleTest.cpp

Log Message:
rust: Update to rust-1.11-dev-nightly20160624

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

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

diffstat:
 rust/Makefile                                      |  8 +++--
 rust/TODO                                          |  4 +++
 rust/distinfo                                      | 15 +++-----
 rust/patches/patch-configure                       | 17 ---------
 rust/patches/patch-mk_platform.mk                  | 40 ----------------------
 rust/patches/patch-mk_rt.mk                        | 15 --------
 rust/patches/patch-src_jemalloc_config.guess       | 25 --------------
 rust/patches/patch-src_jemalloc_configure          | 33 ------------------
 rust/patches/patch-src_libbacktrace_config.guess   | 25 --------------
 rust/patches/patch-src_llvm_autoconf_config.guess  | 25 --------------
 .../patch-src_llvm_unittests_ADT_TripleTest.cpp    | 15 --------
 11 files changed, 14 insertions(+), 208 deletions(-)

diffs:
diff --git a/rust/Makefile b/rust/Makefile
index 4931a77..791b5a9 100644
--- a/rust/Makefile
+++ b/rust/Makefile
@@ -1,14 +1,18 @@
 # $NetBSD: Makefile,v 1.5 2014/07/30 13:33:55 schmonz Exp $
 
-DISTNAME=	rust-0.11.0
+PKGNAME=	rust-${VER}
+DISTNAME=	rustc-nightly-src
 CATEGORIES=	lang
-MASTER_SITES=	http://static.rust-lang.org/dist/
+MASTER_SITES=	http://static.rust-lang.org/dist/2016-06-24/
+VER=		1.11.0-dev-nightly20160624
 
 MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=	http://www.rust-lang.org/
 COMMENT=	Safe, concurrent, practical language
 LICENSE=	mit OR apache-2.0
 
+WRKSRC=	${WRKDIR}/rustc-nightly
+
 HAS_CONFIGURE=	yes
 CONFIGURE_ARGS=	--prefix=${PREFIX} \
 		--mandir=${PREFIX}/${PKGMANDIR}
diff --git a/rust/TODO b/rust/TODO
new file mode 100644
index 0000000..eaf1314
--- /dev/null
+++ b/rust/TODO
@@ -0,0 +1,4 @@
+The next release (after 1.9.0) will change the bootstrapping
+procedure. Stage0 snapshot will no longer be required, which
+will simplify packaging. It is probably a good idea to wait
+for the release or to package one of the beta versions.
diff --git a/rust/distinfo b/rust/distinfo
index 1bde33f..6155dff 100644
--- a/rust/distinfo
+++ b/rust/distinfo
@@ -1,14 +1,7 @@
 $NetBSD: distinfo,v 1.4 2014/07/03 03:11:31 schmonz Exp $
 
-SHA1 (rust-0.11.0.tar.gz) = f849e16e03b474143c575503ae82da7577a2170f
-RMD160 (rust-0.11.0.tar.gz) = 09f2fd0f5da3a7851b1984602d2acd0304764618
-Size (rust-0.11.0.tar.gz) = 21555837 bytes
-SHA1 (patch-configure) = b61fe8c9fc5fdebadb4b00f114a74afefb479c04
-SHA1 (patch-mk_platform.mk) = 54dfb3f51829afd030ad5dced69f8f3b4272e9f3
-SHA1 (patch-mk_rt.mk) = 346efd7fe59130c3ac3ebaabb999ecd81beb5ae8
-SHA1 (patch-src_jemalloc_config.guess) = 27045502d2fb9ee824fb297df7901acd67583bd9
-SHA1 (patch-src_jemalloc_configure) = fc620c770fefe7e50da62ab7170562aa30513b5d
-SHA1 (patch-src_libbacktrace_config.guess) = dbcb072c90fa3f492d153b52e74847b2dd3115bb
-SHA1 (patch-src_llvm_autoconf_config.guess) = a38f7019c24d7523d2eab7baf7122f4a021484e7
-SHA1 (patch-src_llvm_unittests_ADT_TripleTest.cpp) = 62d10c18a11f939e9121a0e36fdfc285841fe00f
+SHA1 (rustc-nightly-src.tar.gz) = 5f3ceb435c88e6e35215c96caac0f5830dd99b12
+RMD160 (rustc-nightly-src.tar.gz) = a196af452e34b02717650c77a76261ad0212d9bf
+SHA512 (rustc-nightly-src.tar.gz) = f62d66b522922194f7f0d845ae2d706171e838cb0579b1b1f56dc877a39fe8660f6c0c28987ce69e2733708599f9c7d257d0da48241849bc5b12cb0c74a489ef
+Size (rustc-nightly-src.tar.gz) = 26026047 bytes
 SHA1 (patch-src_llvm_utils_buildit_build__llvm) = 05a49ef5249ca610948fa9f7359de04c8a79c1e7
diff --git a/rust/patches/patch-configure b/rust/patches/patch-configure
deleted file mode 100644
index a144106..0000000
--- a/rust/patches/patch-configure
+++ /dev/null
@@ -1,17 +0,0 @@
-$NetBSD: patch-configure,v 1.1 2014/07/03 03:11:32 schmonz Exp $
-
-Detect NetBSD.
-
---- configure.orig	2014-06-27 19:52:28.000000000 +0000
-+++ configure
-@@ -291,6 +291,10 @@ case $CFG_OSTYPE in
-         CFG_OSTYPE=unknown-freebsd
-         ;;
- 
-+    NetBSD)
-+        CFG_OSTYPE=-netbsd
-+        ;;
-+
-     Darwin)
-         CFG_OSTYPE=apple-darwin
-         ;;
diff --git a/rust/patches/patch-mk_platform.mk b/rust/patches/patch-mk_platform.mk
deleted file mode 100644
index 0839868..0000000
--- a/rust/patches/patch-mk_platform.mk
+++ /dev/null
@@ -1,40 +0,0 @@
-$NetBSD: patch-mk_platform.mk,v 1.1 2014/07/03 03:11:32 schmonz Exp $
-
-Copy-paste FreeBSD's stanza as is (XXX likely incorrect)
-
---- mk/platform.mk.orig	2014-06-27 19:52:28.000000000 +0000
-+++ mk/platform.mk
-@@ -552,6 +552,33 @@ CFG_RUN_x86_64-w64-mingw32=PATH="$(CFG_L
- CFG_RUN_TARG_x86_64-w64-mingw32=$(call CFG_RUN_x86_64-w64-mingw32,$(HLIB$(1)_H_$(CFG_BUILD)),$(2))
- RUSTC_CROSS_FLAGS_x86_64-w64-mingw32 :=
- 
-+# x86_64--netbsd configuration
-+CC_x86_64--netbsd=$(CC)
-+CXX_x86_64--netbsd=$(CXX)
-+CPP_x86_64--netbsd=$(CPP)
-+AR_x86_64--netbsd=$(AR)
-+CFG_LIB_NAME_x86_64--netbsd=lib$(1).so
-+CFG_STATIC_LIB_NAME_x86_64--netbsd=lib$(1).a
-+CFG_LIB_GLOB_x86_64--netbsd=lib$(1)-*.so
-+CFG_LIB_DSYM_GLOB_x86_64--netbsd=$(1)-*.dylib.dSYM
-+CFG_CFLAGS_x86_64--netbsd := -I/usr/local/include $(CFLAGS)
-+CFG_GCCISH_CFLAGS_x86_64--netbsd := -Wall -Werror -g -fPIC -I/usr/local/include $(CFLAGS)
-+CFG_GCCISH_LINK_FLAGS_x86_64--netbsd := -shared -fPIC -g -pthread  -lrt
-+CFG_GCCISH_DEF_FLAG_x86_64--netbsd := -Wl,--export-dynamic,--dynamic-list=
-+CFG_GCCISH_PRE_LIB_FLAGS_x86_64--netbsd := -Wl,-whole-archive
-+CFG_GCCISH_POST_LIB_FLAGS_x86_64--netbsd := -Wl,-no-whole-archive
-+CFG_DEF_SUFFIX_x86_64--netbsd := .bsd.def
-+CFG_LLC_FLAGS_x86_64--netbsd :=
-+CFG_INSTALL_NAME_x86_64--netbsd =
-+CFG_LIBUV_LINK_FLAGS_x86_64--netbsd := -pthread  -lkvm
-+CFG_EXE_SUFFIX_x86_64--netbsd :=
-+CFG_WINDOWSY_x86_64--netbsd :=
-+CFG_UNIXY_x86_64--netbsd := 1
-+CFG_PATH_MUNGE_x86_64--netbsd :=
-+CFG_LDPATH_x86_64--netbsd :=
-+CFG_RUN_x86_64--netbsd=$(2)
-+CFG_RUN_TARG_x86_64--netbsd=$(call CFG_RUN_x86_64--netbsd,,$(2))
-+
- # x86_64-unknown-freebsd configuration
- CC_x86_64-unknown-freebsd=$(CC)
- CXX_x86_64-unknown-freebsd=$(CXX)
diff --git a/rust/patches/patch-mk_rt.mk b/rust/patches/patch-mk_rt.mk
deleted file mode 100644
index 982d7da..0000000
--- a/rust/patches/patch-mk_rt.mk
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-mk_rt.mk,v 1.1 2014/07/03 03:11:32 schmonz Exp $
-
-Detect NetBSD.
-
---- mk/rt.mk.orig	2014-06-27 19:52:28.000000000 +0000
-+++ mk/rt.mk
-@@ -171,6 +171,8 @@ else ifeq ($(OSTYPE_$(1)), apple-ios)
-   JEMALLOC_ARGS_$(1) := --disable-tls
- else ifeq ($(OSTYPE_$(1)), unknown-freebsd)
-   LIBUV_OSTYPE_$(1) := freebsd
-+else ifeq ($(OSTYPE_$(1)), -netbsd)
-+  LIBUV_OSTYPE_$(1) := netbsd
- else ifeq ($(OSTYPE_$(1)), linux-androideabi)
-   LIBUV_OSTYPE_$(1) := android
-   LIBUV_ARGS_$(1) := PLATFORM=android host=android OS=linux
diff --git a/rust/patches/patch-src_jemalloc_config.guess b/rust/patches/patch-src_jemalloc_config.guess
deleted file mode 100644
index 9a9ea79..0000000
--- a/rust/patches/patch-src_jemalloc_config.guess
+++ /dev/null
@@ -1,25 +0,0 @@
-$NetBSD: patch-src_jemalloc_config.guess,v 1.1 2014/07/03 03:11:32 schmonz Exp $
-
-Match LLVM tuples on NetBSD.
-
---- src/jemalloc/config.guess.orig	2014-06-27 19:53:05.000000000 +0000
-+++ src/jemalloc/config.guess
-@@ -171,12 +171,12 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:$
- 	UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \
- 	    /usr/sbin/$sysctl 2>/dev/null || echo unknown)`
- 	case "${UNAME_MACHINE_ARCH}" in
--	    armeb) machine=armeb-unknown ;;
--	    arm*) machine=arm-unknown ;;
--	    sh3el) machine=shl-unknown ;;
--	    sh3eb) machine=sh-unknown ;;
--	    sh5el) machine=sh5le-unknown ;;
--	    *) machine=${UNAME_MACHINE_ARCH}-unknown ;;
-+	    armeb) machine=armeb- ;;
-+	    arm*) machine=arm- ;;
-+	    sh3el) machine=shl- ;;
-+	    sh3eb) machine=sh- ;;
-+	    sh5el) machine=sh5le- ;;
-+	    *) machine=${UNAME_MACHINE_ARCH}- ;;
- 	esac
- 	# The Operating System including object format, if it has switched
- 	# to ELF recently, or will in the future.
diff --git a/rust/patches/patch-src_jemalloc_configure b/rust/patches/patch-src_jemalloc_configure
deleted file mode 100644
index 2f20f19..0000000
--- a/rust/patches/patch-src_jemalloc_configure
+++ /dev/null
@@ -1,33 +0,0 @@
-$NetBSD: patch-src_jemalloc_configure,v 1.1 2014/07/02 21:27:09 schmonz Exp $
-
-Shell portability fixes.
-
---- src/jemalloc/configure.orig	2014-06-27 19:53:05.000000000 +0000
-+++ src/jemalloc/configure
-@@ -6282,7 +6282,7 @@ else
- fi
- 
- if test "x$have_sbrk" = "x1" ; then
--  if test "x$sbrk_deprecated" == "x1" ; then
-+  if test "x$sbrk_deprecated" = "x1" ; then
-     { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling dss allocation because sbrk is deprecated" >&5
- $as_echo "Disabling dss allocation because sbrk is deprecated" >&6; }
-     have_dss="0"
-@@ -6488,7 +6488,7 @@ fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $je_cv_gcc_builtin_ffsl" >&5
- $as_echo "$je_cv_gcc_builtin_ffsl" >&6; }
- 
--if test "x${je_cv_gcc_builtin_ffsl}" == "xyes" ; then
-+if test "x${je_cv_gcc_builtin_ffsl}" = "xyes" ; then
-   $as_echo "#define JEMALLOC_INTERNAL_FFSL __builtin_ffsl" >>confdefs.h
- 
-   $as_echo "#define JEMALLOC_INTERNAL_FFS __builtin_ffs" >>confdefs.h
-@@ -6531,7 +6531,7 @@ fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $je_cv_function_ffsl" >&5
- $as_echo "$je_cv_function_ffsl" >&6; }
- 
--  if test "x${je_cv_function_ffsl}" == "xyes" ; then
-+  if test "x${je_cv_function_ffsl}" = "xyes" ; then
-     $as_echo "#define JEMALLOC_INTERNAL_FFSL ffsl" >>confdefs.h
- 
-     $as_echo "#define JEMALLOC_INTERNAL_FFS ffs" >>confdefs.h
diff --git a/rust/patches/patch-src_libbacktrace_config.guess b/rust/patches/patch-src_libbacktrace_config.guess
deleted file mode 100644
index e9fdded..0000000
--- a/rust/patches/patch-src_libbacktrace_config.guess
+++ /dev/null
@@ -1,25 +0,0 @@
-$NetBSD: patch-src_libbacktrace_config.guess,v 1.1 2014/07/03 03:11:32 schmonz Exp $
-
-Match LLVM tuples on NetBSD.
-
---- src/libbacktrace/config.guess.orig	2014-06-27 19:52:28.000000000 +0000
-+++ src/libbacktrace/config.guess
-@@ -171,12 +171,12 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:$
- 	UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \
- 	    /usr/sbin/$sysctl 2>/dev/null || echo unknown)`
- 	case "${UNAME_MACHINE_ARCH}" in
--	    armeb) machine=armeb-unknown ;;
--	    arm*) machine=arm-unknown ;;
--	    sh3el) machine=shl-unknown ;;
--	    sh3eb) machine=sh-unknown ;;
--	    sh5el) machine=sh5le-unknown ;;
--	    *) machine=${UNAME_MACHINE_ARCH}-unknown ;;
-+	    armeb) machine=armeb- ;;
-+	    arm*) machine=arm- ;;
-+	    sh3el) machine=shl- ;;
-+	    sh3eb) machine=sh- ;;
-+	    sh5el) machine=sh5le- ;;
-+	    *) machine=${UNAME_MACHINE_ARCH}- ;;
- 	esac
- 	# The Operating System including object format, if it has switched
- 	# to ELF recently, or will in the future.
diff --git a/rust/patches/patch-src_llvm_autoconf_config.guess b/rust/patches/patch-src_llvm_autoconf_config.guess
deleted file mode 100644
index 77cd05b..0000000
--- a/rust/patches/patch-src_llvm_autoconf_config.guess
+++ /dev/null
@@ -1,25 +0,0 @@
-$NetBSD: patch-src_llvm_autoconf_config.guess,v 1.1 2014/07/03 03:11:32 schmonz Exp $
-
-Match LLVM tuples on NetBSD.
-
---- src/llvm/autoconf/config.guess.orig	2014-06-27 19:54:07.000000000 +0000
-+++ src/llvm/autoconf/config.guess
-@@ -158,12 +158,12 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:$
- 	UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \
- 	    /usr/sbin/$sysctl 2>/dev/null || echo unknown)`
- 	case "${UNAME_MACHINE_ARCH}" in
--	    armeb) machine=armeb-unknown ;;
--	    arm*) machine=arm-unknown ;;
--	    sh3el) machine=shl-unknown ;;
--	    sh3eb) machine=sh-unknown ;;
--	    sh5el) machine=sh5le-unknown ;;
--	    *) machine=${UNAME_MACHINE_ARCH}-unknown ;;
-+	    armeb) machine=armeb- ;;
-+	    arm*) machine=arm- ;;
-+	    sh3el) machine=shl- ;;
-+	    sh3eb) machine=sh- ;;
-+	    sh5el) machine=sh5le- ;;
-+	    *) machine=${UNAME_MACHINE_ARCH}- ;;
- 	esac
- 	# The Operating System including object format, if it has switched
- 	# to ELF recently, or will in the future.
diff --git a/rust/patches/patch-src_llvm_unittests_ADT_TripleTest.cpp b/rust/patches/patch-src_llvm_unittests_ADT_TripleTest.cpp
deleted file mode 100644
index 27db46a..0000000
--- a/rust/patches/patch-src_llvm_unittests_ADT_TripleTest.cpp
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-src_llvm_unittests_ADT_TripleTest.cpp,v 1.1 2014/07/03 03:11:32 schmonz Exp $
-
-Detect NetBSD.
-
---- src/llvm/unittests/ADT/TripleTest.cpp.orig	2014-06-27 19:54:08.000000000 +0000
-+++ src/llvm/unittests/ADT/TripleTest.cpp
-@@ -499,7 +499,7 @@ TEST(TripleTest, getOSVersion) {
- TEST(TripleTest, FileFormat) {
-   EXPECT_EQ(Triple::ELF, Triple("i686-unknown-linux-gnu").getObjectFormat());
-   EXPECT_EQ(Triple::ELF, Triple("i686-unknown-freebsd").getObjectFormat());
--  EXPECT_EQ(Triple::ELF, Triple("i686-unknown-netbsd").getObjectFormat());
-+  EXPECT_EQ(Triple::ELF, Triple("i686--netbsd").getObjectFormat());
-   EXPECT_EQ(Triple::ELF, Triple("i686--win32-elf").getObjectFormat());
-   EXPECT_EQ(Triple::ELF, Triple("i686---elf").getObjectFormat());
- 


Home | Main Index | Thread Index | Old Index