summaryrefslogtreecommitdiff
path: root/dev-python/pygresql/files/pygresql-5.2-CFLAGS.patch
diff options
context:
space:
mode:
authorAaron W. Swenson <titanofold@gentoo.org>2020-07-31 23:45:24 -0400
committerAaron W. Swenson <titanofold@gentoo.org>2020-07-31 23:45:28 -0400
commit32fe2e0afd4604e906226748ab41b9f3202188c3 (patch)
tree8cecaf1aa491f729482ae2023c173e3859ca4701 /dev-python/pygresql/files/pygresql-5.2-CFLAGS.patch
parent8e30a7e97478e945bf2043c9d77f4d199236e9a4 (diff)
downloadgentoo-32fe2e0afd4604e906226748ab41b9f3202188c3.tar.gz
gentoo-32fe2e0afd4604e906226748ab41b9f3202188c3.tar.bz2
gentoo-32fe2e0afd4604e906226748ab41b9f3202188c3.zip
dev-python/pygresql: Bump to 5.2
Add patch to remove excess CFLAGS. Thanks, Jeroen Roovers. Bug: https://bugs.gentoo.org/688286 Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Aaron W. Swenson <titanofold@gentoo.org>
Diffstat (limited to 'dev-python/pygresql/files/pygresql-5.2-CFLAGS.patch')
-rw-r--r--dev-python/pygresql/files/pygresql-5.2-CFLAGS.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/dev-python/pygresql/files/pygresql-5.2-CFLAGS.patch b/dev-python/pygresql/files/pygresql-5.2-CFLAGS.patch
new file mode 100644
index 000000000000..24b9da21d165
--- /dev/null
+++ b/dev-python/pygresql/files/pygresql-5.2-CFLAGS.patch
@@ -0,0 +1,11 @@
+--- a/setup.py
++++ b/setup.py
+@@ -95,7 +95,7 @@
+ library_dirs = [get_python_lib(), pg_config('libdir')]
+ define_macros = [('PYGRESQL_VERSION', version)]
+ undef_macros = []
+-extra_compile_args = ['-O2', '-funsigned-char', '-Wall', '-Wconversion']
++extra_compile_args = ['-funsigned-char', '-Wall']
+
+
+ class build_pg_ext(build_ext):