[DebianGIS-dev] r675 - packages/gpx2shp/debian/patches

Francesco Lovergine frankie at alioth.debian.org
Wed Mar 28 21:31:24 CET 2007


Author: frankie
Date: 2007-03-28 20:31:24 +0000 (Wed, 28 Mar 2007)
New Revision: 675

Added:
   packages/gpx2shp/debian/patches/20_version_0.69.dpatch
Modified:
   packages/gpx2shp/debian/patches/00list
Log:
Really added 20_version_0.69.dpatch


Modified: packages/gpx2shp/debian/patches/00list
===================================================================
--- packages/gpx2shp/debian/patches/00list	2007-03-28 19:06:23 UTC (rev 674)
+++ packages/gpx2shp/debian/patches/00list	2007-03-28 20:31:24 UTC (rev 675)
@@ -1 +1,2 @@
 10_check_clean
+20_version_0.69

Added: packages/gpx2shp/debian/patches/20_version_0.69.dpatch
===================================================================
--- packages/gpx2shp/debian/patches/20_version_0.69.dpatch	2007-03-28 19:06:23 UTC (rev 674)
+++ packages/gpx2shp/debian/patches/20_version_0.69.dpatch	2007-03-28 20:31:24 UTC (rev 675)
@@ -0,0 +1,33 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 20_version_0.69.dpatch by Francesco Paolo Lovergine <frankie at debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+ at DPATCH@
+diff -urNad gpx2shp-0.69~/src/gpx2shp.h gpx2shp-0.69/src/gpx2shp.h
+--- gpx2shp-0.69~/src/gpx2shp.h	2007-03-28 20:50:54.000000000 +0200
++++ gpx2shp-0.69/src/gpx2shp.h	2007-03-28 20:53:24.000000000 +0200
+@@ -1,7 +1,9 @@
+ #ifndef GPX2SHP_H_INCLUDED
+ #define GPX2SHP_H_INCLUDED
+ 
+-#define PROG gpx2shp
++#define PROG "gpx2shp"
++#define PROG_VERSION "0.69"
++
+ #define FILENAMELENGTH 255	/* 255 is max length for dbf string column */
+ #define COMMENTLENGTH 255	/* 255 is max length for dbf string column */
+ #define NAMELENGTH 32
+diff -urNad gpx2shp-0.69~/src/main.c gpx2shp-0.69/src/main.c
+--- gpx2shp-0.69~/src/main.c	2005-02-06 15:38:38.000000000 +0100
++++ gpx2shp-0.69/src/main.c	2007-03-28 20:53:04.000000000 +0200
+@@ -11,7 +11,7 @@
+  */
+ void version(void)
+ {
+-    fprintf(stdout, "gpx2shp 0.68\n");
++    fprintf(stdout, "%s %s\n",PROG,PROG_VERSION);
+     fprintf(stdout, "\n");
+     fprintf(stdout, "by Toshihiro Hiraoka\n");
+     fprintf(stdout, "   Petter Reinholdtsen\n");


Property changes on: packages/gpx2shp/debian/patches/20_version_0.69.dpatch
___________________________________________________________________
Name: svn:executable
   + *




More information about the Pkg-grass-devel mailing list