diff options
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-psycopg2/quick-fix.patch')
| -rw-r--r-- | meta-openstack/recipes-devtools/python/python-psycopg2/quick-fix.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-psycopg2/quick-fix.patch b/meta-openstack/recipes-devtools/python/python-psycopg2/quick-fix.patch new file mode 100644 index 0000000..0fa6e5e --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python-psycopg2/quick-fix.patch | |||
| @@ -0,0 +1,17 @@ | |||
| 1 | Index: psycopg2-2.5/setup.py | ||
| 2 | =================================================================== | ||
| 3 | --- psycopg2-2.5.orig/setup.py | ||
| 4 | +++ psycopg2-2.5/setup.py | ||
| 5 | @@ -377,9 +377,9 @@ class psycopg_build_ext(build_ext): | ||
| 6 | self.libraries.append("pq") | ||
| 7 | |||
| 8 | try: | ||
| 9 | - self.library_dirs.append(pg_config_helper.query("libdir")) | ||
| 10 | - self.include_dirs.append(pg_config_helper.query("includedir")) | ||
| 11 | - self.include_dirs.append(pg_config_helper.query("includedir-server")) | ||
| 12 | + #self.library_dirs.append(pg_config_helper.query("libdir")) | ||
| 13 | + #self.include_dirs.append(pg_config_helper.query("includedir")) | ||
| 14 | + #self.include_dirs.append(pg_config_helper.query("includedir-server")) | ||
| 15 | try: | ||
| 16 | # Here we take a conservative approach: we suppose that | ||
| 17 | # *at least* PostgreSQL 7.4 is available (this is the only | ||
