pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/ruby-posix-spawn



Module Name:    pkgsrc
Committed By:   taca
Date:           Wed Feb 11 15:27:30 UTC 2026

Modified Files:
        pkgsrc/devel/ruby-posix-spawn: distinfo
Added Files:
        pkgsrc/devel/ruby-posix-spawn/patches: patch-ext_posix-spawn.c

Log Message:
devel/ruby-posix-spawn: trying to fix build problem on SunOS

Use correct argument for internal function to stop warning of
incompatible-pointer-types.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 pkgsrc/devel/ruby-posix-spawn/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/devel/ruby-posix-spawn/patches/patch-ext_posix-spawn.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/ruby-posix-spawn/distinfo
diff -u pkgsrc/devel/ruby-posix-spawn/distinfo:1.11 pkgsrc/devel/ruby-posix-spawn/distinfo:1.12
--- pkgsrc/devel/ruby-posix-spawn/distinfo:1.11 Tue Oct 26 10:19:41 2021
+++ pkgsrc/devel/ruby-posix-spawn/distinfo      Wed Feb 11 15:27:29 2026
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.11 2021/10/26 10:19:41 nia Exp $
+$NetBSD: distinfo,v 1.12 2026/02/11 15:27:29 taca Exp $
 
 BLAKE2s (posix-spawn-0.3.15.gem) = 4b4e6db4573ad255905d2cbd9ef7783f940c5c97b9cec59434e706a8402b8f78
 SHA512 (posix-spawn-0.3.15.gem) = bdfecdbb0d470d23643de1c5b40c4f4b8b7f8970c14a2d3bd7c15e59d388b24857fb740c5c87573cbb6ac83483a29bf87f856a949a1fc014be8ad09e5cb2a9e7
 Size (posix-spawn-0.3.15.gem) = 29696 bytes
+SHA1 (patch-ext_posix-spawn.c) = b8036491a82b226026fd4b91379766399456f367

Added files:

Index: pkgsrc/devel/ruby-posix-spawn/patches/patch-ext_posix-spawn.c
diff -u /dev/null pkgsrc/devel/ruby-posix-spawn/patches/patch-ext_posix-spawn.c:1.1
--- /dev/null   Wed Feb 11 15:27:30 2026
+++ pkgsrc/devel/ruby-posix-spawn/patches/patch-ext_posix-spawn.c       Wed Feb 11 15:27:30 2026
@@ -0,0 +1,18 @@
+$NetBSD: patch-ext_posix-spawn.c,v 1.1 2026/02/11 15:27:30 taca Exp $
+
+Correct argument for rb_hash_each().
+
+--- ext/posix-spawn.c.orig     2026-02-11 15:12:40.054932406 +0000
++++ ext/posix-spawn.c
+@@ -196,9 +196,10 @@ posixspawn_file_actions_addopen(VALUE ke
+  * if not.
+  */
+ static int
+-posixspawn_file_actions_operations_iter(VALUE key, VALUE val, posix_spawn_file_actions_t *fops)
++posixspawn_file_actions_operations_iter(VALUE key, VALUE val, VALUE arg)
+ {
+       int act;
++      posix_spawn_file_actions_t *fops = (posix_spawn_file_actions_t *)arg;
+ 
+       act = posixspawn_file_actions_addclose(key, val, fops);
+       if (act != ST_CONTINUE) return act;



Home | Main Index | Thread Index | Old Index