diff options
author | Maxim Koltsov <maksbotan@gentoo.org> | 2011-06-06 16:10:11 +0000 |
---|---|---|
committer | Maxim Koltsov <maksbotan@gentoo.org> | 2011-06-06 16:10:11 +0000 |
commit | 92f10a430b7d5f925df7ab08fa435474aa2d58b3 (patch) | |
tree | 607e68eaa71d86d627e9e53e683f0fde24b2d2f4 /www-servers/uwsgi | |
parent | Version bump, also skip tests requiring dev-python/dbus-python and dev-util/d... (diff) | |
download | gentoo-2-92f10a430b7d5f925df7ab08fa435474aa2d58b3.tar.gz gentoo-2-92f10a430b7d5f925df7ab08fa435474aa2d58b3.tar.bz2 gentoo-2-92f10a430b7d5f925df7ab08fa435474aa2d58b3.zip |
www-servers/uwsgi: disable -Werror (bug #370015)
(Portage version: 2.1.9.46/cvs/Linux i686)
Diffstat (limited to 'www-servers/uwsgi')
-rw-r--r-- | www-servers/uwsgi/ChangeLog | 6 | ||||
-rw-r--r-- | www-servers/uwsgi/files/uwsgi-0.9.7.2-no-werror.patch | 11 | ||||
-rw-r--r-- | www-servers/uwsgi/uwsgi-0.9.7.2.ebuild | 3 |
3 files changed, 18 insertions, 2 deletions
diff --git a/www-servers/uwsgi/ChangeLog b/www-servers/uwsgi/ChangeLog index c3e4fb6ad772..2414e84440e4 100644 --- a/www-servers/uwsgi/ChangeLog +++ b/www-servers/uwsgi/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for www-servers/uwsgi # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-servers/uwsgi/ChangeLog,v 1.6 2011/05/31 19:49:07 maksbotan Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-servers/uwsgi/ChangeLog,v 1.7 2011/06/06 16:10:11 maksbotan Exp $ + + 06 Jun 2011; Maxim Koltsov (maksbotan) <maksbotan@gentoo.org> + uwsgi-0.9.7.2.ebuild, +files/uwsgi-0.9.7.2-no-werror.patch: + Disabled '-Werror' flag on compilation (bug #370015) *uwsgi-0.9.7.2 (31 May 2011) diff --git a/www-servers/uwsgi/files/uwsgi-0.9.7.2-no-werror.patch b/www-servers/uwsgi/files/uwsgi-0.9.7.2-no-werror.patch new file mode 100644 index 000000000000..96c502e2bf1f --- /dev/null +++ b/www-servers/uwsgi/files/uwsgi-0.9.7.2-no-werror.patch @@ -0,0 +1,11 @@ +--- uwsgiconfig.pyold 2011-06-05 13:47:50.000000000 +0400 ++++ uwsgiconfig.py 2011-06-05 13:47:57.000000000 +0400 +@@ -160,7 +160,7 @@ + 'plugins', 'lock', 'cache', 'queue', 'event', 'signal', 'rpc', 'gateway', 'loop', 'lib/rbtree', 'lib/amqp', 'rb_timers', 'uwsgi'] + #if uwsgi_os == 'Linux': + # self.gcc_list.append('lib/netlink') +- self.cflags = ['-O2', '-Wall', '-Werror', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64'] + os.environ.get("CFLAGS", "").split() ++ self.cflags = ['-O2', '-Wall', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64'] + os.environ.get("CFLAGS", "").split() + try: + gcc_version = str(spcall("%s -dumpversion" % GCC)) + except: diff --git a/www-servers/uwsgi/uwsgi-0.9.7.2.ebuild b/www-servers/uwsgi/uwsgi-0.9.7.2.ebuild index 9f299d8f4728..8d6a9615c68c 100644 --- a/www-servers/uwsgi/uwsgi-0.9.7.2.ebuild +++ b/www-servers/uwsgi/uwsgi-0.9.7.2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-servers/uwsgi/uwsgi-0.9.7.2.ebuild,v 1.1 2011/05/31 19:49:07 maksbotan Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-servers/uwsgi/uwsgi-0.9.7.2.ebuild,v 1.2 2011/06/06 16:10:11 maksbotan Exp $ EAPI="3" PYTHON_DEPEND="*" @@ -25,6 +25,7 @@ APACHE2_MOD_CONF="42_mod_${PN}" want_apache2_2 src_prepare() { + epatch "${FILESDIR}"/${P}-no-werror.patch python_copy_sources } |