distribution/packages/security/nss/patches/nss-09-gcc-warning-workaround.patch

12 lines
332 B
Diff
Raw Normal View History

2022-04-14 11:56:57 +00:00
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
/*