ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/pack/freebsd/diff/www/mod_wsgi/mod_wsgi.2010-05-18T095906Z.diff
(Generate patch)

Comparing freebsd/www/mod_wsgi.patch (file contents):
Revision 35 by douglas, 2008-08-22T16:07:56-07:00 vs.
Revision 39 by douglas, 2008-08-23T14:40:01-07:00

# Line 1 | Line 1
1   diff -Nrux .svn -x work /usr/ports/www/mod_wsgi/Makefile mod_wsgi/Makefile
2   --- /usr/ports/www/mod_wsgi/Makefile    2008-07-16 16:23:54.000000000 -0700
3 < +++ mod_wsgi/Makefile   2008-08-22 16:05:40.374980883 -0700
3 > +++ mod_wsgi/Makefile   2008-08-23 14:36:28.012407983 -0700
4   @@ -6,7 +6,7 @@
5   #
6  
7   PORTNAME=      mod_wsgi
8   -PORTVERSION=   2.1
9 < +PORTVERSION=   2.2
9 > +PORTVERSION=   2.3
10   CATEGORIES=    www python
11   MASTER_SITES=  ${MASTER_SITE_GOOGLE_CODE}
12  
13   diff -Nrux .svn -x work /usr/ports/www/mod_wsgi/distinfo mod_wsgi/distinfo
14   --- /usr/ports/www/mod_wsgi/distinfo    2008-07-16 16:23:54.000000000 -0700
15 < +++ mod_wsgi/distinfo   2008-08-22 14:26:12.755749948 -0700
15 > +++ mod_wsgi/distinfo   2008-08-23 14:24:58.962894986 -0700
16   @@ -1,3 +1,3 @@
17   -MD5 (mod_wsgi-2.1.tar.gz) = 4e0e8b5a13e0be2fc5b038f1e3e826a2
18   -SHA256 (mod_wsgi-2.1.tar.gz) = 7f1c28f1fbc585de2a15770c990e45b46d184245183775dd31e3a63bd30fc3a0
19   -SIZE (mod_wsgi-2.1.tar.gz) = 96635
20 < +MD5 (mod_wsgi-2.2.tar.gz) = bff5bcf38cceb53c70e6bb4bad5f71d8
21 < +SHA256 (mod_wsgi-2.2.tar.gz) = 297ece749140101f7fc159ffabda84b2e23c9616de8be0dbf83979a521033818
22 < +SIZE (mod_wsgi-2.2.tar.gz) = 96836
20 > +MD5 (mod_wsgi-2.3.tar.gz) = c686e1c498dbe5753fe491c3cf61cff4
21 > +SHA256 (mod_wsgi-2.3.tar.gz) = 760f03e4d96dd0560717b06448af95bd79e91b59d31930171775a53bb7ec2375
22 > +SIZE (mod_wsgi-2.3.tar.gz) = 96872
23   diff -Nrux .svn -x work /usr/ports/www/mod_wsgi/files/patch-mod_wsgi.c mod_wsgi/files/patch-mod_wsgi.c
24   --- /usr/ports/www/mod_wsgi/files/patch-mod_wsgi.c      2008-07-19 10:50:05.000000000 -0700
25 < +++ mod_wsgi/files/patch-mod_wsgi.c     2008-08-22 15:15:59.347259483 -0700
26 < @@ -1,20 +1,25 @@
25 > +++ mod_wsgi/files/patch-mod_wsgi.c     2008-08-23 14:27:52.434479783 -0700
26 > @@ -1,20 +1,13 @@
27   ---- mod_wsgi.c.orig    2008-06-18 16:35:40.000000000 +0200
28   -+++ mod_wsgi.c 2008-07-19 19:41:18.000000000 +0200
29   -@@ -7771,6 +7771,9 @@
30   -      * is restricted, need to truncate display name if too long.
31   -      */
32 < +--- mod_wsgi.c.orig    2008-08-21 22:31:15.000000000 -0700
33 < ++++ mod_wsgi.c 2008-08-22 15:15:46.620906832 -0700
34 < +@@ -7725,10 +7725,13 @@
35 < + {
36 < +     const char *display_name = NULL;
32 > +Index: mod_wsgi.c
33 > +===================================================================
34 > +--- mod_wsgi.c (revision 1007)
35 > ++++ mod_wsgi.c (revision 1008)
36 > +@@ -245,7 +245,7 @@
37 > + /* Version and module information. */
38    
39   -+#ifdef __FreeBSD__
40   -+    setproctitle(display_name);
41 < ++#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
41 < +#else
41 > -+#else
42   -     argv0 = (char*)wsgi_server->process->argv[0];
43 < +     int slen = 0;
44 < +     int dlen = 0;
43 > + #define MOD_WSGI_MAJORVERSION_NUMBER 2
44 > +-#define MOD_WSGI_MINORVERSION_NUMBER 2
45 > ++#define MOD_WSGI_MINORVERSION_NUMBER 3
46 > + #define MOD_WSGI_VERSION_STRING "2.3"
47    
48   -     dlen = strlen(argv0);
49   -@@ -7782,6 +7785,7 @@
50   -         memcpy(argv0, display_name, slen);
51   -     else
52   -         memcpy(argv0, display_name, dlen);
53 < +     char *argv0 = NULL;
52 < +#endif
53 > -+#endif
54   - }
55 <  
55 > -
56   - static void wsgi_setup_access(WSGIDaemonProcess *daemon)
57 < +     display_name = daemon->group->display_name;
57 < +
58 < +@@ -7748,7 +7751,7 @@
59 < +      */
60 < +
61 < + #if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
62 < +-    setproctitle(display_name);
63 < ++    setproctitle("%s", display_name);
64 < + #else
65 < +     argv0 = (char*)wsgi_server->process->argv[0];
66 < +
57 > + #if AP_SERVER_MAJORVERSION_NUMBER < 2

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines