Bug 279767

Summary: [patch] devel/zapcc fix error: version script assignment of 'LLVM_5.0' to symbol 'LLVMCreateDisasm' failed: symbol not defined
Product: Ports & Packages Reporter: Martin Filla <freebsd>
Component: Individual Port(s)Assignee: Vladimir Druzenko <vvd>
Status: Closed FIXED    
Severity: Affects Some People CC: vvd
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
zapccfix.diff
none
zapccfix.diff none

Description Martin Filla 2024-06-15 13:32:38 UTC
Created attachment 251473 [details]
zapccfix.diff

hi,
this patch for fix bug "error: version script assignment of 'LLVM_5.0' to symbol 'LLVMCreateDisasm' failed: symbol not defined'
Comment 1 Martin Filla 2024-06-15 13:35:50 UTC
Created attachment 251474 [details]
zapccfix.diff
Comment 2 Vladimir Druzenko freebsd_committer freebsd_triage 2024-07-18 20:07:36 UTC
Very long lines SHEBANG_FILES= and CMAKE_OFF=.
And portclippy isn't happy too. :-D
Comment 3 commit-hook freebsd_committer freebsd_triage 2024-07-18 20:12:41 UTC
A commit in branch main references this bug:

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

commit c9ff34b39ca801024cd63b693bd0a75701a8669c
Author:     Martin Filla <freebsd@sysctl.cz>
AuthorDate: 2024-07-18 20:08:35 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2024-07-18 20:08:35 +0000

    devel/zapcc: fix build: version script assignment of 'LLVM_5.0' to symbol 'LLVMCreateDisasm' failed: symbol not defined

    Fix build on FreeBSD 15:
    error: version script assignment of 'LLVM_5.0' to symbol 'LLVMCreateDisasm' failed: symbol not defined

    PR:     279767

 devel/zapcc/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)