~ruther/guix-local

c8737b1e41f7ef5c730fb0b47c5b478ab58b2341 — Ludovic Courtès 8 years ago aa9780d
gnu: icedtea@3.5.0: Properly handle decoding error while substituting.

* gnu/packages/java.scm (icedtea-8)[arguments] <patch-jni-libs>: Change
'encoding-error to 'decoding-error, which is what Guile 2.2 raises when
failing to decode an input file.
1 files changed, 1 insertions(+), 1 deletions(-)

M gnu/packages/java.scm
M gnu/packages/java.scm => gnu/packages/java.scm +1 -1
@@ 1602,7 1602,7 @@ IcedTea build harness.")
                                         (string-append "lib" name ".so")))))
                   (for-each
                    (lambda (file)
                      (catch 'encoding-error
                      (catch 'decoding-error
                        (lambda ()
                          (substitute* file
                            (("VERSIONED_JNI_LIB_NAME\\(\"(.*)\", \"(.*)\"\\)"