Subject: [PATCH] gnu: jamvm-1-bootstrap: Remove precompiled blob.

From: Andrius Štikonas <[email-masked]>
Date: Fri, 22 Nov 2019 12:26:06 +0200

* gnu/packages/java.scm (jamvm-1-bootstrap): Remove prebuilt lib/classes.zip
---
 gnu/packages/java.scm | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 65f8d6aa77..013faa2f48 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -192,7 +192,11 @@ language.")
               (patches (search-patches "jamvm-arm.patch"))
               (sha256
                (base32
-                "06lhi03l3b0h48pc7x58bk9my2nrcf1flpmglvys3wyad6yraf36"))))
+                "06lhi03l3b0h48pc7x58bk9my2nrcf1flpmglvys3wyad6yraf36"))
+              (snippet '(begin
+                          ;; Remove precompiled software.
+                          (delete-file "lib/classes.zip")
+                          #t))))
     (build-system gnu-build-system)
     (arguments
      `(#:configure-flags
@@ -205,6 +209,7 @@ language.")
      `(("classpath" ,classpath-bootstrap)
        ("jikes" ,jikes)
        ("libffi" ,libffi)
+       ("zip" ,zip)
        ("zlib" ,zlib)))
     ;; When built with a recent GCC and glibc the configure step of icedtea-6
     ;; fails with an invalid instruction error.
-- 
2.24.0