aboutsummaryrefslogtreecommitdiffstats
path: root/community/networkmanager/wwan-no-libsystemd.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/networkmanager/wwan-no-libsystemd.patch')
-rw-r--r--community/networkmanager/wwan-no-libsystemd.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/community/networkmanager/wwan-no-libsystemd.patch b/community/networkmanager/wwan-no-libsystemd.patch
new file mode 100644
index 00000000000..a46cab77994
--- /dev/null
+++ b/community/networkmanager/wwan-no-libsystemd.patch
@@ -0,0 +1,18 @@
+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"