Gentoo Archives: gentoo-commits

From: "Hanno Boeck (hanno)" <hanno@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-geosciences/viking/files: viking-0.9.5-newgoogle.diff
Date: Wed, 30 Jul 2008 00:46:02
Message-Id: E1KNzpI-00017m-4o@stork.gentoo.org
1 hanno 08/07/30 00:46:00
2
3 Added: viking-0.9.5-newgoogle.diff
4 Log:
5 viking version bump
6 (Portage version: 2.2_rc4/cvs/Linux 2.6.26 i686)
7
8 Revision Changes Path
9 1.1 sci-geosciences/viking/files/viking-0.9.5-newgoogle.diff
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-geosciences/viking/files/viking-0.9.5-newgoogle.diff?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-geosciences/viking/files/viking-0.9.5-newgoogle.diff?rev=1.1&content-type=text/plain
13
14 Index: viking-0.9.5-newgoogle.diff
15 ===================================================================
16 From: qtonthat <qtonthat@02d69b8e-d120-0410-893f-fe71a3b6e39e>
17 Date: Tue, 22 Jul 2008 14:21:44 +0000 (+0000)
18 Subject: Google maps no longer worked due to changes by Google. Problems now fixed.
19 X-Git-Url: http://repo.or.cz/w/viking.git?a=commitdiff_plain;h=47d2edf771db3a0c040e5fb042ca87ab68cc0e10
20
21 Google maps no longer worked due to changes by Google. Problems now fixed.
22
23 Signed-off-by: Quy Tonthat <qtonthat@×××××.com>
24
25 Conflicts:
26
27 Signed-off-by: Quy Tonthat <qtonthat@×××××.com>
28
29
30 git-svn-id: https://viking.svn.sourceforge.net/svnroot/viking/trunk@733 02d69b8e-d120-0410-893f-fe71a3b6e39e
31 ---
32
33 diff --git a/ChangeLog b/ChangeLog
34 index 34164fe..119ed06 100644
35 --- a/ChangeLog
36 +++ b/ChangeLog
37 @@ -1,3 +1,8 @@
38 +2008-07-22
39 +Quy Tonthat <qtonthat@×××××.com>:
40 + * Google maps no longer worked due to changes made by Google.
41 + The Problems now fixed.
42 +
43 2008-07-21:
44 Guilhem Bonnefille <guilhem.bonnefille@×××××.com>:
45 * Release Viking 0.9.5
46 diff --git a/src/google.c b/src/google.c
47 index c56b7d9..bb5d370 100644
48 --- a/src/google.c
49 +++ b/src/google.c
50 @@ -117,8 +117,8 @@ static const gchar *google_version_number(MapCoord *mapcoord, GoogleType google_
51 gsize len;
52 gchar *gvers, *tvers, *kvers, *terrvers, *tmpvers;
53 static DownloadOptions dl_options = { "http://maps.google.com/", 0, a_check_map_file };
54 - static const char *gvers_pat = "http://mt0.google.com/mt?n\\x3d404\\x26v\\x3d";
55 - static const char *kvers_pat = "http://khm0.google.com/kh?n\\x3d404\\x26v\\x3d";
56 + static const char *gvers_pat = "http://mt0.google.com/mt?v\\x3d";
57 + static const char *kvers_pat = "http://khm0.google.com/kh?v\\x3d";
58
59 g_assert(google_type < TYPE_GOOGLE_NUM);