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

sebastic pushed a commit to branch experimental
in repository gdal-grass.

commit d78ab968717cc1ff658ab37910d147fdafe4967b
Author: Bas Couwenberg <sebas...@xs4all.nl>
Date:   Fri Feb 20 00:28:04 2015 +0100

    Add path to add include directory for libpq.h required for GRASS with 
PostgreSQL support.
---
 debian/changelog      |  2 ++
 debian/patches/libpq  | 14 ++++++++++++++
 debian/patches/series |  1 +
 3 files changed, 17 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 4bc3806..075a0b8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,8 @@ libgdal-grass (1.11.2-1) UNRELEASED; urgency=medium
   * Update Vcs-Browser URL to use cgit instead of gitweb.
   * Update copyright file, group files & copyright by license.
   * Add patch to support GRASS 7.0.0RC2.
+  * Add path to add include directory for libpq.h required for GRASS with
+    PostgreSQL support.
 
  -- Bas Couwenberg <sebas...@debian.org>  Wed, 18 Feb 2015 00:02:26 +0100
 
diff --git a/debian/patches/libpq b/debian/patches/libpq
new file mode 100644
index 0000000..411c7ed
--- /dev/null
+++ b/debian/patches/libpq
@@ -0,0 +1,14 @@
+Description: Add include for libpq.h.
+Author: Bas Couwenberg <sebas...@xs4all.nl>
+
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -4,7 +4,7 @@ CXX    =       @CXX@
+ LD    =       @CXX@
+ 
+ CPPFLAGS = -DUSE_CPL -DGRASS_GISBASE=\"@GRASS_GISBASE@\" \
+-        @GDAL_INC@ @GRASS_INCLUDE@ @CPPFLAGS@
++        @GDAL_INC@ @GRASS_INCLUDE@ -I/usr/include/postgresql @CPPFLAGS@
+ CXXFLAGS = @CXX_WFLAGS@ @CXX_PIC@ 
+ CFLAGS   = @CFLAGS@
+ LDFLAGS  = @LDFLAGS@
diff --git a/debian/patches/series b/debian/patches/series
index baf66a7..2e4bf28 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@ rpath
 hardening
 environment-typo
 grass7
+libpq

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-grass/gdal-grass.git

_______________________________________________
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel

Reply via email to