From c9c1085bc1b96a3a46d3d2e8e6d4b1276cb5922a Mon Sep 17 00:00:00 2001 From: Thomas Devoogdt Date: Wed, 4 Feb 2026 06:48:59 +0000 Subject: [PATCH] Backport 1069ccebcc32e02055985e2babfa2986a2e295ca --- doc/building.html | 5 +++-- doc/building.md | 6 ++---- make/modules/java.desktop/lib/Awt2dLibraries.gmk | 16 ++++++++++++++-- .../unix/native/common/awt/utility/rect.h | 4 ++-- 4 files changed, 21 insertions(+), 10 deletions(-) --- a/doc/building.html +++ b/doc/building.html @@ -603,8 +603,9 @@

ALSA

  • If alsa is not properly detected by configure, you can point it out by --with-alsa.
  • X11

    -

    You will need X11 libraries suitable for your target system. For most cases, using Debian's pre-built libraries work fine.

    -

    Note that X11 is needed even if you only want to build a headless JDK.

    +

    When not building a headless JDK, you will need X11 libraries +suitable for your target system. In most cases, using Debian's +pre-built libraries work fine.