diff --git a/sysutils/consolekit2/Makefile b/sysutils/consolekit2/Makefile index 7722270ea3d8..707317339d39 100644 --- a/sysutils/consolekit2/Makefile +++ b/sysutils/consolekit2/Makefile @@ -1,63 +1,63 @@ PORTNAME= consolekit PORTVERSION= 1.2.6 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= sysutils gnome PKGNAMESUFFIX= 2 MAINTAINER= desktop@FreeBSD.org COMMENT= Framework for defining and tracking users WWW= https://github.com/ConsoleKit2/ConsoleKit2 LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libdbus-1.so:devel/dbus \ libdrm.so:graphics/libdrm \ libevdev.so:devel/libevdev \ libudev.so:devel/libudev-devd OPTIONS_DEFINE= POLKIT X11 OPTIONS_DEFAULT=POLKIT X11 OPTIONS_SUB= yes POLKIT_DESC= Build with Polkit support POLKIT_LIB_DEPENDS= libpolkit-gobject-1.so:sysutils/polkit POLKIT_CONFIGURE_ENABLE= polkit X11_USES= xorg X11_USE= XORG=x11 X11_CONFIGURE_WITH= x USE_GITHUB= yes GH_ACCOUNT= arrowd GH_PROJECT= ConsoleKit2 GH_TAGNAME= fbf7045c8d83b0c3f08535577aa2365bf9b250bf USES= autoreconf gettext gmake gnome libtool localbase pathfix pkgconfig \ tar:bzip2 USE_CSTD= gnu99 USE_GNOME= glib20 libxslt introspection:build GNU_CONFIGURE= yes USE_LDCONFIG= yes CONFIGURE_ARGS= --with-pid-file=/var/run/${PORTNAME}.pid \ --enable-pam-module \ --with-pam-module-dir=${PREFIX}/lib \ --localstatedir=/var \ --enable-introspection \ --enable-libdrm \ --enable-libevdev \ --enable-libudev \ --disable-udev-acl \ --disable-libcgmanager \ --without-systemdsystemunitdir INSTALL_TARGET= install-strip post-install: .for script in ck-system-hibernate ck-system-hybridsleep \ ck-system-restart ck-system-stop ck-system-suspend cd ${STAGEDIR}${PREFIX}/lib/ConsoleKit/scripts && \ ${MV} ${script} ${script}.sample .endfor .include diff --git a/sysutils/consolekit2/files/patch-src_ck-session.c b/sysutils/consolekit2/files/patch-src_ck-session.c new file mode 100644 index 000000000000..f6691f2873b7 --- /dev/null +++ b/sysutils/consolekit2/files/patch-src_ck-session.c @@ -0,0 +1,11 @@ +--- src/ck-session.c.orig 2025-03-20 16:35:45 UTC ++++ src/ck-session.c +@@ -815,7 +815,7 @@ ck_session_resume_all_devices (CkSession *session) + continue; + } + +- message = g_dbus_message_new_signal (session->priv->id, ++ message = g_dbus_message_new_signal (session->priv->path, + DBUS_SESSION_INTERFACE, + "ResumeDevice"); +