Date: Tue, 20 Oct 2020 13:25:18 +0000 (UTC) From: Kyle Evans <kevans@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r552818 - branches/2020Q4/devel/llvm10/files Message-ID: <202010201325.09KDPItt002979@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202010201325.09KDPItt002979>