pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/lang/compiler-rt
Module Name: pkgsrc
Committed By: tnn
Date: Mon Apr 20 10:02:52 UTC 2026
Modified Files:
pkgsrc/lang/compiler-rt: distinfo
Added Files:
pkgsrc/lang/compiler-rt/patches:
patch-lib_sanitizer__common_sanitizer__linux.cpp
Log Message:
compiler-rt: restore patch lost in update
To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33 pkgsrc/lang/compiler-rt/distinfo
cvs rdiff -u -r0 -r1.3 \
pkgsrc/lang/compiler-rt/patches/patch-lib_sanitizer__common_sanitizer__linux.cpp
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/lang/compiler-rt/distinfo
diff -u pkgsrc/lang/compiler-rt/distinfo:1.32 pkgsrc/lang/compiler-rt/distinfo:1.33
--- pkgsrc/lang/compiler-rt/distinfo:1.32 Thu Apr 16 06:33:50 2026
+++ pkgsrc/lang/compiler-rt/distinfo Mon Apr 20 10:02:51 2026
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.32 2026/04/16 06:33:50 wiz Exp $
+$NetBSD: distinfo,v 1.33 2026/04/20 10:02:51 tnn Exp $
BLAKE2s (llvm-project-21.1.8.src.tar.xz) = e6db98fed167ddd56b49c7eb46c4de7e7e8e08158e9c99ae79806983bcb60ae9
SHA512 (llvm-project-21.1.8.src.tar.xz) = cae4c44e7bf678071723da63ad5839491d717a7233e7f4791aa408207f3ea42f52de939ad15189b112c02a0770f1bb8d59bae6ad31ef53417a6eea7770fe52ab
Size (llvm-project-21.1.8.src.tar.xz) = 158958576 bytes
SHA1 (patch-CMakeLists.txt) = f8b0a0ad43481ec0c2923ec19c3c4f2ce81a4c82
SHA1 (patch-cmake_config-ix.cmake) = 1a67378de34b048477ef80237ab8a76272288a55
+SHA1 (patch-lib_sanitizer__common_sanitizer__linux.cpp) = a58be997665264e16406ced3fdc2d1677ba41c8d
Added files:
Index: pkgsrc/lang/compiler-rt/patches/patch-lib_sanitizer__common_sanitizer__linux.cpp
diff -u /dev/null pkgsrc/lang/compiler-rt/patches/patch-lib_sanitizer__common_sanitizer__linux.cpp:1.3
--- /dev/null Mon Apr 20 10:02:52 2026
+++ pkgsrc/lang/compiler-rt/patches/patch-lib_sanitizer__common_sanitizer__linux.cpp Mon Apr 20 10:02:51 2026
@@ -0,0 +1,17 @@
+$NetBSD: patch-lib_sanitizer__common_sanitizer__linux.cpp,v 1.3 2026/04/20 10:02:51 tnn Exp $
+
+Fix build for platforms other than Linux and FreeBSD. NetBSD/evbarm-aarch64:
+sanitizer_linux.cpp:2057:8: error: 'Aarch64GetESR' was not declared in this scope
+ 2057 | if (!Aarch64GetESR(ucontext, &esr))
+
+--- lib/sanitizer_common/sanitizer_linux.cpp.orig 2024-07-03 11:57:05.400879120 +0000
++++ lib/sanitizer_common/sanitizer_linux.cpp
+@@ -1886,7 +1886,7 @@ static bool Aarch64GetESR(ucontext_t *uc
+ }
+ return false;
+ }
+-# elif SANITIZER_FREEBSD && defined(__aarch64__)
++# elif defined(__aarch64__)
+ // FreeBSD doesn't provide ESR in the ucontext.
+ static bool Aarch64GetESR(ucontext_t *ucontext, u64 *esr) { return false; }
+ # endif
Home |
Main Index |
Thread Index |
Old Index