0
0
mirror of https://github.com/termux-pacman/glibc-packages.git synced 2024-11-13 15:09:21 +00:00
glibc-packages/gpkg/glibc/getpwnam.c.patch
2024-02-10 17:49:11 +03:00

29 lines
1.0 KiB
Diff

--- glibc-2.39/nss/getpwnam.c 2023-07-31 20:54:16.000000000 +0300
+++ glibc-2.39/nss/getpwnam.c.patch 2023-10-25 12:42:35.608853594 +0300
@@ -24,5 +24,6 @@
#define ADD_PARAMS const char *name
#define ADD_VARIABLES name
#define BUFLEN NSS_BUFLEN_PASSWD
+#define ANDROID_SYS getpwnam_android
#include "../nss/getXXbyYY.c"
--- glibc-2.39/nss/getpwnam_r.c 2023-07-31 20:54:16.000000000 +0300
+++ glibc-2.39/nss/getpwnam_r.c.patch 2023-10-25 12:43:40.708853569 +0300
@@ -24,5 +24,6 @@
#define ADD_PARAMS const char *name
#define ADD_VARIABLES name
#define BUFLEN NSS_BUFLEN_PASSWD
+#define ANDROID_SYS getpwnam_android
#include <nss/getXXbyYY_r.c>
--- glibc-2.39/nscd/getpwnam_r.c 2023-07-31 20:54:16.000000000 +0300
+++ glibc-2.39/nscd/getpwnam_r.c.patch 2023-10-25 12:44:19.868853554 +0300
@@ -23,6 +23,7 @@
#define ADD_PARAMS const char *name
#define ADD_VARIABLES name
#define BUFLEN NSS_BUFLEN_PASSWD
+#define ANDROID_SYS getpwnam_android
/* We are nscd, so we don't want to be talking to ourselves. */
#undef USE_NSCD