271aba5d0f
Due to the following dependency chain, it is currently not available in Alpine for armhf and armv7. This breaks postmarketos-base. postmarketos-base -> networkmanager -> polkit -> mozjs60 This can be reverted, when networkmanager is back for arm{hf,v7} in Alpine. The mozjs60 arm fix is from here: https://github.com/alpinelinux/aports/pull/7561 Related: #244
13 lines
459 B
Diff
13 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
|
|
|