diff options
| author | Bartłomiej Piotrowski <bpiotrowski@alpinelinux.org> | 2015-02-06 13:58:54 +0100 |
|---|---|---|
| committer | Bartłomiej Piotrowski <bpiotrowski@alpinelinux.org> | 2015-02-06 14:06:33 +0100 |
| commit | 118f492905a2b3959cfffd25449b8804491f2a69 (patch) | |
| tree | 2a1b51d69274604cd690b43901b28dfe090e9749 /testing/uwsgi/musl-fix-python.patch | |
| parent | 59118cbe114e7a8016aaf6532ed214e8a2d239aa (diff) | |
| download | aports-118f492905a2b3959cfffd25449b8804491f2a69.tar.bz2 aports-118f492905a2b3959cfffd25449b8804491f2a69.tar.xz | |
testing/uwsgi: enable python3 plugin
Diffstat (limited to 'testing/uwsgi/musl-fix-python.patch')
| -rw-r--r-- | testing/uwsgi/musl-fix-python.patch | 13 |
1 files changed, 13 insertions, 0 deletions
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 <uwsgi.h> ++/* seems like Python.h explicitlyl redefines _GNU_SOURCE */ ++#ifdef _GNU_SOURCE ++#undef _GNU_SOURCE ++#endif + #include <Python.h> + + #include <frameobject.h> |
