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.
This commit is contained in:
parent
aa9780daf9
commit
c8737b1e41
|
@ -1602,7 +1602,7 @@ (define-public icedtea-8
|
|||
(string-append "lib" name ".so")))))
|
||||
(for-each
|
||||
(lambda (file)
|
||||
(catch 'encoding-error
|
||||
(catch 'decoding-error
|
||||
(lambda ()
|
||||
(substitute* file
|
||||
(("VERSIONED_JNI_LIB_NAME\\(\"(.*)\", \"(.*)\"\\)"
|
||||
|
|
Loading…
Reference in a new issue