summaryrefslogtreecommitdiffstats
path: root/libc-musl/patches
diff options
context:
space:
mode:
authorWolfgang Müller2022-04-28 16:57:56 +0200
committerWolfgang Müller2022-04-28 16:57:56 +0200
commit9fe1b9748769e23cf1faf625af586fc3c7ff68df (patch)
tree9a781cad33de12e6b6a1bf42aca52bd91f8c480f /libc-musl/patches
parent9708c379ce07fdf3e67258e5f24b9971bd969808 (diff)
downloadportage-roles-9fe1b9748769e23cf1faf625af586fc3c7ff68df.tar.gz
Rename group-musl to libc-musl
This more clearly describes what this profile does.
Diffstat (limited to 'libc-musl/patches')
-rw-r--r--libc-musl/patches/net-misc/openssh/disable-utpm-in-musl.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/libc-musl/patches/net-misc/openssh/disable-utpm-in-musl.patch b/libc-musl/patches/net-misc/openssh/disable-utpm-in-musl.patch
new file mode 100644
index 0000000..d028988
--- /dev/null
+++ b/libc-musl/patches/net-misc/openssh/disable-utpm-in-musl.patch
@@ -0,0 +1,18 @@
+diff --git a/configure.ac b/configure.ac
+index 9022ee9c..f0b40947 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -904,6 +904,13 @@ main() { if (NSVersionOfRunTimeLibrary("System") >= (60 << 16))
+ else
+ AC_MSG_RESULT([architecture not supported])
+ fi
++ case "$host" in
++ *-*-linux-musl*)
++ AC_DEFINE([DISABLE_UTMP], [1], [Define if you don't want to use utmp])
++ AC_DEFINE([DISABLE_WTMP], [1], [Define if you don't want to use wtmp])
++ ;;
++ esac
++
+ ;;
+ mips-sony-bsd|mips-sony-newsos4)
+ AC_DEFINE([NEED_SETPGRP], [1], [Need setpgrp to acquire controlling tty])