diff options
author | Valery Kartel <valery.kartel@gmail.com> | 2017-03-07 12:42:31 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2017-03-23 16:50:49 +0000 |
commit | adecf80bc8f761eaf58245d98a41801e5b62c3d9 (patch) | |
tree | 524775b07e22752313b9e5b5392fd966a8135231 /main/openssh/fix-utmp.patch | |
parent | d92d0c148dfe07c0dd08351fe7a72d5004e123ea (diff) | |
download | aports-adecf80bc8f761eaf58245d98a41801e5b62c3d9.tar.bz2 aports-adecf80bc8f761eaf58245d98a41801e5b62c3d9.tar.xz |
main/openssh: fix patches
fix hpn patches which was unintentionally disabled with commit
756f181a5 (main/openssh: support cross building and use default_prepare)
rename *.diff to *.patch because *.diff are ignored by default_prepare
Diffstat (limited to 'main/openssh/fix-utmp.patch')
-rw-r--r-- | main/openssh/fix-utmp.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/main/openssh/fix-utmp.patch b/main/openssh/fix-utmp.patch new file mode 100644 index 0000000000..275e80590d --- /dev/null +++ b/main/openssh/fix-utmp.patch @@ -0,0 +1,11 @@ +--- openssh-6.8p1.orig/loginrec.c 2015-03-17 07:49:20.000000000 -0200 ++++ openssh-6.8p1/loginrec.c 2015-03-19 10:45:45.780276841 -0200 +@@ -783,7 +783,7 @@ + if (li->hostaddr.sa.sa_family == AF_INET) + utx->ut_addr = li->hostaddr.sa_in.sin_addr.s_addr; + # endif +-# ifdef HAVE_ADDR_V6_IN_UTMP ++# ifdef HAVE_ADDR_V6_IN_UTMPX + /* this is just a 128-bit IPv6 address */ + if (li->hostaddr.sa.sa_family == AF_INET6) { + sa6 = ((struct sockaddr_in6 *)&li->hostaddr.sa); |