diff options
-rw-r--r-- | www/uwsgi/Makefile | 2 | ||||
-rw-r--r-- | www/uwsgi/distinfo | 4 | ||||
-rw-r--r-- | www/uwsgi/files/patch-casting.diff | 37 |
3 files changed, 40 insertions, 3 deletions
diff --git a/www/uwsgi/Makefile b/www/uwsgi/Makefile index c5cfe7128b00..02803ff20e12 100644 --- a/www/uwsgi/Makefile +++ b/www/uwsgi/Makefile @@ -6,7 +6,7 @@ # PORTNAME= uwsgi -PORTVERSION= 1.2.3 +PORTVERSION= 1.2.4 CATEGORIES= www python MASTER_SITES= http://projects.unbit.it/downloads/ diff --git a/www/uwsgi/distinfo b/www/uwsgi/distinfo index 8b8099d4383a..56c9b6f927f6 100644 --- a/www/uwsgi/distinfo +++ b/www/uwsgi/distinfo @@ -1,2 +1,2 @@ -SHA256 (uwsgi-1.2.3.tar.gz) = 1f9f6047468272708241780597014ed00d93919a384e81b30e65167fb2c2e129 -SIZE (uwsgi-1.2.3.tar.gz) = 512385 +SHA256 (uwsgi-1.2.4.tar.gz) = 294306d249300b531bfc7abaa706926d0ed87ccc2e7248afec50b425aef39ebb +SIZE (uwsgi-1.2.4.tar.gz) = 514048 diff --git a/www/uwsgi/files/patch-casting.diff b/www/uwsgi/files/patch-casting.diff new file mode 100644 index 000000000000..35346f19c60f --- /dev/null +++ b/www/uwsgi/files/patch-casting.diff @@ -0,0 +1,37 @@ +diff -r 85ae8fc31920 -r e7bca57267bc plugins/python/wsgi_subhandler.c +--- plugins/python/wsgi_subhandler.c ven lug 13 12:56:03 2012 +0200 ++++ plugins/python/wsgi_subhandler.c ven lug 13 12:57:18 2012 +0200 +@@ -51,7 +51,7 @@ + // if async_post is mapped as a file, directly use it as wsgi.input + if (wsgi_req->async_post) { + #ifdef PYTHREE +- wsgi_req->async_input = PyFile_FromFd(fileno(wsgi_req->async_post), "wsgi_input", "rb", 0, NULL, NULL, NULL, 0); ++ wsgi_req->async_input = PyFile_FromFd(fileno((FILE *)wsgi_req->async_post), "wsgi_input", "rb", 0, NULL, NULL, NULL, 0); + #else + wsgi_req->async_input = PyFile_FromFile(wsgi_req->async_post, "wsgi_input", "r", NULL); + #endif +diff -r e7bca57267bc -r 08530c952818 plugins/python/pump_subhandler.c +--- plugins/python/pump_subhandler.c ven lug 13 12:57:18 2012 +0200 ++++ plugins/python/pump_subhandler.c ven lug 13 13:21:57 2012 +0200 +@@ -107,7 +107,7 @@ + // if async_post is mapped as a file, directly use it as wsgi.input + if (wsgi_req->async_post) { + #ifdef PYTHREE +- wsgi_req->async_input = PyFile_FromFd(fileno(wsgi_req->async_post), "pump_body", "rb", 0, NULL, NULL, NULL, 0); ++ wsgi_req->async_input = PyFile_FromFd(fileno((FILE *)wsgi_req->async_post), "pump_body", "rb", 0, NULL, NULL, NULL, 0); + #else + wsgi_req->async_input = PyFile_FromFile(wsgi_req->async_post, "pump_body", "r", NULL); + #endif +diff -r e7bca57267bc -r 08530c952818 plugins/python/web3_subhandler.c +--- plugins/python/web3_subhandler.c ven lug 13 12:57:18 2012 +0200 ++++ plugins/python/web3_subhandler.c ven lug 13 13:21:57 2012 +0200 +@@ -47,7 +47,7 @@ + // if async_post is mapped as a file, directly use it as wsgi.input + if (wsgi_req->async_post) { + #ifdef PYTHREE +- wsgi_req->async_input = PyFile_FromFd(fileno(wsgi_req->async_post), "web3_input", "rb", 0, NULL, NULL, NULL, 0); ++ wsgi_req->async_input = PyFile_FromFd(fileno((FILE *) wsgi_req->async_post), "web3_input", "rb", 0, NULL, NULL, NULL, 0); + #else + wsgi_req->async_input = PyFile_FromFile(wsgi_req->async_post, "web3_input", "r", NULL); + #endif + |