tangogps: fix bad includes

This commit is contained in:
Vladimír Čunát 2013-02-28 14:07:50 +01:00
parent 958caa7108
commit a606eab76e
1 changed files with 7 additions and 1 deletions

View File

@ -11,6 +11,12 @@ stdenv.mkDerivation rec {
buildInputs = [ pkgconfig gettext gtk gconf curl libexif sqlite libxml2 ];
# bogus includes fail with newer library version
postPatch = ''
sed -i -e 's,#include <glib/.*>,#include <glib.h>,g' src/*.c
sed -i -e 's,#include <curl/.*>,#include <curl/curl.h>,g' src/*.c src/*.h
'';
meta = {
description = "tangoGPS, a user friendly map and GPS user interface";
@ -30,7 +36,7 @@ stdenv.mkDerivation rec {
conveniently pre-cache areas with tangoGPS.
'';
homepage = http://www.tangogps.org/;
#homepage = http://www.tangogps.org/; # no longer valid, I couldn't find any other
license = "GPLv2+";
};