svn commit: r552818 - branches/2020Q4/devel/llvm10/files
Kyle Evans
kevans at FreeBSD.org
Tue Oct 20 13:25:19 UTC 2020
Author: kevans
Date: Tue Oct 20 13:25:18 2020
New Revision: 552818
URL: https://svnweb.freebsd.org/changeset/ports/552818
Log:
MFH: r552813
devel/llvm10: fix the patch added in r552764
A stray semicolon would cause llvm binaries to segfault as they
always get the wrong "executable path" on 12.1/11.4. Only test built on
-CURRENT, which doesn't use this path. =(
Pointy hat: kevans
PR: 250478, 250448
Approved by: ports-secteam (implicit, build fix)
Modified:
branches/2020Q4/devel/llvm10/files/patch-lib_Support_Unix_Path.inc
Directory Properties:
branches/2020Q4/ (props changed)
Modified: branches/2020Q4/devel/llvm10/files/patch-lib_Support_Unix_Path.inc
==============================================================================
--- branches/2020Q4/devel/llvm10/files/patch-lib_Support_Unix_Path.inc Tue Oct 20 13:18:46 2020 (r552817)
+++ branches/2020Q4/devel/llvm10/files/patch-lib_Support_Unix_Path.inc Tue Oct 20 13:25:18 2020 (r552818)
@@ -8,7 +8,7 @@
- switch (*(uintptr_t *)p++) {
- case AT_EXECPATH:
+ for (; (uintptr_t *)p != AT_NULL; p++) {
-+ if (*(uintptr_t *)p++ == AT_EXECPATH);
++ if (*(uintptr_t *)p++ == AT_EXECPATH)
return *p;
- case AT_NULL:
- break;
More information about the svn-ports-branches
mailing list