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 --- ...ild-use-pkg-config-for-linux-dependencies.patch | 81 ++++++++++++++++++++++ 1 file changed, 81 insertions(+) create mode 100644 pkgs/lwjgl/0001-build-use-pkg-config-for-linux-dependencies.patch (limited to 'pkgs/lwjgl/0001-build-use-pkg-config-for-linux-dependencies.patch') diff --git a/pkgs/lwjgl/0001-build-use-pkg-config-for-linux-dependencies.patch b/pkgs/lwjgl/0001-build-use-pkg-config-for-linux-dependencies.patch new file mode 100644 index 0000000..38c3878 --- /dev/null +++ b/pkgs/lwjgl/0001-build-use-pkg-config-for-linux-dependencies.patch @@ -0,0 +1,81 @@ +From cee6a98721d8417802fcd394df0215312be9a7ea Mon Sep 17 00:00:00 2001 +From: Seth Flynn +Date: Wed, 5 Mar 2025 16:20:59 -0500 +Subject: [PATCH 1/5] build: use pkg-config for linux dependencies + +Adapted from https://cgit.freebsd.org/ports/commit/?id=680dc7bb031d0f708c2dd38f055ec8d63ee68b8a +--- + config/linux/build.xml | 37 ++++++++++++++++++++++--------------- + 1 file changed, 22 insertions(+), 15 deletions(-) + +diff --git a/config/linux/build.xml b/config/linux/build.xml +index a1798b6aa..11e4743ab 100644 +--- a/config/linux/build.xml ++++ b/config/linux/build.xml +@@ -281,16 +281,17 @@ + + + ++ ++ ++ ++ ++ ++ ++ ++ ++ + +- +- +- +- +- +- +- +- +- ++ + + + +@@ -299,16 +300,22 @@ + + + +- +- +- +- ++ + + + + ++ ++ ++ ++ ++ ++ ++ ++ ++ + +- ++ + + + +@@ -317,7 +324,7 @@ + + + +- ++ + + + +-- +2.48.1 + -- cgit v1.2.3