diff options
| author | Martin Jansa <Martin.Jansa@gmail.com> | 2011-07-21 17:39:44 +0200 |
|---|---|---|
| committer | Martin Jansa <Martin.Jansa@gmail.com> | 2011-07-21 21:10:46 +0200 |
| commit | 324de1646ac31c8a9f01c0004db85350b517224e (patch) | |
| tree | 57bd9c5a8441e271f368b21af214048357a2dc00 /meta-oe/recipes-navigation/foxtrotgps | |
| parent | 017cb732d873c1c10eba5cd7d116522198f4b69b (diff) | |
| download | meta-openembedded-324de1646ac31c8a9f01c0004db85350b517224e.tar.gz | |
foxtrotgps: fix build with curl-7.21.8 and newer
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-navigation/foxtrotgps')
| -rw-r--r-- | meta-oe/recipes-navigation/foxtrotgps/foxtrotgps-1.0.1/remove.unused.header.patch | 40 | ||||
| -rw-r--r-- | meta-oe/recipes-navigation/foxtrotgps/foxtrotgps_1.0.1.bb | 6 |
2 files changed, 44 insertions, 2 deletions
diff --git a/meta-oe/recipes-navigation/foxtrotgps/foxtrotgps-1.0.1/remove.unused.header.patch b/meta-oe/recipes-navigation/foxtrotgps/foxtrotgps-1.0.1/remove.unused.header.patch new file mode 100644 index 0000000000..d80d321ca6 --- /dev/null +++ b/meta-oe/recipes-navigation/foxtrotgps/foxtrotgps-1.0.1/remove.unused.header.patch | |||
| @@ -0,0 +1,40 @@ | |||
| 1 | curl/types.h was removed in | ||
| 2 | https://github.com/bagder/curl/commit/2ef7a28a71f819343afefa721e5497119fb2cee0#include/curl | ||
| 3 | and is not available in curl-7.21.8 and newer | ||
| 4 | |||
| 5 | === modified file 'foxtrotgps-1.0.1/src/friends.c' | ||
| 6 | --- foxtrotgps-1.0.1.orig/src/friends.c 2011-05-01 20:51:37 +0000 | ||
| 7 | +++ foxtrotgps-1.0.1/src/friends.c 2011-07-21 15:34:03 +0000 | ||
| 8 | @@ -17,7 +17,6 @@ | ||
| 9 | #include <gtk/gtk.h> | ||
| 10 | |||
| 11 | #include <curl/curl.h> | ||
| 12 | -#include <curl/types.h> | ||
| 13 | #include <curl/easy.h> | ||
| 14 | |||
| 15 | |||
| 16 | |||
| 17 | === modified file 'foxtrotgps-1.0.1/src/tile_management.c' | ||
| 18 | --- foxtrotgps-1.0.1.orig/src/tile_management.c 2011-06-02 11:25:49 +0000 | ||
| 19 | +++ foxtrotgps-1.0.1/src/tile_management.c 2011-07-21 15:34:06 +0000 | ||
| 20 | @@ -8,7 +8,6 @@ | ||
| 21 | #include <glib/gprintf.h> | ||
| 22 | #include <string.h> | ||
| 23 | #include <curl/curl.h> | ||
| 24 | -#include <curl/types.h> | ||
| 25 | #include <curl/easy.h> | ||
| 26 | #include <math.h> | ||
| 27 | #include "globals.h" | ||
| 28 | |||
| 29 | === modified file 'foxtrotgps-1.0.1/src/util.h' | ||
| 30 | --- foxtrotgps-1.0.1.orig/src/util.h 2010-04-13 02:20:30 +0000 | ||
| 31 | +++ foxtrotgps-1.0.1/src/util.h 2011-07-21 15:34:05 +0000 | ||
| 32 | @@ -2,7 +2,6 @@ | ||
| 33 | #include <gtk/gtk.h> | ||
| 34 | |||
| 35 | #include <curl/curl.h> | ||
| 36 | -#include <curl/types.h> | ||
| 37 | #include <curl/easy.h> | ||
| 38 | int | ||
| 39 | sql_execute(char *db_name, char *sql, int (*cb_func)(void*,int,char**,char**)); | ||
| 40 | |||
diff --git a/meta-oe/recipes-navigation/foxtrotgps/foxtrotgps_1.0.1.bb b/meta-oe/recipes-navigation/foxtrotgps/foxtrotgps_1.0.1.bb index c517f08c47..2a8293e222 100644 --- a/meta-oe/recipes-navigation/foxtrotgps/foxtrotgps_1.0.1.bb +++ b/meta-oe/recipes-navigation/foxtrotgps/foxtrotgps_1.0.1.bb | |||
| @@ -5,11 +5,13 @@ SECTION = "x11/applications" | |||
| 5 | LICENSE = "GPLv2" | 5 | LICENSE = "GPLv2" |
| 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552" | 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552" |
| 7 | DEPENDS = "curl gtk+ gconf libglade sqlite3 libexif gpsd" | 7 | DEPENDS = "curl gtk+ gconf libglade sqlite3 libexif gpsd" |
| 8 | PR = "r1" | ||
| 8 | 9 | ||
| 9 | SRC_URI = "http://www.foxtrotgps.org/releases/${P}.tar.gz" | 10 | SRC_URI = "http://www.foxtrotgps.org/releases/${P}.tar.gz \ |
| 11 | file://remove.unused.header.patch" | ||
| 10 | SRC_URI[md5sum] = "982d14cdb0439cc4d6aa6cefc232124d" | 12 | SRC_URI[md5sum] = "982d14cdb0439cc4d6aa6cefc232124d" |
| 11 | SRC_URI[sha256sum] = "059158fd8e61137e2e6d6e01685add7fb85cce8483faa99efb01187f2ba50841" | 13 | SRC_URI[sha256sum] = "059158fd8e61137e2e6d6e01685add7fb85cce8483faa99efb01187f2ba50841" |
| 12 | 14 | ||
| 13 | inherit autotools pkgconfig | 15 | inherit autotools pkgconfig perlnative |
| 14 | 16 | ||
| 15 | RRECOMMENDS_${PN} = "gpsd" | 17 | RRECOMMENDS_${PN} = "gpsd" |
