fwknop: Fix compilation
[termux-packages] / packages / python / _cursesmodule.c.patch
CommitLineData
59f0d218
FF
1We use libandroid-support when building Python, but Python does not
2use LDFLAGS when building modules (and not much point in this case).
3
4diff -u -r ../Python-3.4.1/Modules/_cursesmodule.c ./Modules/_cursesmodule.c
5--- ../Python-3.4.1/Modules/_cursesmodule.c 2014-05-19 07:19:39.000000000 +0200
6+++ ./Modules/_cursesmodule.c 2014-06-04 08:56:50.441097925 +0200
7@@ -121,7 +121,7 @@
8 #include <term.h>
9 #endif
10
11-#ifdef HAVE_LANGINFO_H
12+#if defined(HAVE_LANGINFO_H) && !defined(__ANDROID__)
13 #include <langinfo.h>
14 #endif
15