termux-packages/packages/germanium/fix-fontdir.patch

10 lines
486 B
Diff

--- ./go/pkg/mod/github.com/matsuyoshi30/go-findfont@v0.0.0-20210813222338-a686fa15f1a5/fontdirs_unix.go 2021-12-02 16:12:51.021607672 +0530
+++ ./go/pkg/mod/github.com/matsuyoshi30/go-findfont@v0.0.0-20210813222338-a686fa15f1a5/fontdirs_unix.go.mod 2021-12-02 16:13:51.851607649 +0530
@@ -32,5 +32,5 @@
}
return paths
}
- return []string{"/usr/local/share/fonts/", "/usr/share/fonts/"}
+ return []string{"@TERMUX_PREFIX@/local/share/fonts/", "@TERMUX_PREFIX@/share/fonts/"}
}