pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/nspr
Module Name: pkgsrc
Committed By: jperkin
Date: Tue May 19 08:48:15 UTC 2026
Modified Files:
pkgsrc/devel/nspr: distinfo
Added Files:
pkgsrc/devel/nspr/patches: patch-nspr_pr_src_pthreads_ptio.c
Log Message:
nspr: Fix for modern C.
To generate a diff of this commit:
cvs rdiff -u -r1.76 -r1.77 pkgsrc/devel/nspr/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/devel/nspr/patches/patch-nspr_pr_src_pthreads_ptio.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/nspr/distinfo
diff -u pkgsrc/devel/nspr/distinfo:1.76 pkgsrc/devel/nspr/distinfo:1.77
--- pkgsrc/devel/nspr/distinfo:1.76 Tue May 5 14:00:36 2026
+++ pkgsrc/devel/nspr/distinfo Tue May 19 08:48:15 2026
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.76 2026/05/05 14:00:36 wiz Exp $
+$NetBSD: distinfo,v 1.77 2026/05/19 08:48:15 jperkin Exp $
BLAKE2s (nspr-4.39.tar.gz) = 8a12f678b99c6ccac44194b4ce50a0537dbcf276fc9a15dd0410080e5451ace4
SHA512 (nspr-4.39.tar.gz) = 201627666814552e3c98f66a0bdb18194670dcbdbc8cf3241079d918891d46aef1b10e9339beb84802d1de4189993340febab27344e97f8de21ceb1f43c77bda
@@ -7,5 +7,6 @@ SHA1 (patch-ab) = 008f5b84994ad20e3b1a0d
SHA1 (patch-ac) = 6562282cc3d846a114f53ca53b9287fa64d69052
SHA1 (patch-ba) = 5fe843946d301405e6a4550d14553cf8506ad269
SHA1 (patch-nspr_pr_include_md___netbsd.cfg) = a3aba89d02cd61f748862ebb3b76050873ccdd69
+SHA1 (patch-nspr_pr_src_pthreads_ptio.c) = 06f920cea9e28e279af48d083177ed767d41cadf
SHA1 (patch-nspr_pr_src_pthreads_ptsynch.c) = 2aaa26d4b99978557523a4ead45e944684d1611a
SHA1 (patch-nspr_pr_src_pthreads_ptthread.c) = 9a0cdd10ed1aad54a0bfb1d575fa47113b1a521b
Added files:
Index: pkgsrc/devel/nspr/patches/patch-nspr_pr_src_pthreads_ptio.c
diff -u /dev/null pkgsrc/devel/nspr/patches/patch-nspr_pr_src_pthreads_ptio.c:1.1
--- /dev/null Tue May 19 08:48:15 2026
+++ pkgsrc/devel/nspr/patches/patch-nspr_pr_src_pthreads_ptio.c Tue May 19 08:48:15 2026
@@ -0,0 +1,24 @@
+$NetBSD: patch-nspr_pr_src_pthreads_ptio.c,v 1.1 2026/05/19 08:48:15 jperkin Exp $
+
+Fix for modern C.
+
+--- nspr/pr/src/pthreads/ptio.c.orig 2026-05-19 08:43:03.954529380 +0000
++++ nspr/pr/src/pthreads/ptio.c
+@@ -72,7 +72,7 @@ typedef struct sendfilevec {
+ /*
+ * extern ssize_t sendfilev(int, const struct sendfilevec *, int, size_t *);
+ */
+-static ssize_t (*pt_solaris_sendfilev_fptr)() = NULL;
++static ssize_t (*pt_solaris_sendfilev_fptr)(int, const struct sendfilevec *, int, size_t *) = NULL;
+
+ # define SOLARIS_SENDFILEV(a, b, c, d) \
+ (*pt_solaris_sendfilev_fptr)((a), (b), (c), (d))
+@@ -2368,7 +2368,7 @@ static void pt_solaris_sendfilev_init_ro
+ PR_LOG(_pr_io_lm, PR_LOG_DEBUG, ("dlopen(0) returns %p", handle));
+ close_it = PR_TRUE;
+ }
+- pt_solaris_sendfilev_fptr = (ssize_t(*)())dlsym(handle, "sendfilev");
++ pt_solaris_sendfilev_fptr = (ssize_t(*)(int, const struct sendfilevec *, int, size_t *))dlsym(handle, "sendfilev");
+ PR_LOG(_pr_io_lm, PR_LOG_DEBUG,
+ ("dlsym(sendfilev) returns %p", pt_solaris_sendfilev_fptr));
+
Home |
Main Index |
Thread Index |
Old Index