[Bug 300566] java/openjdk25: set wxneeded elf flag

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 07 Nov 2026 03:04:16 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=300566

            Bug ID: 300566
           Summary: java/openjdk25: set wxneeded elf flag
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: java@FreeBSD.org
          Reporter: mondo.debater_0q@icloud.com
             Flags: maintainer-feedback?(java@FreeBSD.org)
          Assignee: java@FreeBSD.org

Created attachment 277057
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=277057&action=edit
patch-openjdk25_wxneeded

In an update to the port, the fix in Bug 296945 was reverted, causing the build
to fail on systems with kern.elf64_allow_wx=0 set. This patch fixes by setting
wxneeded on the bootstrap binaries during build.

Builds clean on 15-STABLE in poudriere.

-- 
You are receiving this mail because:
You are the assignee for the bug.