[osrm] 06/07: Add patch to fix pkg-config-bad-directive lintian issue, drop CXXFLAGS from the pkg-config Cflags keyword.

Bas Couwenberg sebastic at debian.org
Mon Jun 13 20:16:07 UTC 2016


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

sebastic pushed a commit to branch master
in repository osrm.

commit a7caf7ecfd5ca0cb51bdfbe8150d3d796063c837
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Mon Jun 13 21:24:12 2016 +0200

    Add patch to fix pkg-config-bad-directive lintian issue, drop CXXFLAGS from the pkg-config Cflags keyword.
---
 debian/changelog                              |  2 ++
 debian/patches/pkg-config-bad-directive.patch | 11 +++++++++++
 debian/patches/series                         |  1 +
 3 files changed, 14 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 16b15b1..fe8b4b7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,8 @@ osrm (5.2.1+ds-1) UNRELEASED; urgency=medium
   * New upstream release.
   * Drop license & copyright for fast-cpp-csv-parser, no longer included.
   * Refresh patches.
+  * Add patch to fix pkg-config-bad-directive lintian issue,
+    drop CXXFLAGS from the pkg-config Cflags keyword.
 
  -- Bas Couwenberg <sebastic at debian.org>  Mon, 13 Jun 2016 19:31:13 +0200
 
diff --git a/debian/patches/pkg-config-bad-directive.patch b/debian/patches/pkg-config-bad-directive.patch
new file mode 100644
index 0000000..157efa7
--- /dev/null
+++ b/debian/patches/pkg-config-bad-directive.patch
@@ -0,0 +1,11 @@
+Description: Drop CXXFLAGS from pkg-config file.
+Author: Bas Couwenberg <sebastic at debian.org>
+
+--- a/cmake/pkgconfig.in
++++ b/cmake/pkgconfig.in
+@@ -8,4 +8,4 @@ Version: v at OSRM_VERSION_MAJOR@. at OSRM_VER
+ Requires:
+ Libs: -L${libdir} -losrm
+ Libs.private: @ENGINE_LIBRARY_LISTING@
+-Cflags: -I${includedir} -I${includedir}/osrm @OSRM_INCLUDE_PATHS_STRING@ @OSRM_DEFINES_STRING@ @CMAKE_CXX_FLAGS@
++Cflags: -I${includedir} -I${includedir}/osrm @OSRM_INCLUDE_PATHS_STRING@ @OSRM_DEFINES_STRING@
diff --git a/debian/patches/series b/debian/patches/series
index cd2fc58..1f2462a 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 use-libosmium-package.patch
 spelling-errors.patch
 use-mapbox-variant-package.patch
+pkg-config-bad-directive.patch

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



More information about the Pkg-grass-devel mailing list