Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Nov 2024 22:02:57 GMT
From:      Ronald Klop <ronald@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 9f218b263a6a - main - java/openjdk11: fix build on non-armv7
Message-ID:  <202411102202.4AAM2v6P006006@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by ronald:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9f218b263a6a5e9f38fba8f580cab867506f35cf

commit 9f218b263a6a5e9f38fba8f580cab867506f35cf
Author:     Ronald Klop <ronald@FreeBSD.org>
AuthorDate: 2024-11-10 21:59:37 +0000
Commit:     Ronald Klop <ronald@FreeBSD.org>
CommitDate: 2024-11-10 22:02:43 +0000

    java/openjdk11: fix build on non-armv7
    
    A change to one of the patches was not correct for other
    architectures.
    
    PR:     255662
    Approved by:    broken build
---
 .../files/patch-src_jdk.hotspot.agent_bsd_native_libsaproc_libproc.h  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/java/openjdk11/files/patch-src_jdk.hotspot.agent_bsd_native_libsaproc_libproc.h b/java/openjdk11/files/patch-src_jdk.hotspot.agent_bsd_native_libsaproc_libproc.h
index f0abb17c22c9..d05cdfd57db2 100644
--- a/java/openjdk11/files/patch-src_jdk.hotspot.agent_bsd_native_libsaproc_libproc.h
+++ b/java/openjdk11/files/patch-src_jdk.hotspot.agent_bsd_native_libsaproc_libproc.h
@@ -15,11 +15,11 @@ In file included from /usr/ports/java/openjdk11/work/jdk11u-jdk-11.0.24-8-1/src/
  
  // This C bool type must be int for compatibility with BSD calls and
  // it would be a mistake to equivalence it to C++ bool on many platforms
-+#if defined(__FreeBSD__) && defined(__arm__) && !defined(__bool_true_false_are_defined)
++#if defined(__FreeBSD__) && !defined(__bool_true_false_are_defined)
  typedef int bool;
  #define true  1
  #define false 0
-+#endif  // __FreeBSD__ && __arm__ && !__bool_true_false_are_defined
++#endif  // __FreeBSD__ && !__bool_true_false_are_defined
  
  #endif // __APPLE__
  



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202411102202.4AAM2v6P006006>