Update josm

Julien LepillerSat May 06 10:11:59+0200 2017

59ef154

Update josm

more/packages/java.scm

3434
(define-public josm
3535
  (package
3636
    (name "josm")
37-
    (version "c86ae64ca82a5bb9dd1972c7023797eb9a2577f5")
37+
    (version "d977155fb5b1f54ab76140345633356475f7beee")
3838
    (source (origin
3939
              (method git-fetch)
4040
              (uri (git-reference

4242
                    (commit version)))
4343
              (sha256
4444
               (base32
45-
                "07z2q4csq9gdpg4lp1zpvcl5z5sqn0fnqah94ya3sirm6bh4k74j"))
45+
                "17ih97kf6g6ly8gz6dbc3jzh22gamra4anbwcsxivhq7dw5z3a6n"))
4646
              (file-name (string-append name "-" version))))
4747
    (build-system ant-build-system)
4848
    (arguments

5353
       (modify-phases %standard-phases
5454
         (add-before 'build 'fix-compiler
5555
           (lambda* _
56+
             (with-output-to-file "REVISION.XML"
57+
               (lambda _
58+
                 (display
59+
                   (string-append "<info><entry><commit revision=\"11885\">"
60+
                                  "<date>1970-01-01 00:00:00 +0000</date>"
61+
                                  "</commit></entry></info>"))))
5662
             (substitute* "build.xml"
57-
               (("UNKNOWN") "11639")
63+
               (("UNKNOWN") "11885")
64+
               (("<touch.*epsg.output.*") "<mkdir dir="${epsg.output}/.." /><touch file="${epsg.output}"/>\n")
5865
               ((".*com.google.errorprone.ErrorProneAntCompilerAdapter.*") "")
5966
               (("compiler=\"[^\"]*\" ") ""))))
6067
         (replace 'install