aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-navigation/geos/files/geos-config-Add-includedir-variable.patch
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2013-12-27 03:15:12 -0200
committerMartin Jansa <Martin.Jansa@gmail.com>2014-01-04 11:57:24 +0100
commit7f6e28a281e973dbe4f5883d9158eb626df97fa1 (patch)
tree1d32707c9f3886a5d3f0b78d34de9e9fc22c2921 /meta-oe/recipes-navigation/geos/files/geos-config-Add-includedir-variable.patch
parentfd850c35dab2ad1649673760c48fa205f3ffdb6c (diff)
downloadmeta-openembedded-7f6e28a281e973dbe4f5883d9158eb626df97fa1.tar.gz
geos: Update to 3.4.2 and rework the packaging
* This updates to the 3.4.2 release and rework the packaging splitting the C bindings in another binary package to reduce footprint in rootfs; this also moves geos-config to the development package as it should. * Fix -dev installation and upgrade path Using 'lib_package' renames the binaries and we need a transitional package to be used as upgrade path. This is done using an empty 'geos' package which installs the new ones as runtime dependency. This same package is used to satisfy -dev dependency of geos package allowing for its inclusion into SDK. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-navigation/geos/files/geos-config-Add-includedir-variable.patch')
-rw-r--r--meta-oe/recipes-navigation/geos/files/geos-config-Add-includedir-variable.patch39
1 files changed, 39 insertions, 0 deletions
diff --git a/meta-oe/recipes-navigation/geos/files/geos-config-Add-includedir-variable.patch b/meta-oe/recipes-navigation/geos/files/geos-config-Add-includedir-variable.patch
new file mode 100644
index 0000000000..645e6f62a5
--- /dev/null
+++ b/meta-oe/recipes-navigation/geos/files/geos-config-Add-includedir-variable.patch
@@ -0,0 +1,39 @@
+From 9d51027c228dafd7db2d0cffca1f0fc695e950fd Mon Sep 17 00:00:00 2001
+From: Otavio Salvador <otavio@ossystems.com.br>
+Date: Mon, 2 Dec 2013 11:33:26 -0200
+Subject: [PATCH] geos-config: Add includedir variable
+
+This fixes cross-compile as it is easier to mangle the includedir
+during sysroot generation.
+
+Upstream-Status: Pending
+
+Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
+---
+ tools/geos-config.in | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/tools/geos-config.in b/tools/geos-config.in
+index 9b45b5f..1749892 100644
+--- a/tools/geos-config.in
++++ b/tools/geos-config.in
+@@ -1,6 +1,7 @@
+ #!/bin/sh
+ prefix=@prefix@
+ exec_prefix=@exec_prefix@
++includedir=@includedir@
+ libdir=@libdir@
+
+ usage()
+@@ -38,7 +39,7 @@ case $1 in
+ echo @VERSION@
+ ;;
+ --cflags)
+- echo -I${prefix}/include
++ echo -I${includedir}
+ ;;
+ --libs)
+ # TODO: make an alias for --clibs
+--
+1.7.10.4
+