git: 13fda2833ad0 - main - cad/librnd: Update 4.4.0 => 4.5.0, unbreak build WITH_MOTIF

From: Älven <alven_at_FreeBSD.org>
Date: Thu, 09 Jul 2026 03:45:20 UTC
The branch main has been updated by alven:

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

commit 13fda2833ad019e4be040791baee1a2fecfde1dc
Author:     Älven <alven@FreeBSD.org>
AuthorDate: 2026-07-09 03:32:06 +0000
Commit:     Älven <alven@FreeBSD.org>
CommitDate: 2026-07-09 03:43:13 +0000

    cad/librnd: Update 4.4.0 => 4.5.0, unbreak build WITH_MOTIF
    
    * Add GTK4 and MOTIF to OPTIONS_DEFAULT as all builds successfully now.
    
    Approved by:            db@, yuri@ (Mentors, implicit)
---
 cad/librnd/Makefile  | 6 +++---
 cad/librnd/distinfo  | 6 +++---
 cad/librnd/pkg-plist | 4 ++++
 3 files changed, 10 insertions(+), 6 deletions(-)

diff --git a/cad/librnd/Makefile b/cad/librnd/Makefile
index f734c7a6ea21..327e038e9111 100644
--- a/cad/librnd/Makefile
+++ b/cad/librnd/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	librnd
-DISTVERSION=	4.4.0
+DISTVERSION=	4.5.0
 CATEGORIES=	cad
 MASTER_SITES=	http://www.repo.hu/projects/${PORTNAME}/releases/
 
@@ -31,7 +31,7 @@ BINARY_ALIAS=	make=${MAKE_CMD}
 PLIST_SUB=	SOVERSION=${DISTVERSION}
 
 OPTIONS_DEFINE=		DOCS GD GTK2 GTK2GL GTK4 MOTIF STROKE WGET
-OPTIONS_DEFAULT=	GD GTK2 GTK2GL STROKE WGET
+OPTIONS_DEFAULT=	GD GTK2 GTK2GL GTK4 MOTIF STROKE WGET
 OPTIONS_SUB=		yes
 
 GTK2GL_DESC=		GTK 2 GUI with OpenGL support
@@ -62,10 +62,10 @@ GTK4_USES=		gl gnome
 GTK4_USE=		GL=gl,glu \
 			GNOME=cairo,gdkpixbuf,gtk40
 GTK4_CONFIGURE_OFF=	--disable-hid_gtk4_gl
-MOTIF_BROKEN=		Fails to build
 MOTIF_USES=		motif
 MOTIF_USE=		XORG=x11,xinerama,xrender,xt
 MOTIF_CONFIGURE_OFF=	--disable-hid_lesstif
+MOTIF_CFLAGS=		-Wno-error=incompatible-function-pointer-types
 STROKE_LIB_DEPENDS=	libstroke.so:devel/libstroke
 STROKE_CONFIGURE_OFF=	--disable-stroke
 WGET_RUN_DEPENDS=	wget:ftp/wget
diff --git a/cad/librnd/distinfo b/cad/librnd/distinfo
index baa3eb7b0f48..32e8aa0b4b7d 100644
--- a/cad/librnd/distinfo
+++ b/cad/librnd/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1761070908
-SHA256 (librnd-4.4.0.tar.bz2) = bca867a3c69d273015f6f2346eefa663051c3b3aab9529e3d699c1b7288bab6b
-SIZE (librnd-4.4.0.tar.bz2) = 1674400
+TIMESTAMP = 1783565718
+SHA256 (librnd-4.5.0.tar.bz2) = dae47e4567514e7013a9194399f940877108346dd6b1a3c98aa160a04693efa4
+SIZE (librnd-4.5.0.tar.bz2) = 1732970
diff --git a/cad/librnd/pkg-plist b/cad/librnd/pkg-plist
index 9f2cfa124dcf..8c7977129c31 100644
--- a/cad/librnd/pkg-plist
+++ b/cad/librnd/pkg-plist
@@ -73,6 +73,8 @@ include/librnd4/librnd/plugins/lib_exp_pixmap/draw_pixmap.h
 include/librnd4/librnd/plugins/lib_exp_text/draw_eps.h
 include/librnd4/librnd/plugins/lib_exp_text/draw_ps.h
 include/librnd4/librnd/plugins/lib_exp_text/draw_svg.h
+include/librnd4/librnd/plugins/lib_exp_text/draw_web2.h
+include/librnd4/librnd/plugins/lib_exp_text/lht_template.h
 include/librnd4/librnd/plugins/lib_exp_text/lpr_hid.h
 include/librnd4/librnd/plugins/lib_exp_text/media.h
 include/librnd4/librnd/plugins/lib_hid_common/dialogs_conf.h
@@ -268,6 +270,8 @@ lib/librnd4/plugins/lib_portynet.so
 lib/librnd4/plugins/loghid.pup
 lib/librnd4/plugins/loghid.so
 lib/librnd4/plugins/map_plugins.sh
+lib/librnd4/plugins/remctrl_tcp.pup
+lib/librnd4/plugins/remctrl_tcp.so
 lib/librnd4/plugins/script.pup
 lib/librnd4/plugins/script.so
 %%STROKE%%lib/librnd4/plugins/stroke.pup