ports/173147: [PATCH] www/uwsgi: update to 1.2.6

Steve Wills swills at FreeBSD.org
Sun Oct 28 06:30:01 UTC 2012


>Number:         173147
>Category:       ports
>Synopsis:       [PATCH] www/uwsgi: update to 1.2.6
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 28 06:30:00 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Steve Wills
>Release:        FreeBSD 10.0-CURRENT amd64
>Organization:
>Environment:
System: FreeBSD meatwad.mouf.net 10.0-CURRENT FreeBSD 10.0-CURRENT #7 r242190: Sat Oct 27 22:30:44 EDT
>Description:
- Update to 1.2.6
- Fix build with clang on 9, but not 10

Port maintainer (danger at FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99_6 (mode: update, diff: SVN)
>How-To-Repeat:
>Fix:

--- uwsgi-1.2.6.patch begins here ---
Index: Makefile
===================================================================
--- Makefile	(revision 306538)
+++ Makefile	(working copy)
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	uwsgi
-PORTVERSION=	1.2.4
+PORTVERSION=	1.2.6
 CATEGORIES=	www python
 MASTER_SITES=	http://projects.unbit.it/downloads/
 
Index: distinfo
===================================================================
--- distinfo	(revision 306538)
+++ distinfo	(working copy)
@@ -1,2 +1,2 @@
-SHA256 (uwsgi-1.2.4.tar.gz) = 294306d249300b531bfc7abaa706926d0ed87ccc2e7248afec50b425aef39ebb
-SIZE (uwsgi-1.2.4.tar.gz) = 514048
+SHA256 (uwsgi-1.2.6.tar.gz) = 49d2fbedbd42b3c95a684f7ddf43302f881297f3614c7edd0af4a4c44e2032a5
+SIZE (uwsgi-1.2.6.tar.gz) = 515869
Index: files/patch-casting.diff
===================================================================
--- files/patch-casting.diff	(revision 306538)
+++ files/patch-casting.diff	(working copy)
@@ -1,37 +0,0 @@
-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
-
--- uwsgi-1.2.6.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list