packages/libs/nss/patches/020-getopt.patch
Rosen Penev beac69b7a5
nss: update to 3.60
Added patch to fix compilation with musl 1.2.x.

Install nss-config file and fix it up. Might help some packages...

Refreshed others.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-12-15 20:06:13 -08:00

12 lines
305 B
Diff

--- a/nss/coreconf/nsinstall/nsinstall.c
+++ b/nss/coreconf/nsinstall/nsinstall.c
@@ -36,8 +36,8 @@ typedef unsigned int mode_t;
#undef HAVE_FCHMOD
#endif
-#ifdef LINUX
#include <getopt.h>
+#ifdef LINUX
#endif
#if defined(SCO) || defined(UNIXWARE) || defined(SNI) || defined(NCR) || defined(NEC)