From 87378368c4cd9d84e237f7da415b7dac422158ae Mon Sep 17 00:00:00 2001 From: Jan Beich Date: Thu, 28 Feb 2019 18:51:45 +0000 Subject: lang/rust: update to 1.33.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - www/firefox temporarily loses SIMD in charset conversion, see https://bugzilla.mozilla.org/show_bug.cgi?id=1521249 - Force rebuild all consumers to catch regressions early Changes: https://blog.rust-lang.org/2019/02/28/Rust-1.33.0.html Tested by: Mikaƫl Urankar (aarch64, armv6, armv7, powerpc64), Piotr Kubaj (powerpc64) Approved by: rust (tobik) Differential Revision: https://reviews.freebsd.org/D19354 --- lang/rust/files/patch-src_libbacktrace_fileline.c | 44 ----------------------- 1 file changed, 44 deletions(-) delete mode 100644 lang/rust/files/patch-src_libbacktrace_fileline.c (limited to 'lang/rust/files/patch-src_libbacktrace_fileline.c') diff --git a/lang/rust/files/patch-src_libbacktrace_fileline.c b/lang/rust/files/patch-src_libbacktrace_fileline.c deleted file mode 100644 index 4e099b1f5df0..000000000000 --- a/lang/rust/files/patch-src_libbacktrace_fileline.c +++ /dev/null @@ -1,44 +0,0 @@ -This file is in the public domain. - ---- src/libbacktrace/fileline.c.orig 2019-01-16 09:30:44 UTC -+++ src/libbacktrace/fileline.c -@@ -39,8 +39,39 @@ POSSIBILITY OF SUCH DAMAGE. */ - #include - #include - -+#if defined(__DragonFly__) || defined(__FreeBSD__) || defined(__NetBSD__) -+#include -+#include -+#endif -+ - #include "backtrace.h" - #include "internal.h" -+ -+#if !defined(HAVE_GETEXECNAME) && defined(KERN_PROC_PATHNAME) -+/* Return pathname of executable or 0 on failure. */ -+#define HAVE_GETEXECNAME -+static char execname[PATH_MAX + 1]; -+static const char * -+getexecname(void) -+{ -+ size_t path_len = sizeof(execname); -+ int mib[] = { -+ CTL_KERN, -+#if defined(__NetBSD__) -+ KERN_PROC_ARGS, -+ -1, -+ KERN_PROC_PATHNAME, -+#else -+ KERN_PROC, -+ KERN_PROC_PATHNAME, -+ -1, -+#endif -+ }; -+ u_int miblen = sizeof(mib) / sizeof(mib[0]); -+ int rc = sysctl(mib, miblen, execname, &path_len, NULL, 0); -+ return rc ? NULL : execname; -+} -+#endif /* !HAVE_GETEXECNAME && KERN_PROC_PATHNAME */ - - #ifndef HAVE_GETEXECNAME - #define getexecname() NULL -- cgit v1.2.3