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/getgrnam.c.patch
2024-02-10 17:49:11 +03:00

30 lines
1.0 KiB
Diff

--- glibc-2.39/nss/getgrnam.c 2023-07-31 20:54:16.000000000 +0300
+++ glibc-2.39/nss/getgrnam.c.patch 2023-10-25 12:46:39.218853501 +0300
@@ -24,5 +24,6 @@
#define ADD_PARAMS const char *name
#define ADD_VARIABLES name
#define BUFLEN NSS_BUFLEN_GROUP
+#define ANDROID_SYS getgrnam_android
#include "../nss/getXXbyYY.c"
--- glibc-2.39/nss/getgrnam_r.c 2023-07-31 20:54:16.000000000 +0300
+++ glibc-2.39/nss/getgrnam_r.c.patch 2023-10-25 12:47:53.598853472 +0300
@@ -24,6 +24,7 @@
#define DATABASE_NAME group
#define ADD_PARAMS const char *name
#define ADD_VARIABLES name
+#define ANDROID_SYS getgrnam_android
#define DEEPCOPY_FN __copy_grp
#define MERGE_FN __merge_grp
--- glibc-2.39/nscd/getgrnam_r.c 2023-07-31 20:54:16.000000000 +0300
+++ glibc-2.39/nscd/getgrnam_r.c.patch 2023-10-25 12:48:59.818853447 +0300
@@ -23,6 +23,7 @@
#define DATABASE_NAME group
#define ADD_PARAMS const char *name
#define ADD_VARIABLES name
+#define ANDROID_SYS getgrnam_android
#define DEEPCOPY_FN __copy_grp
#define MERGE_FN __merge_grp