Sorry, I have no tool to generate a patch file which contains new files. You have to apply the contours_v4.patch with the patch command (patch < contours_v4.patch) and copy the Java files by hand (HGTDEM.java to src/uk/me/parabola/mkgmap/reader/dem and GeoTiffDEM.java to src/uk/me/parabola/mkgmap/reader/dem/optional).

Not having much joy trying to do anything with the patch.

Heres' the steps I've take (n00b altert). Any guidance welcome.

1 - svn checkout of 1080
2 - Save the patch content of the e-mail to contours_v4.patch
3 - Apply the patch output below.

gateway:/home/g-dev/svn # patch < contours_v4.patch can't find file to patch at input line 5
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
--------------------------
|Index: src/uk/me/parabola/mkgmap/reader/dem/DEM.java
|===================================================================
|--- src/uk/me/parabola/mkgmap/reader/dem/DEM.java      (revision 1080)
|+++ src/uk/me/parabola/mkgmap/reader/dem/DEM.java      (working copy)
--------------------------
File to patch:

_______________________________________________
mkgmap-dev mailing list
[email protected]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Reply via email to