Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Jul 2008 20:09:49 GMT
From:      "Philip M. Gollucci" <pgollucci@p6m7g8.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        perky@FreeBSD.org
Subject:   ports/125484: [PATCH] www/mod_python: devel/apr 1.3.x exposed mod_python3 bug
Message-ID:  <200807102009.m6AK9nVa058942@riderwayinc.com>
Resent-Message-ID: <200807102020.m6AKK12h030566@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         125484
>Category:       ports
>Synopsis:       [PATCH] www/mod_python: devel/apr 1.3.x exposed mod_python3 bug
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jul 10 20:20:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Philip M. Gollucci
>Release:        FreeBSD 7.0-RELEASE amd64
>Organization:
Riderway Inc.
>Environment:
System: FreeBSD riderwayinc.com 7.0-RELEASE FreeBSD 7.0-RELEASE #2: Thu Feb 28 21:20:48 UTC 2008
>Description:
APR_BIGADE_SENTINEL takes a bucket brigade not a bucket.

No PORTREVISION bump neccessary since the default package is on www/apache20
which will use apr 0.9.x bundled with that by default.

This change will work with all apr versions.


Added file(s):
- files/patch-src__connobject.c

Port maintainer (perky@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- mod_python-3.3.1.patch begins here ---
Index: files/patch-src__connobject.c
===================================================================
RCS file: files/patch-src__connobject.c
diff -N files/patch-src__connobject.c
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ files/patch-src__connobject.c	10 Jul 2008 20:08:25 -0000
@@ -0,0 +1,11 @@
+--- ./src/connobject.c.orig	2008-07-10 19:57:53.000000000 +0000
++++ ./src/connobject.c	2008-07-10 19:57:18.000000000 +0000
+@@ -139,7 +139,7 @@
+     bytes_read = 0;
+ 
+     while ((bytes_read < len || len == 0) &&
+-           !(b == APR_BRIGADE_SENTINEL(b) ||
++           !(b == APR_BRIGADE_SENTINEL(bb) ||
+              APR_BUCKET_IS_EOS(b) || APR_BUCKET_IS_FLUSH(b))) {
+ 
+         const char *data;
--- mod_python-3.3.1.patch ends here ---

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200807102009.m6AK9nVa058942>