From 77f2cc5791904caf4077c526fbdaca4ad27e2374 Mon Sep 17 00:00:00 2001 From: Seth Flynn Date: Thu, 6 Mar 2025 03:00:58 -0500 Subject: apply build system patches This is a more upstreamable approach, and doesn't require any kind of weird substitution on our end. It also avoids downloading Kotlin in our antDeps and fixes cross compilation!! (only tested on aarch64) Signed-off-by: Seth Flynn --- ...build-allow-linking-against-system-libffi.patch | 38 ++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 pkgs/lwjgl/0003-build-allow-linking-against-system-libffi.patch (limited to 'pkgs/lwjgl/0003-build-allow-linking-against-system-libffi.patch') diff --git a/pkgs/lwjgl/0003-build-allow-linking-against-system-libffi.patch b/pkgs/lwjgl/0003-build-allow-linking-against-system-libffi.patch new file mode 100644 index 0000000..e212bfa --- /dev/null +++ b/pkgs/lwjgl/0003-build-allow-linking-against-system-libffi.patch @@ -0,0 +1,38 @@ +From f79338f70f72e5d4606b8d99c2f49f85b486be3e Mon Sep 17 00:00:00 2001 +From: Seth Flynn +Date: Wed, 5 Mar 2025 16:43:57 -0500 +Subject: [PATCH 3/5] build: allow linking against system libffi + +Adapted from https://cgit.freebsd.org/ports/commit/?id=680dc7bb031d0f708c2dd38f055ec8d63ee68b8a +--- + config/linux/build.xml | 6 ++++-- + 1 file changed, 4 insertions(+), 2 deletions(-) + +diff --git a/config/linux/build.xml b/config/linux/build.xml +index 11e4743ab..4500d23c0 100644 +--- a/config/linux/build.xml ++++ b/config/linux/build.xml +@@ -194,16 +194,18 @@ + + + +- ++ + + + + + +- ++ + + + ++ ++ + + + +-- +2.48.1 + -- cgit v1.2.3