termux-packages/packages/gettext/msginit.c.patch

12 lines
328 B
Diff

--- ../cache/gettext-0.19.8/gettext-tools/src/msginit.c 2016-05-30 09:12:33.000000000 +0000
+++ ./gettext-tools/src/msginit.c 2017-02-23 06:45:14.705803371 +0000
@@ -1073,7 +1073,7 @@
struct passwd *pwd;
pwd = get_user_pwd ();
-#if HAVE_PWD_H
+#ifndef __ANDROID__
if (pwd != NULL)
{
const char *fullname;