aboutsummaryrefslogtreecommitdiffstats
path: root/www/inks/patches/patch-util_go
diff options
context:
space:
mode:
authorla-ninpre <aaoth@aaoth.xyz>2023-04-27 01:02:53 +0300
committerla-ninpre <aaoth@aaoth.xyz>2023-04-27 01:02:53 +0300
commita8921593398f8b600e09b82a69a2c4a077785510 (patch)
tree7ffd099758732d7532a37ba45e0f0fb15d33110e /www/inks/patches/patch-util_go
parent6cdfb9b9ab548157f190e620b8da6e86afe2f95b (diff)
downloadports-a8921593398f8b600e09b82a69a2c4a077785510.tar.gz
ports-a8921593398f8b600e09b82a69a2c4a077785510.zip
www/inks: add 0.9.2pre20230325
this is not a real version, but since there were no releases for some time, i packaged the latest tip of mercurial repository and put it on my webserver.
Diffstat (limited to 'www/inks/patches/patch-util_go')
-rw-r--r--www/inks/patches/patch-util_go12
1 files changed, 12 insertions, 0 deletions
diff --git a/www/inks/patches/patch-util_go b/www/inks/patches/patch-util_go
new file mode 100644
index 0000000..b3cd374
--- /dev/null
+++ b/www/inks/patches/patch-util_go
@@ -0,0 +1,12 @@
+Index: util.go
+--- util.go.orig
++++ util.go
+@@ -74,7 +74,7 @@ var dbname = "inks.db"
+ var stmtConfig *sql.Stmt
+
+ func initdb() {
+- schema, err := ioutil.ReadFile("schema.sql")
++ schema, err := ioutil.ReadFile("${TRUEPREFIX}/share/${PKGSTEM}/schema.sql")
+ if err != nil {
+ log.Fatal(err)
+ }