[DRE-commits] [ruby-dataobjects-postgres] 04/05: [patch] change the name of the postgresql header to postgres_ext.h

Cédric Boutillier boutil at moszumanska.debian.org
Fri Apr 18 12:52:08 UTC 2014


This is an automated email from the git hooks/post-receive script.

boutil pushed a commit to annotated tag debian/0.10.14-1
in repository ruby-dataobjects-postgres.

commit de6ce09bcb76866c862008487291210a727b404a
Author: Cédric Boutillier <boutil at debian.org>
Date:   Thu Apr 10 19:40:37 2014 +0200

    [patch] change the name of the postgresql header to postgres_ext.h
---
 debian/patches/0300_postgres_ext_h.patch | 16 ++++++++++++++++
 debian/patches/series                    |  1 +
 2 files changed, 17 insertions(+)

diff --git a/debian/patches/0300_postgres_ext_h.patch b/debian/patches/0300_postgres_ext_h.patch
new file mode 100644
index 0000000..69442af
--- /dev/null
+++ b/debian/patches/0300_postgres_ext_h.patch
@@ -0,0 +1,16 @@
+Description: change the name of the postgres header
+ It is now called postgres_ext.h in PostgreSQL 9.3.
+Author: Cédric Boutillier <boutil at debian.org>
+Bug-Debian: http://bugs.debian.org/743981
+Last-Update: 2014-04-10
+
+--- a/ext/do_postgres/extconf.rb
++++ b/ext/do_postgres/extconf.rb
+@@ -17,7 +17,7 @@
+ def have_build_env
+   (have_library('pq') || have_library('libpq')) &&
+   have_header('libpq-fe.h') && have_header('libpq/libpq-fs.h') &&
+-  have_header('postgres.h') && have_header('mb/pg_wchar.h') &&
++  have_header('postgres_ext.h') && have_header('mb/pg_wchar.h') &&
+   have_header('catalog/pg_type.h')
+ end
diff --git a/debian/patches/series b/debian/patches/series
index 0f82358..98a35b6 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 0100_remove_rubygems_from_specs.patch
 0200_remove_LOAD_PATH_manipulation_from_specs.patch
+0300_postgres_ext_h.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-dataobjects-postgres.git



More information about the Pkg-ruby-extras-commits mailing list