1
0
mirror of https://github.com/termux/termux-packages synced 2024-06-13 02:56:40 +00:00
termux-packages/packages/python/_cursesmodule.c.patch
Fredrik Fornwall 59f0d218a6 Initial push
2015-06-13 01:03:31 +02:00

16 lines
522 B
Diff

We use libandroid-support when building Python, but Python does not
use LDFLAGS when building modules (and not much point in this case).
diff -u -r ../Python-3.4.1/Modules/_cursesmodule.c ./Modules/_cursesmodule.c
--- ../Python-3.4.1/Modules/_cursesmodule.c 2014-05-19 07:19:39.000000000 +0200
+++ ./Modules/_cursesmodule.c 2014-06-04 08:56:50.441097925 +0200
@@ -121,7 +121,7 @@
#include <term.h>
#endif
-#ifdef HAVE_LANGINFO_H
+#if defined(HAVE_LANGINFO_H) && !defined(__ANDROID__)
#include <langinfo.h>
#endif