applied the patch and did a svn diff again. apply with patch -p 1 < patch_clean added the additional files as individual files. below the original post from Christian where to put them. Can compile but have not tested the functionality yet.

> 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).
> according to an earlier post from


Attachment: GeoTiffDEM.java
Description: Binary data

Attachment: HGTDEM.java
Description: Binary data

Attachment: patch_clean
Description: Binary data




On 9 Jul 2009, at 11:23 , Stuart Poulton wrote:

Arg....

Still no luck. Does someone have patched files that include the latest contour functionality ?

Cheers

Stuart

On 9 Jul 2009, at 17:14, Apollinaris Schoell wrote:

had the same problem, adding a space solved it. the lines without -/ + need to be exactly as in the original file.



On 8 Jul 2009, at 14:08 , Stuart Poulton wrote:

Some research brought up the answer: It is a problem with slashes and backslashes and can be solved by calling patch with -p0.

Ok, no luck here

gateway:/home/g-dev/svn/trunk # patch -p0 < ../contours_v4.patch
patching file src/uk/me/parabola/mkgmap/reader/dem/DEM.java
patch: **** malformed patch at line 6: package uk.me.parabola.mkgmap.reader.dem;

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

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

Reply via email to