ports/www/shiori/files/patch-internal_database_sqlite__noncgo.go
Nicola Vitale c089c154f0
www/shiori: Update to 1.7.0
- Increment the go version required by the port to build
- Add a patch to fix the following error during the build target:

internal/database/database.go:59:10: undefined: OpenSQLiteDatabase

See also: https://github.com/go-shiori/shiori/issues/947

Release changes:	https://github.com/go-shiori/shiori/releases/tag/v1.7.0
Reported by:	github-actions[bot] <notifications@github.com>
2024-08-03 10:42:26 +02:00

10 lines
306 B
Go

--- internal/database/sqlite_noncgo.go.orig 1979-11-29 23:00:00 UTC
+++ internal/database/sqlite_noncgo.go
@@ -1,5 +1,5 @@
-//go:build linux || windows || darwin
-// +build linux windows darwin
+//go:build linux || windows || darwin || freebsd
+// +build linux windows darwin freebsd
package database