[issue20306] Lack of pw_gecos field in Android's struct passwd causes cross-compilation for the pwd module to fail
Matt Frank
report at bugs.python.org
Sat Oct 25 00:44:46 CEST 2014
Matt Frank added the comment:
Here is shiz's patch extended with the addition to configure.ac. I added the variable HAVE_PASSWD_GECOS_FIELD and the appropriate tests. Luckily this very problem (missing pw_gecos field) is the example used in the autoconf manual (https://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/Generic-Structures.html#Generic-Structures). (Otherwise I would have been as lost as I usually am with autoconf.)
----------
Added file: http://bugs.python.org/file37009/pw_gecos-field-workaround-with-config_ac-mods.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20306>
_______________________________________
More information about the Python-bugs-list
mailing list