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 <[EMAIL PROTECTED]> Tue, 08 Jan 2008 23:17:23 +0000 + -- Andreas Putzo <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> +## +## DP: Use basename() for way.txt. Don't rely on a '/' in gpsdriverc + [EMAIL PROTECTED]@ +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 + * _______________________________________________ Pkg-grass-devel mailing list Pkg-grass-devel@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-grass-devel