git: 7757b22df635 - main - databases/usql: update 0.19.3 → 0.19.4
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 23 Oct 2024 09:45:03 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=7757b22df63507e2860118d1084b80d014f6e047
commit 7757b22df63507e2860118d1084b80d014f6e047
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-10-23 09:35:18 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-10-23 09:44:44 +0000
databases/usql: update 0.19.3 → 0.19.4
Reported by: portscout
---
databases/usql/Makefile | 5 +++--
databases/usql/distinfo | 10 +++++-----
databases/usql/files/patch-vendor_github.com_xo_resvg_resvg.go | 10 ++++++++++
3 files changed, 18 insertions(+), 7 deletions(-)
diff --git a/databases/usql/Makefile b/databases/usql/Makefile
index d1e17c18beff..162d998a2c2b 100644
--- a/databases/usql/Makefile
+++ b/databases/usql/Makefile
@@ -1,7 +1,6 @@
PORTNAME= usql
DISTVERSIONPREFIX= v
-DISTVERSION= 0.19.3
-PORTREVISION= 3
+DISTVERSION= 0.19.4
CATEGORIES= databases
MAINTAINER= yuri@FreeBSD.org
@@ -11,6 +10,8 @@ WWW= https://github.com/xo/usql/
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
+LIB_DEPENDS= libresvg.so:graphics/resvg-capi
+
USES= go:1.22,modules
GO_MODULE= github.com/xo/usql
diff --git a/databases/usql/distinfo b/databases/usql/distinfo
index 1f2cf66154b7..61dbdb86785e 100644
--- a/databases/usql/distinfo
+++ b/databases/usql/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1718113864
-SHA256 (go/databases_usql/usql-v0.19.3/v0.19.3.mod) = a8ce93486b78f4d36c38283e819b0264fd37079455e4cc61779348ea5cec0519
-SIZE (go/databases_usql/usql-v0.19.3/v0.19.3.mod) = 17470
-SHA256 (go/databases_usql/usql-v0.19.3/v0.19.3.zip) = cb8cda2fd36fabf1df6277a37540e99aa0ebdab56f909ef2b0487be67dd25806
-SIZE (go/databases_usql/usql-v0.19.3/v0.19.3.zip) = 407306
+TIMESTAMP = 1729659412
+SHA256 (go/databases_usql/usql-v0.19.4/v0.19.4.mod) = 0ceb96b4bced8bbcab27a71c807a2b63d66f6fc40cf3ae99533b3b8960e9dcd2
+SIZE (go/databases_usql/usql-v0.19.4/v0.19.4.mod) = 17360
+SHA256 (go/databases_usql/usql-v0.19.4/v0.19.4.zip) = 161708d24af352cbc6597c3d0ad5763bdf5339d749fd7f91dfcd827e465cd4be
+SIZE (go/databases_usql/usql-v0.19.4/v0.19.4.zip) = 442188
diff --git a/databases/usql/files/patch-vendor_github.com_xo_resvg_resvg.go b/databases/usql/files/patch-vendor_github.com_xo_resvg_resvg.go
new file mode 100644
index 000000000000..fa8889ec1c41
--- /dev/null
+++ b/databases/usql/files/patch-vendor_github.com_xo_resvg_resvg.go
@@ -0,0 +1,10 @@
+--- vendor/github.com/xo/resvg/resvg.go.orig 2024-10-23 09:08:34 UTC
++++ vendor/github.com/xo/resvg/resvg.go
+@@ -10,6 +10,7 @@ package resvg
+ #cgo linux,amd64 LDFLAGS: -L${SRCDIR}/libresvg/linux_amd64 -lresvg -lm
+ #cgo linux,arm64 LDFLAGS: -L${SRCDIR}/libresvg/linux_arm64 -lresvg -lm
+ #cgo linux,arm LDFLAGS: -L${SRCDIR}/libresvg/linux_arm -lresvg -lm
++#cgo freebsd,amd64 LDFLAGS: -L${SRCDIR}/libresvg/freebsd_amd64 -lresvg -lm
+ #cgo windows,amd64 LDFLAGS: -L${SRCDIR}/libresvg/windows_amd64 -lresvg -lm -lkernel32 -ladvapi32 -lbcrypt -lntdll -luserenv -lws2_32
+
+ #include <stdlib.h>