# HG changeset patch # User John Beck # Date 1432845441 25200 # Node ID e05387dee068dd2857bb442b04dccbabc895625d # Parent 4e27e549b58dac6b87803da7227ee039c8b0424b 21158157 mod_wsgi sed hackery breaks at Python version 2.7.10 diff -r 4e27e549b58d -r e05387dee068 components/apache2-modules/mod_wsgi/patches/rename.patch --- a/components/apache2-modules/mod_wsgi/patches/rename.patch Fri Jul 24 09:56:22 2015 -0700 +++ b/components/apache2-modules/mod_wsgi/patches/rename.patch Thu May 28 13:37:21 2015 -0700 @@ -9,7 +9,7 @@ LDFLAGS = @LDFLAGS@ LDLIBS = @LDLIBS@ -+PYTHON_VERSION:=$(shell $(PYTHON) -V 2>&1 | sed -e 's/Python //' -e 's/..$$//') ++PYTHON_VERSION:=$(shell $(PYTHON) -V 2>&1 | sed -e 's/Python //' | cut -f1,2 -d'.') + SRCFILES = src/server/mod_wsgi.c src/server/wsgi_*.c