pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
gokrazy-rsync: add patches to fix build issues on FreeBSD (and hopefully NetBSD too).
Module Name: pkgsrc-wip
Committed By: Sean Hickey <tallirishllama%gmail.com@localhost>
Pushed By: wisellama
Date: Wed Sep 30 22:46:53 2026 -0700
Changeset: 4096f563a802c290b3cd9994acb07a0002f77f26
Modified Files:
gokrazy-rsync/distinfo
Added Files:
gokrazy-rsync/patches/patch-internal_receiver_generatorsymlink.go
gokrazy-rsync/patches/patch-internal_rsynctest_rsynctest__unix.go
Log Message:
gokrazy-rsync: add patches to fix build issues on FreeBSD (and hopefully NetBSD too).
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=4096f563a802c290b3cd9994acb07a0002f77f26
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
gokrazy-rsync/distinfo | 2 ++
.../patches/patch-internal_receiver_generatorsymlink.go | 12 ++++++++++++
.../patches/patch-internal_rsynctest_rsynctest__unix.go | 15 +++++++++++++++
3 files changed, 29 insertions(+)
diffs:
diff --git a/gokrazy-rsync/distinfo b/gokrazy-rsync/distinfo
index 81160b7735..84052419db 100644
--- a/gokrazy-rsync/distinfo
+++ b/gokrazy-rsync/distinfo
@@ -69,3 +69,5 @@ Size (kernel.org_pub_linux_libs_security_libcap_psx_@v_v1.2.70.mod) = 62 bytes
BLAKE2s (kernel.org_pub_linux_libs_security_libcap_psx_@v_v1.2.70.zip) = 9075858c03e166370efc1592b92089d3ed2d4d26a73a2cdca48f0e031077c480
SHA512 (kernel.org_pub_linux_libs_security_libcap_psx_@v_v1.2.70.zip) = 46bc4529ffc0c6f976317fb20aacaee144013d644e84d286ff557499dca5c78aa49059fb369f3f22961ec111561a869cd9c10dbd1f7351c5e1de793a748b49fa
Size (kernel.org_pub_linux_libs_security_libcap_psx_@v_v1.2.70.zip) = 23445 bytes
+SHA1 (patch-internal_receiver_generatorsymlink.go) = f13f4d13004285964cbaee3ec33bb74bb8967294
+SHA1 (patch-internal_rsynctest_rsynctest__unix.go) = b2aaa529e2fd8983e00e7ae9b45b5854b3d2de20
diff --git a/gokrazy-rsync/patches/patch-internal_receiver_generatorsymlink.go b/gokrazy-rsync/patches/patch-internal_receiver_generatorsymlink.go
new file mode 100644
index 0000000000..81628e33ea
--- /dev/null
+++ b/gokrazy-rsync/patches/patch-internal_receiver_generatorsymlink.go
@@ -0,0 +1,12 @@
+$NetBSD$
+
+Allow building for other unixes, not just linux and darwin.
+
+--- internal/receiver/generatorsymlink.go.orig 2026-10-01 05:54:39.671760930 +0000
++++ internal/receiver/generatorsymlink.go
+@@ -1,4 +1,4 @@
+-//go:build linux || darwin
++//go:build !windows
+
+ package receiver
+
diff --git a/gokrazy-rsync/patches/patch-internal_rsynctest_rsynctest__unix.go b/gokrazy-rsync/patches/patch-internal_rsynctest_rsynctest__unix.go
new file mode 100644
index 0000000000..0281edff0a
--- /dev/null
+++ b/gokrazy-rsync/patches/patch-internal_rsynctest_rsynctest__unix.go
@@ -0,0 +1,15 @@
+$NetBSD$
+
+Ignore FreeBSD for this file. All other unixes and BSDs seem to
+have their Mknod function expect an int for one of the arguments,
+but FreeBSD is the odd one out that expects a uint64. I think this
+file is just used for tests, so just telling the build to ignore freebsd.
+
+--- internal/rsynctest/rsynctest_unix.go.orig 2026-10-01 05:55:00.176030999 +0000
++++ internal/rsynctest/rsynctest_unix.go
+@@ -1,4 +1,4 @@
+-//go:build !windows
++//go:build !windows && !freebsd
+
+ package rsynctest
+
Home |
Main Index |
Thread Index |
Old Index