[nodejs-mapnik-vector-tile] Include image_compositing header so node-mapnik compiles
Tom Hughes
tomh at fedoraproject.org
Sat May 24 11:15:21 UTC 2014
commit 38f25de2363d874a424544dbd7d08bfd5750d97c
Author: Tom Hughes <tom at compton.nu>
Date: Sat May 24 12:13:25 2014 +0100
Include image_compositing header so node-mapnik compiles
nodejs-mapnik-vector-tile-compositing.patch | 18 ++++++++++++++++++
nodejs-mapnik-vector-tile.spec | 8 +++++++-
2 files changed, 25 insertions(+), 1 deletions(-)
---
diff --git a/nodejs-mapnik-vector-tile-compositing.patch b/nodejs-mapnik-vector-tile-compositing.patch
new file mode 100644
index 0000000..c5ba478
--- /dev/null
+++ b/nodejs-mapnik-vector-tile-compositing.patch
@@ -0,0 +1,18 @@
+commit 265117e3ead3c6b168cf3364dbe381463c8cad84
+Author: Tom Hughes <tom at compton.nu>
+Date: Sat May 24 12:09:14 2014 +0100
+
+ Include mapnik/image_compositing.hpp for the composite function
+
+diff --git a/src/vector_tile_processor.hpp b/src/vector_tile_processor.hpp
+index 00f26cf..bb1f97e 100644
+--- a/src/vector_tile_processor.hpp
++++ b/src/vector_tile_processor.hpp
+@@ -23,6 +23,7 @@
+ #include <mapnik/warp.hpp>
+ #include <mapnik/version.hpp>
+ #include <mapnik/image_scaling.hpp>
++#include <mapnik/image_compositing.hpp>
+
+ // agg
+ #ifdef CONV_CLIPPER
diff --git a/nodejs-mapnik-vector-tile.spec b/nodejs-mapnik-vector-tile.spec
index 49c4ae6..4db0b53 100644
--- a/nodejs-mapnik-vector-tile.spec
+++ b/nodejs-mapnik-vector-tile.spec
@@ -1,11 +1,13 @@
Name: nodejs-mapnik-vector-tile
Version: 0.5.0
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Mapnik API for working with vector tiles
License: BSD
URL: https://github.com/mapbox/mapnik-vector-tile
Source0: http://registry.npmjs.org/mapnik-vector-tile/-/mapnik-vector-tile-%{version}.tgz
+# https://github.com/mapbox/mapnik-vector-tile/pull/44
+Patch0: nodejs-mapnik-vector-tile-compositing.patch
BuildArch: noarch
ExclusiveArch: %{nodejs_arches} noarch
@@ -31,6 +33,7 @@ and rendering vector tiles into images.
%prep
%setup -q -n package
+%patch0 -p1
rm -rf node_modules
@@ -54,6 +57,9 @@ make %{?_smp_mflags} test
%changelog
+* Sat May 24 2014 Tom Hughes <tom at compton.nu> - 0.5.0-3
+- Include image_compositing header so node-mapnik compiles
+
* Fri May 23 2014 Petr Machata <pmachata at redhat.com> - 0.5.0-2
- Rebuild for boost 1.55.0
More information about the scm-commits
mailing list