[DebianGIS-dev] r1340 - in packages/gpsdrive/trunk/debian: . patches
nd-guest at alioth.debian.org
nd-guest at alioth.debian.org
Mon Jan 14 23:23:43 UTC 2008
Author: nd-guest
Date: 2008-01-14 23:23:42 +0000 (Mon, 14 Jan 2008)
New Revision: 1340
Added:
packages/gpsdrive/trunk/debian/patches/85-settings.dpatch
Modified:
packages/gpsdrive/trunk/debian/changelog
packages/gpsdrive/trunk/debian/patches/00list
Log:
Add 85-settings.dpatch to fix config parsing bug.
Modified: packages/gpsdrive/trunk/debian/changelog
===================================================================
--- packages/gpsdrive/trunk/debian/changelog 2008-01-14 08:42:03 UTC (rev 1339)
+++ packages/gpsdrive/trunk/debian/changelog 2008-01-14 23:23:42 UTC (rev 1340)
@@ -13,10 +13,13 @@
- Changed AUTHORS.
- Minor cosmetic changes.
* Updated 70-perl.dpatch, correcting module path of Geo::Gpsdrive::Filter.
- Thanks to Michael Eric Menk.
+ Thanks to Michael Eric Menk.
(Closes: #458273)
+ * Add settings.dpatch using basename() to determine patch of way.txt in
+ gpsdriverc.
+ (Closes: #459213)
- -- Andreas Putzo <andreas at putzo.net> Tue, 08 Jan 2008 23:17:23 +0000
+ -- Andreas Putzo <andreas at putzo.net> Mon, 14 Jan 2008 23:20:24 +0000
gpsdrive (2.10~pre4-1) unstable; urgency=low
Modified: packages/gpsdrive/trunk/debian/patches/00list
===================================================================
--- packages/gpsdrive/trunk/debian/patches/00list 2008-01-14 08:42:03 UTC (rev 1339)
+++ packages/gpsdrive/trunk/debian/patches/00list 2008-01-14 23:23:42 UTC (rev 1340)
@@ -8,4 +8,5 @@
60-sql
70-perl
80-dbus
+85-settings
90-usage
Added: packages/gpsdrive/trunk/debian/patches/85-settings.dpatch
===================================================================
--- packages/gpsdrive/trunk/debian/patches/85-settings.dpatch (rev 0)
+++ packages/gpsdrive/trunk/debian/patches/85-settings.dpatch 2008-01-14 23:23:42 UTC (rev 1340)
@@ -0,0 +1,26 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 85-settings.dpatch by Andreas Putzo <andreas at putzo.net>
+##
+## DP: Use basename() for way.txt. Don't rely on a '/' in gpsdriverc
+
+ at DPATCH@
+diff -urNad gpsdrive-2.10~pre4~/src/settings.c gpsdrive-2.10~pre4/src/settings.c
+--- gpsdrive-2.10~pre4~/src/settings.c 2007-09-15 15:12:03.000000000 +0000
++++ gpsdrive-2.10~pre4/src/settings.c 2008-01-14 23:18:38.000000000 +0000
+@@ -32,6 +32,7 @@
+ #include <stdio.h>
+ #include <signal.h>
+ #include <unistd.h>
++#include <dirent.h>
+ #include <sys/mman.h>
+ #include <math.h>
+ #include "poi.h"
+@@ -1763,7 +1764,7 @@
+ /* waypoints quick select */
+ {
+ g_strlcpy (path, local_config.dir_home, sizeof (path));
+- current_wpfile = g_strrstr (local_config.wp_file, "/") + 1;
++ current_wpfile = basename (local_config.wp_file);
+ names = g_new (namesstruct, 102);
+ d = opendir (path);
+ if (NULL != d)
Property changes on: packages/gpsdrive/trunk/debian/patches/85-settings.dpatch
___________________________________________________________________
Name: svn:executable
+ *
More information about the Pkg-grass-devel
mailing list