aboutsummaryrefslogtreecommitdiffstats
path: root/testing/uwsgi/musl-fix-python.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-02-10 13:58:27 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-02-10 16:11:06 +0000
commitf6028422aa3fb9ab7b94e4540e1093b37bbafaf8 (patch)
tree44af7f4880336e181e2c17ac2dd45ce243766a8f /testing/uwsgi/musl-fix-python.patch
parent62ceb9126266ce5690887435ee17dec1acae0cab (diff)
downloadaports-f6028422aa3fb9ab7b94e4540e1093b37bbafaf8.tar.gz
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.patch13
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>