Fork from Alpine to apply Martijn's patch: https://github.com/alpinelinux/aports/pull/9894 "This makes wpa_supplicant run in dbus mode if no config file has been created for it, fixing the networkmanager integration. This config has been used for a long time in postmarketOS and works fine. It also removes the iwd dependency from networkmanager again so wpa_supplicant is used because iwd doesn't support as many chipsets as wpa_supplicant and it doesn't run on older kernels." [ci:skip-build]: already built successfully in CI for x86_64, I've tested that it builds for armhf and aarch64 too.
14 lines
459 B
Diff
14 lines
459 B
Diff
diff --git a/src/systemd/sd-adapt-core/nm-sd-adapt-core.h b/src/systemd/sd-adapt-core/nm-sd-adapt-core.h
|
|
index 8c07c53..d043afc 100644
|
|
--- a/src/systemd/sd-adapt-core/nm-sd-adapt-core.h
|
|
+++ b/src/systemd/sd-adapt-core/nm-sd-adapt-core.h
|
|
@@ -65,7 +65,7 @@
|
|
# ifdef HAVE___SECURE_GETENV
|
|
# define secure_getenv __secure_getenv
|
|
# else
|
|
-# error neither secure_getenv nor __secure_getenv is available
|
|
+# define secure_getenv getenv
|
|
# endif
|
|
#endif
|
|
|