rpms/mod_python/devel mod_python-3.3.1-buckets.patch, NONE, 1.1 mod_python.spec, 1.41, 1.42

Joe Orton jorton at fedoraproject.org
Tue Oct 7 13:53:22 UTC 2008


Author: jorton

Update of /cvs/extras/rpms/mod_python/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv32658

Modified Files:
	mod_python.spec 
Added Files:
	mod_python-3.3.1-buckets.patch 
Log Message:
* Tue Oct  7 2008 Joe Orton <jorton at redhat.com> 3.3.1-8
- fix build failure, thanks to Tomo Vuckovic (#465246)


mod_python-3.3.1-buckets.patch:

--- NEW FILE mod_python-3.3.1-buckets.patch ---
--- mod_python-3.3.1/src/connobject.c.buckets
+++ mod_python-3.3.1/src/connobject.c
@@ -139,7 +139,7 @@ static PyObject * _conn_read(conn_rec *c
     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;


Index: mod_python.spec
===================================================================
RCS file: /cvs/extras/rpms/mod_python/devel/mod_python.spec,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -r1.41 -r1.42
--- mod_python.spec	19 Feb 2008 07:11:16 -0000	1.41
+++ mod_python.spec	7 Oct 2008 13:52:52 -0000	1.42
@@ -4,11 +4,12 @@
 Summary: An embedded Python interpreter for the Apache HTTP Server
 Name: mod_python
 Version: 3.3.1
-Release: 7
+Release: 8
 Source: http://www.apache.org/dist/httpd/modpython/%{name}-%{version}.tgz
 Source1: python.conf
 Patch1: mod_python-3.1.3-ldflags.patch
 Patch2: mod_python-3.1.4-cflags.patch
+Patch3: mod_python-3.3.1-buckets.patch
 URL: http://www.modpython.org/
 License: ASL 2.0
 Group: System Environment/Daemons
@@ -29,6 +30,7 @@
 %setup -q
 %patch1 -p1 -b .ldflags
 %patch2 -p1 -b .cflags
+%patch3 -p1 -b .buckets
 
 %build
 %configure --with-apxs=%{_sbindir}/apxs --with-max-locks=4
@@ -60,6 +62,9 @@
 %{python_sitearch}/mod_python*
 
 %changelog
+* Tue Oct  7 2008 Joe Orton <jorton at redhat.com> 3.3.1-8
+- fix build failure, thanks to Tomo Vuckovic (#465246)
+
 * Tue Feb 19 2008 Fedora Release Engineering <rel-eng at fedoraproject.org> - 3.3.1-7
 - Autorebuild for GCC 4.3
 




More information about the scm-commits mailing list