Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 688286
Collapse All | Expand All

(-)a/dev-python/pygresql/files/pygresql-5.1-CFLAGS.patch (+11 lines)
Line 0 Link Here
1
--- a/setup.py
2
+++ b/setup.py
3
@@ -101,7 +101,7 @@
4
 library_dirs = [get_python_lib(), pg_config('libdir')]
5
 define_macros = [('PYGRESQL_VERSION', version)]
6
 undef_macros = []
7
-extra_compile_args = ['-O2', '-funsigned-char', '-Wall', '-Werror']
8
+extra_compile_args = ['-funsigned-char', '-Wall']
9
 
10
 
11
 class build_pg_ext(build_ext):
(-)a/dev-python/pygresql/pygresql-5.1.ebuild (-5 / +3 lines)
Lines 22-32 DEPEND="${POSTGRES_DEP}" Link Here
22
RDEPEND="${DEPEND}"
22
RDEPEND="${DEPEND}"
23
23
24
S="${WORKDIR}/${MY_P}"
24
S="${WORKDIR}/${MY_P}"
25
25
PATCHES=(
26
src_prepare() {
26
	"${FILESDIR}"/${PN}-5.1-CFLAGS.patch
27
	sed "s/, '-Wall'//" -i setup.py || die
27
)
28
	default
29
}
30
28
31
python_install_all() {
29
python_install_all() {
32
	local DOCS=( docs/*.rst docs/community/* docs/contents/tutorial.rst )
30
	local DOCS=( docs/*.rst docs/community/* docs/contents/tutorial.rst )

Return to bug 688286