Hi,

after upgrading my XFCE packages to -current, I lost the systray
notifier applet.
Looking in .xsession-errors, I figured out that the plugin was trying
to link old c++ libs.

I tracked this down to libdbusmenu that was not updated by pkg_add -u,
I guess because it lacks COMPILER_LIBCXX in WANTLIB.

Untested patch below.

Index: Makefile
===================================================================
RCS file: /cvs/OpenBSD/ports/x11/libdbusmenu/Makefile,v
retrieving revision 1.8
diff -u -p -u -r1.8 Makefile
--- Makefile    13 Nov 2019 11:00:52 -0000      1.8
+++ Makefile    17 Jan 2021 12:52:10 -0000
@@ -2,7 +2,7 @@
 
 COMMENT =      D-Bus menu implementation for Gtk
 DISTNAME =     libdbusmenu-16.04.0
-REVISION =     1
+REVISION =     2
 CATEGORIES =   x11 devel
 SHARED_LIBS +=  dbusmenu-glib             0.0 # 4.12
 SHARED_LIBS +=  dbusmenu-gtk3             0.0 # 4.12
@@ -20,6 +20,7 @@ WANTLIB += gio-2.0 glib-2.0 gmodule-2.0 
 WANTLIB += gthread-2.0 gtk-3 harfbuzz iconv intl json-glib-1.0
 WANTLIB += m pango-1.0 pangocairo-1.0 pangoft2-1.0 pcre pixman-1
 WANTLIB += png pthread xcb xcb-render xcb-shm z
+WANTLIB += ${COMPILER_LIBCXX}
 
 MASTER_SITES = https://launchpad.net/libdbusmenu/16.04/16.04.0/+download/
 

-- 
Matthieu Herrb

Reply via email to