termux-packages/packages/gettext/msginit.c.patch
its-pointless 97609e5f76 Adds gettext software (#792)
* Adds gettext software

* fixed dependencies

* typo

* debians description
2017-04-17 23:14:44 +02:00

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;