summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiziano Müller <dev-zero@gentoo.org>2011-01-07 14:22:20 +0000
committerTiziano Müller <dev-zero@gentoo.org>2011-01-07 14:22:20 +0000
commit2f4c0aea2f75ce68f283fbe812e4f1b5d3d07f18 (patch)
tree4efb8fe34e79f765e29235d2f856fd1374dfa3a7 /www-servers/uwsgi/files
parentMask version bump for uwsgi for testing of the gcc compilation and since I ad... (diff)
downloadgentoo-2-2f4c0aea2f75ce68f283fbe812e4f1b5d3d07f18.tar.gz
gentoo-2-2f4c0aea2f75ce68f283fbe812e4f1b5d3d07f18.tar.bz2
gentoo-2-2f4c0aea2f75ce68f283fbe812e4f1b5d3d07f18.zip
Version bump (bug #346941).
(Portage version: 2.1.9.26/cvs/Linux x86_64)
Diffstat (limited to 'www-servers/uwsgi/files')
-rw-r--r--www-servers/uwsgi/files/42_mod_uwsgi.conf7
-rw-r--r--www-servers/uwsgi/files/uwsgi-0.9.6.6-gentoo-gcc.patch13
2 files changed, 20 insertions, 0 deletions
diff --git a/www-servers/uwsgi/files/42_mod_uwsgi.conf b/www-servers/uwsgi/files/42_mod_uwsgi.conf
new file mode 100644
index 000000000000..236bf564cdd4
--- /dev/null
+++ b/www-servers/uwsgi/files/42_mod_uwsgi.conf
@@ -0,0 +1,7 @@
+<IfDefine UWSGI>
+ LoadModule uwsgi_module modules/mod_uwsgi.so
+</IfDefine>
+<IfDefine RUWSGI>
+ LoadModule Ruwsgi_module modules/mod_Ruwsgi.so
+</IfDefine>
+
diff --git a/www-servers/uwsgi/files/uwsgi-0.9.6.6-gentoo-gcc.patch b/www-servers/uwsgi/files/uwsgi-0.9.6.6-gentoo-gcc.patch
new file mode 100644
index 000000000000..ae196b1f67e9
--- /dev/null
+++ b/www-servers/uwsgi/files/uwsgi-0.9.6.6-gentoo-gcc.patch
@@ -0,0 +1,13 @@
+diff --git a/uwsgiconfig.py b/uwsgiconfig.py
+index c06882c..2efc46c 100644
+--- a/uwsgiconfig.py
++++ b/uwsgiconfig.py
+@@ -84,7 +84,7 @@ def spcall2(cmd):
+ else:
+ return None
+
+-gcc_version = str(spcall2("%s -v" % GCC)).split('\n')[-1].split()[2]
++gcc_version = str(spcall2("%s -v" % GCC)).split('\n')[-1].split()[4]
+
+ gcc_major = int(gcc_version.split('.')[0])
+ gcc_minor = int(gcc_version.split('.')[1])