diff options
author | 2020-07-24 02:19:29 +0300 | |
---|---|---|
committer | 2020-07-24 02:20:02 +0300 | |
commit | f56f0822023ff6b66707732d1becc075c111b63e (patch) | |
tree | 7b770ca5a05550cb9fe66ed8e8bbb3c606dbd6b2 | |
parent | Add ia64 gcc-10 miscompilation fix; didn't go anywhere upstream yet (diff) | |
download | glibc-patches-f56f0822023ff6b66707732d1becc075c111b63e.tar.gz glibc-patches-f56f0822023ff6b66707732d1becc075c111b63e.tar.bz2 glibc-patches-f56f0822023ff6b66707732d1becc075c111b63e.zip |
Fix etc-mail-aliases patch after changes in master
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
-rw-r--r-- | 9999/0003-Adapt-to-Gentoo-specific-etc-mail-aliases.patch | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/9999/0003-Adapt-to-Gentoo-specific-etc-mail-aliases.patch b/9999/0003-Adapt-to-Gentoo-specific-etc-mail-aliases.patch index 13ff145..ca428cf 100644 --- a/9999/0003-Adapt-to-Gentoo-specific-etc-mail-aliases.patch +++ b/9999/0003-Adapt-to-Gentoo-specific-etc-mail-aliases.patch @@ -1,7 +1,7 @@ From dbe134e9eed77bfbbbbf80fa97f2b02b869bcf9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20K=2E=20H=C3=BCttel?= <dilfridge@gentoo.org> Date: Mon, 22 Oct 2018 22:34:13 +0200 -Subject: [PATCH 3/5] Adapt to Gentoo-specific /etc/mail/aliases +Subject: Adapt to Gentoo-specific /etc/mail/aliases MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -17,15 +17,15 @@ Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org> 3 files changed, 17 insertions(+), 11 deletions(-) diff --git a/nss/nss_files/files-alias.c b/nss/nss_files/files-alias.c -index 6aff7b4c10..bb6d9b5765 100644 +index 43fb2c49a5..26b2cc86ad 100644 --- a/nss/nss_files/files-alias.c +++ b/nss/nss_files/files-alias.c -@@ -49,7 +49,7 @@ internal_setent (FILE **stream) +@@ -50,7 +50,7 @@ internal_setent (FILE **stream) if (*stream == NULL) { -- *stream = fopen ("/etc/aliases", "rce"); -+ *stream = fopen ("/etc/mail/aliases", "rce"); +- *stream = __nss_files_fopen ("/etc/aliases"); ++ *stream = __nss_files_fopen ("/etc/mail/aliases"); if (*stream == NULL) status = errno == EAGAIN ? NSS_STATUS_TRYAGAIN : NSS_STATUS_UNAVAIL; @@ -103,6 +103,3 @@ index 4f435c1ac1..e7ca2c714b 100644 /* valgrind needs a temporary directory in the chroot. */ { --- -2.26.2 - |