svn commit: r552813 - head/devel/llvm10/files
Kyle Evans
kevans at FreeBSD.org
Tue Oct 20 11:38:05 UTC 2020
Author: kevans
Date: Tue Oct 20 11:38:04 2020
New Revision: 552813
URL: https://svnweb.freebsd.org/changeset/ports/552813
Log:
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
MFH: 2020Q4 (implicit, build fix)
Modified:
head/devel/llvm10/files/patch-lib_Support_Unix_Path.inc
Modified: head/devel/llvm10/files/patch-lib_Support_Unix_Path.inc
==============================================================================
--- head/devel/llvm10/files/patch-lib_Support_Unix_Path.inc Tue Oct 20 10:51:52 2020 (r552812)
+++ head/devel/llvm10/files/patch-lib_Support_Unix_Path.inc Tue Oct 20 11:38:04 2020 (r552813)
@@ -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-all
mailing list