pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

s-nail: fixed compiling on macOS



Module Name:	pkgsrc-wip
Committed By:	Kevin Bloom <ktnb%NetBSD.org@localhost>
Pushed By:	nuclearkev
Date:		Fri May 1 10:25:20 2026 -0400
Changeset:	f0e089ed9ede94be726689709b10cf766aa918cd

Modified Files:
	s-nail/distinfo
Added Files:
	s-nail/patches/patch-src_mx_file-streams.c

Log Message:
s-nail: fixed compiling on macOS

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=f0e089ed9ede94be726689709b10cf766aa918cd

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 s-nail/distinfo                            |  2 +-
 s-nail/patches/patch-src_mx_file-streams.c | 13 +++++++++++++
 2 files changed, 14 insertions(+), 1 deletion(-)

diffs:
diff --git a/s-nail/distinfo b/s-nail/distinfo
index 0246db9548..1cfb612fcb 100644
--- a/s-nail/distinfo
+++ b/s-nail/distinfo
@@ -3,5 +3,5 @@ $NetBSD: distinfo,v 1.5 2024/06/28 13:01:31 ktnb Exp $
 BLAKE2s (s-nail-v14.10.0-alpha.tar.xz) = 595f9388322d50249354a955acf7d6b751a71ec2078d91f8d785f1650baa35f9
 SHA512 (s-nail-v14.10.0-alpha.tar.xz) = 6a274b6a1b1709fa39a3420a4a0a62ba64ea0c1bab01b9825e1009c01122722605d7a69c19aff2593e83ab7513adad2441e5c120b71b518ffaccb657729cbcd0
 Size (s-nail-v14.10.0-alpha.tar.xz) = 1045516 bytes
-SHA1 (patch-mk_make-install.sh) = be64d86b1403a8d6bd22e19454466b0e7e086898
+SHA1 (patch-src_mx_file-streams.c) = bf896d36d1913ffc37c040f4a0f7473ea73efe7a
 SHA1 (patch-src_mx_iconv.c) = 6c484ac54eb97096aa2719ea4af94f90ff4eed3f
diff --git a/s-nail/patches/patch-src_mx_file-streams.c b/s-nail/patches/patch-src_mx_file-streams.c
new file mode 100644
index 0000000000..b9020487c6
--- /dev/null
+++ b/s-nail/patches/patch-src_mx_file-streams.c
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- src/mx/file-streams.c.orig	2026-05-01 14:13:28.869490321 +0000
++++ src/mx/file-streams.c
+@@ -1020,7 +1020,7 @@ mx_fs_pipe_cloxy(sz fd[2], BITENUM(u8,mx_fs_cloxy) wha
+ 
+ #if !defined mx_HAVE_PIPE2
+ 	if((what != mx_FS_CLOXY_NONE) && (!mx_fs_fd_cloxy_ensure(fd[0], what, mx_FS_CLOXY_NONE) ||
+-			!mx_fs_cloxy_ensure(fd[1], what, mx_FS_CLOXY_NONE)))
++			!mx_fs_fd_cloxy_ensure(fd[1], what, mx_FS_CLOXY_NONE)))
+ 		goto jerr;
+ #endif
+ 


Home | Main Index | Thread Index | Old Index