Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Oct 2020 11:38:04 +0000 (UTC)
From:      Kyle Evans <kevans@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r552813 - head/devel/llvm10/files
Message-ID:  <202010201138.09KBc4KO034744@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202010201138.09KBc4KO034744>