git: f43d8771f064 - main - emulators/higan: Don't call bfd linker

From: Daniel Engberg <diizzy_at_FreeBSD.org>
Date: Tue, 26 Dec 2023 08:35:15 UTC
The branch main has been updated by diizzy:

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

commit f43d8771f064863e51253559aff51c576d7bcd0f
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2023-12-26 08:23:47 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2023-12-26 08:23:52 +0000

    emulators/higan: Don't call bfd linker
    
    Use Clang's native linker instead of bfd to avoid build failure
    
    Approved by:    portmgr (blanket, build fix)
---
 emulators/higan/files/patch-ruby_GNUmakefile | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/emulators/higan/files/patch-ruby_GNUmakefile b/emulators/higan/files/patch-ruby_GNUmakefile
new file mode 100644
index 000000000000..dfd2922eae9c
--- /dev/null
+++ b/emulators/higan/files/patch-ruby_GNUmakefile
@@ -0,0 +1,11 @@
+--- ruby/GNUmakefile.orig	2023-12-26 07:36:47 UTC
++++ ruby/GNUmakefile
+@@ -65,7 +65,7 @@ ifeq ($(platform),bsd)
+ 
+ ifeq ($(platform),bsd)
+   ruby.options += -lX11 -lXext -lXrandr
+-  ruby.options += $(if $(findstring audio.openal,$(ruby)),-lopenal -fuse-ld=bfd)
++  ruby.options += $(if $(findstring audio.openal,$(ruby)),-lopenal)
+   # -fuse-ld=bfd: see FreeBSD bug 219089
+ endif
+