Merge pull request #4542 from jernejsk/build

nss: Fix building with glibc 2.32 and gcc 10
This commit is contained in:
CvH 2020-08-30 18:07:34 +02:00 committed by GitHub
commit 89c756264e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,11 @@
diff -r ab04fd73fd6d coreconf/nsinstall/nsinstall.c
--- a/nss/coreconf/nsinstall/nsinstall.c Mon Aug 24 22:52:43 2020 +0000
+++ b/nss/coreconf/nsinstall/nsinstall.c Wed Aug 26 13:04:16 2020 +0200
@@ -50,6 +50,7 @@
extern int fchmod(int fildes, mode_t mode);
#endif
+#define GETCWD_CANT_MALLOC 1
#ifdef GETCWD_CANT_MALLOC
/*