git: 75d4fc2a7e20 - main - devel/dbus: fix test version script
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 21 Mar 2025 10:19:40 UTC
The branch main has been updated by bapt:
URL: https://cgit.FreeBSD.org/ports/commit/?id=75d4fc2a7e201425b778ec1b44f73f6ba622d6d6
commit 75d4fc2a7e201425b778ec1b44f73f6ba622d6d6
Author: Baptiste Daroussin <bapt@FreeBSD.org>
AuthorDate: 2025-03-21 09:49:37 +0000
Commit: Baptiste Daroussin <bapt@FreeBSD.org>
CommitDate: 2025-03-21 10:19:35 +0000
devel/dbus: fix test version script
The way dbus test if the linker supports version scripts, is generating
some undefined symbold error on FreeBSD (not on linux), remove the part
of the tests which causes this issue.
While here mark the libary which is supposed to have symbols as such
so the ports tree can check if the regression happened again in the
futur.
PR: 285253
---
devel/dbus/Makefile | 4 +++-
devel/dbus/files/patch-dbus_test-version-script | 11 +++++++++++
2 files changed, 14 insertions(+), 1 deletion(-)
diff --git a/devel/dbus/Makefile b/devel/dbus/Makefile
index eaae62484f93..b1b182a97bca 100644
--- a/devel/dbus/Makefile
+++ b/devel/dbus/Makefile
@@ -1,6 +1,6 @@
PORTNAME= dbus
DISTVERSION= 1.16.2
-PORTREVISION= 1
+PORTREVISION= 2
PORTEPOCH= 1
CATEGORIES= devel gnome
MASTER_SITES= https://dbus.freedesktop.org/releases/dbus/
@@ -22,6 +22,8 @@ USE_RC_SUBR= dbus
SHEBANG_FILES= tools/GetAllMatchRules.py \
tools/build-timestamp.py
+HAS_SYMBOL_VERSION= ${PREFIX}/lib/libdbus-1.so.${_LIBVERSION}
+
MESON_ARGS= -Dkqueue=enabled \
-Dapparmor=disabled \
-Ddoxygen_docs=disabled \
diff --git a/devel/dbus/files/patch-dbus_test-version-script b/devel/dbus/files/patch-dbus_test-version-script
new file mode 100644
index 000000000000..5298aedc60ba
--- /dev/null
+++ b/devel/dbus/files/patch-dbus_test-version-script
@@ -0,0 +1,11 @@
+--- dbus/test-version-script.orig 2025-02-27 16:29:06 UTC
++++ dbus/test-version-script
+@@ -1,8 +1,6 @@ NOT_REALLY_LIBDBUS_1_3 {
+ NOT_REALLY_LIBDBUS_1_3 {
+ global:
+ dbus_*;
+- local:
+- *;
+ };
+ NOT_REALLY_LIBDBUS_PRIVATE_1.2.3 {
+ global: