git: ad8c41202979 - main - graphics/cbonsai: unbreak

From: Jimmy Olgeni <olgeni_at_FreeBSD.org>
Date: Wed, 09 Oct 2024 18:46:02 UTC
The branch main has been updated by olgeni:

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

commit ad8c4120297937e90707d1e823c40dfe5a2f38ae
Author:     Jimmy Olgeni <olgeni@FreeBSD.org>
AuthorDate: 2024-10-09 18:45:14 +0000
Commit:     Jimmy Olgeni <olgeni@FreeBSD.org>
CommitDate: 2024-10-09 18:45:56 +0000

    graphics/cbonsai: unbreak
---
 graphics/cbonsai/Makefile             |  2 --
 graphics/cbonsai/files/patch-Makefile | 10 ++++++++++
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/graphics/cbonsai/Makefile b/graphics/cbonsai/Makefile
index 071747cd82a9..13e17bec0fdc 100644
--- a/graphics/cbonsai/Makefile
+++ b/graphics/cbonsai/Makefile
@@ -10,8 +10,6 @@ WWW=		https://gitlab.com/jallbrit/cbonsai
 LICENSE=	GPLv3
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BROKEN_FreeBSD_14=	ld: error: undefined symbol: del_panel
-
 USES=		compiler:c11 ncurses
 USE_GITLAB=	yes
 GL_ACCOUNT=	jallbrit
diff --git a/graphics/cbonsai/files/patch-Makefile b/graphics/cbonsai/files/patch-Makefile
new file mode 100644
index 000000000000..a52bbce44a18
--- /dev/null
+++ b/graphics/cbonsai/files/patch-Makefile
@@ -0,0 +1,10 @@
+--- Makefile.orig
++++ Makefile
+@@ -7,6 +7,7 @@
+ MANDIR	= $(PREFIX)/share/man
+ 
+ cbonsai: cbonsai.c
++	$(CC) $(CFLAGS) -o $@ $< $(LDLIBS)
+ 
+ cbonsai.1: cbonsai.scd
+ 	scdoc <$< >$@