diff -Nrux .svn -x work /usr/ports/www/mod_wsgi/Makefile mod_wsgi/Makefile --- /usr/ports/www/mod_wsgi/Makefile 2008-07-16 16:23:54.000000000 -0700 +++ mod_wsgi/Makefile 2008-08-22 16:05:40.374980883 -0700 @@ -6,7 +6,7 @@ # PORTNAME= mod_wsgi -PORTVERSION= 2.1 +PORTVERSION= 2.2 CATEGORIES= www python MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} diff -Nrux .svn -x work /usr/ports/www/mod_wsgi/distinfo mod_wsgi/distinfo --- /usr/ports/www/mod_wsgi/distinfo 2008-07-16 16:23:54.000000000 -0700 +++ mod_wsgi/distinfo 2008-08-22 14:26:12.755749948 -0700 @@ -1,3 +1,3 @@ -MD5 (mod_wsgi-2.1.tar.gz) = 4e0e8b5a13e0be2fc5b038f1e3e826a2 -SHA256 (mod_wsgi-2.1.tar.gz) = 7f1c28f1fbc585de2a15770c990e45b46d184245183775dd31e3a63bd30fc3a0 -SIZE (mod_wsgi-2.1.tar.gz) = 96635 +MD5 (mod_wsgi-2.2.tar.gz) = bff5bcf38cceb53c70e6bb4bad5f71d8 +SHA256 (mod_wsgi-2.2.tar.gz) = 297ece749140101f7fc159ffabda84b2e23c9616de8be0dbf83979a521033818 +SIZE (mod_wsgi-2.2.tar.gz) = 96836 diff -Nrux .svn -x work /usr/ports/www/mod_wsgi/files/patch-mod_wsgi.c mod_wsgi/files/patch-mod_wsgi.c --- /usr/ports/www/mod_wsgi/files/patch-mod_wsgi.c 2008-07-19 10:50:05.000000000 -0700 +++ mod_wsgi/files/patch-mod_wsgi.c 2008-08-22 15:15:59.347259483 -0700 @@ -1,20 +1,25 @@ ---- mod_wsgi.c.orig 2008-06-18 16:35:40.000000000 +0200 -+++ mod_wsgi.c 2008-07-19 19:41:18.000000000 +0200 -@@ -7771,6 +7771,9 @@ - * is restricted, need to truncate display name if too long. - */ +--- mod_wsgi.c.orig 2008-08-21 22:31:15.000000000 -0700 ++++ mod_wsgi.c 2008-08-22 15:15:46.620906832 -0700 +@@ -7725,10 +7725,13 @@ + { + const char *display_name = NULL; -+#ifdef __FreeBSD__ -+ setproctitle(display_name); ++#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) +#else - argv0 = (char*)wsgi_server->process->argv[0]; + int slen = 0; + int dlen = 0; - dlen = strlen(argv0); -@@ -7782,6 +7785,7 @@ - memcpy(argv0, display_name, slen); - else - memcpy(argv0, display_name, dlen); + char *argv0 = NULL; +#endif - } - static void wsgi_setup_access(WSGIDaemonProcess *daemon) + display_name = daemon->group->display_name; + +@@ -7748,7 +7751,7 @@ + */ + + #if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) +- setproctitle(display_name); ++ setproctitle("%s", display_name); + #else + argv0 = (char*)wsgi_server->process->argv[0]; +