diff options
author | danger <danger@FreeBSD.org> | 2012-07-13 23:41:19 +0800 |
---|---|---|
committer | danger <danger@FreeBSD.org> | 2012-07-13 23:41:19 +0800 |
commit | e58b593f080799cbeb7b3ebf56a8bc61f3d72927 (patch) | |
tree | 80a3eb49afa9a6eddaa9c7eb2c18a819cd030b23 | |
parent | ffff708a8aa80c8d00b0e13a66bf0d0c07ca683b (diff) | |
download | freebsd-ports-gnome-e58b593f080799cbeb7b3ebf56a8bc61f3d72927.tar.gz freebsd-ports-gnome-e58b593f080799cbeb7b3ebf56a8bc61f3d72927.tar.zst freebsd-ports-gnome-e58b593f080799cbeb7b3ebf56a8bc61f3d72927.zip |
- update to 1.2.4
- import upstream patch to fix build with python 3.2
Approved by: crees
-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 + |