git: 2e6d9d11687c - main - x11-toolkits/mygui: Remove obsolete functions from build (+)
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 07 Jul 2025 16:28:10 UTC
The branch main has been updated by fluffy:
URL: https://cgit.FreeBSD.org/ports/commit/?id=2e6d9d11687cb9ea62c7300826b710bf29332e7f
commit 2e6d9d11687cb9ea62c7300826b710bf29332e7f
Author: Dima Panov <fluffy@FreeBSD.org>
AuthorDate: 2025-07-07 16:24:41 +0000
Commit: Dima Panov <fluffy@FreeBSD.org>
CommitDate: 2025-07-07 16:24:41 +0000
x11-toolkits/mygui: Remove obsolete functions from build (+)
Library builded with obsolete API support leads to build error for some consumers, e.g. for OpenMW:
ld: error: undefined symbol: non-virtual thunk to MyGUI::Widget::getLayerItemByPoint(int, int) const
>>> referenced by widgets.cpp
>>> widgets.cpp.o:(vtable for MWGui::Widgets::MWSkill) in archive apps/openmw/libopenmw-lib.a
>>> referenced by widgets.cpp
>>> widgets.cpp.o:(vtable for MWGui::Widgets::MWAttribute) in archive apps/openmw/libopenmw-lib.a
>>> referenced by widgets.cpp
>>> widgets.cpp.o:(vtable for MWGui::Widgets::MWSpell) in archive apps/openmw/libopenmw-lib.a
>>> referenced 44 more times
While here, adopt the port
Approved by: amdmi3 (former maintainer, via PM)
---
x11-toolkits/mygui/Makefile | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/x11-toolkits/mygui/Makefile b/x11-toolkits/mygui/Makefile
index a62600ec51b5..d06f3e370267 100644
--- a/x11-toolkits/mygui/Makefile
+++ b/x11-toolkits/mygui/Makefile
@@ -1,9 +1,10 @@
PORTNAME= mygui
DISTVERSIONPREFIX= MyGUI
DISTVERSION= 3.4.3
+PORTREVISION= 1
CATEGORIES= x11-toolkits graphics devel
-MAINTAINER= amdmi3@FreeBSD.org
+MAINTAINER= fluffy@FreeBSD.org
COMMENT?= Fast, simple and flexible GUI system for games and 3D applications
WWW= http://mygui.info/ \
https://github.com/MyGUI/mygui
@@ -23,6 +24,7 @@ INSTALL_WRKSRC= ${WRKSRC}/${MYGUI_SUBDIR}
USES+= cmake:insource compiler:c++11-lib pkgconfig
USE_GITHUB= yes
GH_ACCOUNT= MyGUI
+CMAKE_ON= MYGUI_DONT_USE_OBSOLETE
CMAKE_OFF= MYGUI_BUILD_DEMOS MYGUI_BUILD_TOOLS MYGUI_BUILD_DOCS
USE_LDCONFIG= yes