diff options
Diffstat (limited to 'recipes/glibc/glibc-2.2.5/glibc-2.2.5-allow-gcc-3.4-grp.patch')
-rw-r--r-- | recipes/glibc/glibc-2.2.5/glibc-2.2.5-allow-gcc-3.4-grp.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/recipes/glibc/glibc-2.2.5/glibc-2.2.5-allow-gcc-3.4-grp.patch b/recipes/glibc/glibc-2.2.5/glibc-2.2.5-allow-gcc-3.4-grp.patch new file mode 100644 index 0000000000..5a9b3057dd --- /dev/null +++ b/recipes/glibc/glibc-2.2.5/glibc-2.2.5-allow-gcc-3.4-grp.patch @@ -0,0 +1,36 @@ + +# +# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher +# + +--- glibc-2.2.5/grp/initgroups.c~glibc-2.2.5-allow-gcc-3.4-grp.patch 2004-09-03 19:00:33.000000000 -0500 ++++ glibc-2.2.5/grp/initgroups.c 2004-09-03 19:00:38.000000000 -0500 +@@ -176,7 +176,7 @@ + + /* This is really only for debugging. */ + if (NSS_STATUS_TRYAGAIN > status || status > NSS_STATUS_RETURN) +- __libc_fatal ("illegal status in " __FUNCTION__); ++ __libc_fatal ("illegal status in internal_getgrouplist"); + + if (status != NSS_STATUS_SUCCESS + && nss_next_action (nip, status) == NSS_ACTION_RETURN) +@@ -214,7 +214,7 @@ + } + else + *ngroups = result; +- ++ + memcpy (groups, newgroups, *ngroups * sizeof (gid_t)); + + free (newgroups); +--- glibc-2.2.5/nss/nsswitch.c~glibc-2.2.5-allow-gcc-3.4-grp.patch 2004-09-03 19:00:33.000000000 -0500 ++++ glibc-2.2.5/nss/nsswitch.c 2004-09-03 19:00:38.000000000 -0500 +@@ -178,7 +178,7 @@ + { + /* This is really only for debugging. */ + if (NSS_STATUS_TRYAGAIN > status || status > NSS_STATUS_RETURN) +- __libc_fatal ("illegal status in " __FUNCTION__); ++ __libc_fatal ("illegal status in __nss_next"); + + if (nss_next_action (*ni, status) == NSS_ACTION_RETURN) + return 1; |