summaryrefslogtreecommitdiff
path: root/pkgs/lwjgl/0002-build-allow-local-kotlin.patch
diff options
context:
space:
mode:
authorSeth Flynn <[email protected]>2025-03-06 06:50:33 -0500
committerSeth Flynn <[email protected]>2025-03-23 19:31:27 -0400
commitc3ff5407ef46dac4a53610a321e39f20a5d4864e (patch)
treeffce27b884e563dc79c40568d552590b971fbb1c /pkgs/lwjgl/0002-build-allow-local-kotlin.patch
parent8529c2d55a31291ef2eb8627e926b729422e7fbe (diff)
add lwjgl v3.3.3
Diffstat (limited to 'pkgs/lwjgl/0002-build-allow-local-kotlin.patch')
-rw-r--r--pkgs/lwjgl/0002-build-allow-local-kotlin.patch50
1 files changed, 0 insertions, 50 deletions
diff --git a/pkgs/lwjgl/0002-build-allow-local-kotlin.patch b/pkgs/lwjgl/0002-build-allow-local-kotlin.patch
deleted file mode 100644
index 7b7a4a2..0000000
--- a/pkgs/lwjgl/0002-build-allow-local-kotlin.patch
+++ /dev/null
@@ -1,50 +0,0 @@
-From 05573f96ed4b73591679bdf2c17a83f57acfd171 Mon Sep 17 00:00:00 2001
-From: Seth Flynn <[email protected]>
-Date: Wed, 5 Mar 2025 16:34:50 -0500
-Subject: [PATCH 2/5] build: allow local kotlin
-
-Adapted from https://cgit.freebsd.org/ports/commit/?id=680dc7bb031d0f708c2dd38f055ec8d63ee68b8a
----
- config/build-definitions.xml | 3 ++-
- update-dependencies.xml | 4 ++--
- 2 files changed, 4 insertions(+), 3 deletions(-)
-
-diff --git a/config/build-definitions.xml b/config/build-definitions.xml
-index 407195ff7..4026a057c 100644
---- a/config/build-definitions.xml
-+++ b/config/build-definitions.xml
-@@ -121,7 +121,8 @@ This script is included in /build.xml and /config/update-dependencies.xml.
-
- <property name="lib" location="bin/libs" relative="true"/>
-
-- <property name="kotlinc" location="${lib}/kotlinc" relative="true"/>
-+ <property name="kotlinc" location="${lib}/kotlinc" relative="true" unless:set="local.kotlin" />
-+ <property name="kotlinc" location="${local.kotlin}" relative="false" if:set="local.kotlin"/>
-
- <property name="module.lwjgl" location="modules/lwjgl" relative="true"/>
-
-diff --git a/update-dependencies.xml b/update-dependencies.xml
-index 98fd77b19..39501492a 100644
---- a/update-dependencies.xml
-+++ b/update-dependencies.xml
-@@ -27,7 +27,7 @@
- <target name="check-dependencies" description="Updates LWJGL dependencies, if required" unless="${build.offline}">
- <!-- Checks if the Kotlin compiler must be updated -->
- <local name="kotlinc-build-current"/>
-- <loadfile property="kotlinc-build-current" srcfile="${kotlinc}/build.txt" quiet="true" taskname="kotlinc"/>
-+ <loadfile property="kotlinc-build-current" srcfile="${kotlinc}/build.txt" quiet="true" taskname="kotlinc" unless:set="local.kotlin" />
- <condition property="kotlinc-uptodate">
- <and>
- <isset property="kotlinc-build-current"/>
-@@ -54,7 +54,7 @@
- <mkdir dir="${lib}"/>
- <mkdir dir="${lib}/java"/>
- <antcall target="-lib-download"/>
-- <antcall target="-kotlinc-download"/>
-+ <antcall target="-kotlinc-download" unless:set="local.kotlin" />
- </target>
-
- <!-- Downloads and extracts the Kotlin compiler. -->
---
-2.48.1
-