1
0

nss: Fix building with glibc 2.32 and gcc 10

This commit is contained in:
Jernej Skrabec
2020-08-28 09:15:54 +02:00
parent a709f0e43e
commit 25fb1dcc88

@ -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
/*