unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
blob 214ef9949c145308404159d9bc11465292c75b2e 559 bytes (raw)
name: gnu/packages/patches/java-openjfx-build-get_guix_jdk_version.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
 
--- a/build.gradle
+++ b/build.gradle
@@ -742,9 +742,9 @@
     if (inStream.readLine() != null) {
         String v = inStream.readLine();
         if (v != null) {
-            int ib = v.indexOf(" (build ");
+            int ib = v.indexOf(" (guix build ");
             if (ib != -1) {
-                String ver = v.substring(ib + 8, v.size() - 1);
+                String ver = v.substring(ib + 13, v.size() - 1);
 
                 defineProperty("jdkRuntimeVersion", ver)
                 defineProperty("jdkVersion", jdkRuntimeVersion.split("-")[0])

debug log:

solving 214ef9949c ...
found 214ef9949c in https://yhetil.org/guix-patches/20200222201755.50425-1-levenson@mmer.org/

applying [1/1] https://yhetil.org/guix-patches/20200222201755.50425-1-levenson@mmer.org/
diff --git a/gnu/packages/patches/java-openjfx-build-get_guix_jdk_version.patch b/gnu/packages/patches/java-openjfx-build-get_guix_jdk_version.patch
new file mode 100644
index 0000000000..214ef9949c

1:18: trailing whitespace.
 
Checking patch gnu/packages/patches/java-openjfx-build-get_guix_jdk_version.patch...
Applied patch gnu/packages/patches/java-openjfx-build-get_guix_jdk_version.patch cleanly.
warning: 1 line adds whitespace errors.

index at:
100644 214ef9949c145308404159d9bc11465292c75b2e	gnu/packages/patches/java-openjfx-build-get_guix_jdk_version.patch

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).