git: 04d7ee04bafe - main - graphics/vulkan-loader: unbreak on -CURRENT i386 after 14c23983083d

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Thu, 18 Nov 2021 02:17:15 UTC
The branch main has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=04d7ee04bafe1d04c041d940a8cbba3a589cf660

commit 04d7ee04bafe1d04c041d940a8cbba3a589cf660
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2021-11-18 02:15:43 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2021-11-18 02:16:47 +0000

    graphics/vulkan-loader: unbreak on -CURRENT i386 after 14c23983083d
    
    FAILED: loader/CMakeFiles/vulkan.dir/unknown_ext_chain_gas_x86.S.o
    Assertion failed: (Type == RT32_32), function getRelocType32, file /usr/local/poudriere/jails/main-i386/usr/src/contrib/llvm-project/llvm/lib/Target/X86/MCTargetDesc/X86ELFObjectWriter.cpp, line 269.
    [...]
    FreeBSD clang version 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303)
    Target: i386-unknown-freebsd14.0
    Thread model: posix
    InstalledDir: /usr/bin
    
    Reported by:    pkg-fallout
---
 graphics/vulkan-loader/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/graphics/vulkan-loader/Makefile b/graphics/vulkan-loader/Makefile
index 9d5ed4e609ad..809a47928ab8 100644
--- a/graphics/vulkan-loader/Makefile
+++ b/graphics/vulkan-loader/Makefile
@@ -42,7 +42,7 @@ post-patch:
 		${WRKSRC}/CMakeLists.txt
 # https://bugs.llvm.org/show_bug.cgi?id=47348
 	@if [ "${CHOSEN_COMPILER_TYPE}-${ARCH}-${_OSRELEASE:C/.*-//}" = "clang-i386-CURRENT" ]; then \
-		${ECHO} "disabled" >${WRKSRC}/loader/asm_test.S; \
+		${ECHO} "disabled" >${WRKSRC}/loader/asm_test_x86.S; \
 	fi
 
 .include <bsd.port.mk>