From 044b0ec94da88fe6ecac313808459844fcb7163c Mon Sep 17 00:00:00 2001 From: olus2000 Date: Sun, 29 Oct 2023 08:04:22 +0100 Subject: factor-lang: 0.98 -> 0.99 changelog: https://re.factorcode.org/2023/08/factor-0-99-now-available.html --- .../compilers/factor-lang/workdir-0.99-pre.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 pkgs/development/compilers/factor-lang/workdir-0.99-pre.patch (limited to 'pkgs/development/compilers/factor-lang/workdir-0.99-pre.patch') diff --git a/pkgs/development/compilers/factor-lang/workdir-0.99-pre.patch b/pkgs/development/compilers/factor-lang/workdir-0.99-pre.patch new file mode 100644 index 00000000000..f1e7a592062 --- /dev/null +++ b/pkgs/development/compilers/factor-lang/workdir-0.99-pre.patch @@ -0,0 +1,13 @@ +diff --git a/core/io/pathnames/pathnames.factor b/core/io/pathnames/pathnames.factor +index a172fe4..40858bc 100644 +--- a/core/io/pathnames/pathnames.factor ++++ b/core/io/pathnames/pathnames.factor +@@ -166,6 +166,8 @@ GENERIC: absolute-path ( path -- path' ) + + M: string absolute-path + { ++ { [ "resource:work" ?head ] ++ [ trim-head-separators "/var/lib/factor" prepend-path absolute-path ] } + { [ "resource:" ?head ] [ trim-head-separators resource-path absolute-path ] } + { [ "vocab:" ?head ] [ trim-head-separators vocab-path absolute-path ] } + { [ "~" ?head ] [ trim-head-separators home prepend-path absolute-path ] } -- cgit 1.4.1