mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-25 09:41:35 +01:00
Note: `install_if="networkmanager elogind"` in the original networkmanager-elogind aport was wrong and didn't work, i.e. networkmanager-elogind had to be explicitly installed even before.
19 lines
410 B
Diff
19 lines
410 B
Diff
Avoid unnecessary dependency on libelogind.
|
|
sd_booted() always returns FALSE on Alpine.
|
|
|
|
--- a/src/core/devices/wwan/nm-modem-manager.c
|
|
+++ b/src/core/devices/wwan/nm-modem-manager.c
|
|
@@ -11,11 +11,8 @@
|
|
|
|
#include <libmm-glib.h>
|
|
|
|
-#if HAVE_LIBSYSTEMD
|
|
-#include <systemd/sd-daemon.h>
|
|
-#else
|
|
+// XXX-Patched
|
|
#define sd_booted() FALSE
|
|
-#endif
|
|
|
|
#include "libnm-std-aux/nm-dbus-compat.h"
|
|
#include "nm-modem.h"
|