guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

05/05: gnu: icedtea-7: Patch code to enable build with newer glibc.


From: guix-commits
Subject: 05/05: gnu: icedtea-7: Patch code to enable build with newer glibc.
Date: Sat, 7 Sep 2019 10:27:07 -0400 (EDT)

rekado pushed a commit to branch core-updates
in repository guix.

commit 6b7e09ae6bb78c9e2d07a259d93d9b4911234f4b
Author: Ricardo Wurmus <address@hidden>
Date:   Sat Sep 7 16:25:47 2019 +0200

    gnu: icedtea-7: Patch code to enable build with newer glibc.
    
    * gnu/packages/java.scm (icedtea-7)[arguments]: Add build phase
    "patch-bitrot".
    (icedtea-8)[arguments]: Remove phase "patch-bitrot".
---
 gnu/packages/java.scm | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 51e738d..def2c8d 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -1125,6 +1125,18 @@ bootstrapping purposes.")
                                             ((name . _) name))
                                           inputs))))
                  #t)))
+           (add-after 'unpack 'patch-bitrot
+             (lambda _
+               (substitute* '("patches/boot/revert-6973616.patch"
+                              
"openjdk.src/jdk/make/common/shared/Defs-versions.gmk")
+                 (("REQUIRED_FREETYPE_VERSION = 2.2.1")
+                  "REQUIRED_FREETYPE_VERSION = 2.10.1"))
+               ;; As of attr 2.4.48 this header is no longer
+               ;; included.  It is provided by the libc instead.
+               (substitute* '("configure"
+                              
"openjdk.src/jdk/src/solaris/native/sun/nio/fs/LinuxNativeDispatcher.c")
+                 (("attr/xattr.h") "sys/xattr.h"))
+               #t))
            (add-after 'unpack 'fix-x11-extension-include-path
              (lambda* (#:key inputs #:allow-other-keys)
                (substitute* "openjdk.src/jdk/make/sun/awt/mawt.gmk"
@@ -1604,6 +1616,7 @@ IcedTea build harness.")
                  (delete 'patch-paths)
                  (delete 'set-additional-paths)
                  (delete 'patch-patches)
+                 (delete 'patch-bitrot)
                  ;; Prevent the keytool from recording the current time when
                  ;; adding certificates at build time.
                  (add-after 'unpack 'patch-keystore



reply via email to

[Prev in Thread] Current Thread [Next in Thread]