aboutsummaryrefslogtreecommitdiffstats
path: root/misc/ollama/files/patch-ml_path.go
diff options
context:
space:
mode:
authorLexi Winter <ivy@FreeBSD.org>2025-12-01 03:19:41 +0000
committerLexi Winter <ivy@FreeBSD.org>2025-12-01 03:19:41 +0000
commit2e80774d0b20d167bc0a9e2b63dafbfb171c0d22 (patch)
tree25f0138e1af8902b92dacc8cce09b267447c17db /misc/ollama/files/patch-ml_path.go
parentf85f2b2d6e5b7ed869376eb4b180c3a74a5c5da9 (diff)
parent1a30da80670973368b399f2b01fe9c04b91a1273 (diff)
Merge remote-tracking branch 'freebsd/main' into lf/mainlf/main
Diffstat (limited to 'misc/ollama/files/patch-ml_path.go')
-rw-r--r--misc/ollama/files/patch-ml_path.go11
1 files changed, 11 insertions, 0 deletions
diff --git a/misc/ollama/files/patch-ml_path.go b/misc/ollama/files/patch-ml_path.go
new file mode 100644
index 000000000000..c9a0ef4dfb8f
--- /dev/null
+++ b/misc/ollama/files/patch-ml_path.go
@@ -0,0 +1,11 @@
+--- ml/path.go.orig 2025-11-29 01:38:34.298472000 -0800
++++ ml/path.go 2025-11-29 01:39:10.084873000 -0800
+@@ -27,7 +27,7 @@
+ switch runtime.GOOS {
+ case "windows":
+ libPath = filepath.Join(filepath.Dir(exe), "lib", "ollama")
+- case "linux":
++ case "linux", "freebsd":
+ libPath = filepath.Join(filepath.Dir(exe), "..", "lib", "ollama")
+ case "darwin":
+ libPath = filepath.Dir(exe)