aboutsummaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorKyle Evans <kevans@FreeBSD.org>2020-10-20 13:25:18 +0000
committerKyle Evans <kevans@FreeBSD.org>2020-10-20 13:25:18 +0000
commit3029c00b344941e59184883fcd52987b8f7b33e5 (patch)
tree4319d012cf89f260552466ba286ff98d4023daa6 /devel
parent5540b5d1ac67506dea7d520497799f36936a2aa4 (diff)
downloadports-3029c00b344941e59184883fcd52987b8f7b33e5.tar.gz
ports-3029c00b344941e59184883fcd52987b8f7b33e5.zip
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)
Notes
Notes: svn path=/branches/2020Q4/; revision=552818
Diffstat (limited to 'devel')
-rw-r--r--devel/llvm10/files/patch-lib_Support_Unix_Path.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/devel/llvm10/files/patch-lib_Support_Unix_Path.inc b/devel/llvm10/files/patch-lib_Support_Unix_Path.inc
index 551dc9c81e7b..56cd0dc9e876 100644
--- a/devel/llvm10/files/patch-lib_Support_Unix_Path.inc
+++ b/devel/llvm10/files/patch-lib_Support_Unix_Path.inc
@@ -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;