diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2014-02-10 13:58:27 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-02-10 16:11:06 +0000 |
commit | f6028422aa3fb9ab7b94e4540e1093b37bbafaf8 (patch) | |
tree | 44af7f4880336e181e2c17ac2dd45ce243766a8f /testing/uwsgi/musl-fix-python.patch | |
parent | 62ceb9126266ce5690887435ee17dec1acae0cab (diff) | |
download | aports-f6028422aa3fb9ab7b94e4540e1093b37bbafaf8.tar.bz2 aports-f6028422aa3fb9ab7b94e4540e1093b37bbafaf8.tar.xz |
testing/uwsgi: upgrade to 2.0.1 and fix musl build
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> |