From 118f492905a2b3959cfffd25449b8804491f2a69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bart=C5=82omiej=20Piotrowski?= Date: Fri, 6 Feb 2015 13:58:54 +0100 Subject: testing/uwsgi: enable python3 plugin --- testing/uwsgi/musl-fix-python.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 testing/uwsgi/musl-fix-python.patch (limited to 'testing/uwsgi/musl-fix-python.patch') diff --git a/testing/uwsgi/musl-fix-python.patch b/testing/uwsgi/musl-fix-python.patch new file mode 100644 index 0000000000..b4b8fd240f --- /dev/null +++ b/testing/uwsgi/musl-fix-python.patch @@ -0,0 +1,13 @@ +diff --git a/plugins/python/uwsgi_python.h b/plugins/python/uwsgi_python.h +index 0c5c1c8..5c0dc6d 100644 +--- a/plugins/python/uwsgi_python.h ++++ b/plugins/python/uwsgi_python.h +@@ -1,4 +1,8 @@ + #include ++/* seems like Python.h explicitlyl redefines _GNU_SOURCE */ ++#ifdef _GNU_SOURCE ++#undef _GNU_SOURCE ++#endif + #include + + #include -- cgit v1.2.3