]> git.pld-linux.org Git - packages/apache-mod_python.git/commitdiff
- fix for ap_requires removed from apache 2.4 API auto/th/apache-mod_python-3.3.1-20 auto/ti/apache-mod_python-3.3.1-20
authorJan Rękorajski <baggins@pld-linux.org>
Thu, 20 Jun 2013 22:44:31 +0000 (00:44 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Thu, 20 Jun 2013 22:44:31 +0000 (00:44 +0200)
- rel 20

apache-mod_python-apache24.patch
apache-mod_python.spec

index 565f9e30321734fb4f968ac86a80a1178854c890..3c3967855f7aa62485aaabda17c0e938f67bdf53 100644 (file)
      }
      else if (strcmp(name, "notes") == 0) {
          Py_INCREF(self->notes);
+--- mod_python-3.3.1/src/requestobject.c~      2006-12-03 05:36:37.000000000 +0100
++++ mod_python-3.3.1/src/requestobject.c       2013-06-21 00:41:47.635302626 +0200
+@@ -1230,7 +1230,12 @@
+        follow requires, e.g. "requires role terminator".
+     */
+-    const apr_array_header_t *reqs_arr = ap_requires(self->request_rec);
++    const apr_array_header_t *reqs_arr =
++#if AP_SERVER_MAJORVERSION_NUMBER > 2 || AP_SERVER_MINORVERSION_NUMBER >= 3
++    NULL;
++#else
++    ap_requires(self->request_rec);
++#endif
+     require_line *reqs;
+     int i, ti = 0;
index 28c9f287b9a2b999ff0af3a50f85d0aa2c25ac86..14220da04c4fe91b6a31ab8964c1765d443f89f2 100644 (file)
@@ -1,5 +1,5 @@
 %define                mod_name        python
-%define        apxs            /usr/sbin/apxs
+%define                apxs            /usr/sbin/apxs
 Summary:       An embedded Python interpreter for the Apache Web server
 Summary(cs.UTF-8):     Vestavěný interpret Pythonu pro WWW server Apache
 Summary(da.UTF-8):     En indbygget Python-fortolker for webtjeneren Apache
@@ -19,7 +19,7 @@ Summary(sl.UTF-8):    Vključeni pythonski tolmač za spletni strežnik Apache
 Summary(sv.UTF-8):     En inbyggd Python-interpretator för webbservern Apache
 Name:          apache-mod_%{mod_name}
 Version:       3.3.1
-Release:       19
+Release:       20
 License:       Apache
 Group:         Networking/Daemons/HTTP
 Source0:       http://www.apache.org/dist/httpd/modpython/mod_%{mod_name}-%{version}.tgz
This page took 0.077084 seconds and 4 git commands to generate.