pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/scmcvs



Module Name:    pkgsrc
Committed By:   nros
Date:           Fri Nov 20 19:46:23 UTC 2026

Modified Files:
        pkgsrc/devel/scmcvs: distinfo
Added Files:
        pkgsrc/devel/scmcvs/patches: patch-lib_sunos57-select.c

Log Message:
scmcvs: Fix build on newer Illumos
On Illumos FD_ZERO expands to memset... but sys/select.h where
FD_ZERO is defined does not include string.h where memset is declared.
So include string.h to fix build on Illumos, include sys/select.h
that has FD_* on illumos just in case its implicit inclusion change.


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 pkgsrc/devel/scmcvs/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/scmcvs/patches/patch-lib_sunos57-select.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/scmcvs/distinfo
diff -u pkgsrc/devel/scmcvs/distinfo:1.28 pkgsrc/devel/scmcvs/distinfo:1.29
--- pkgsrc/devel/scmcvs/distinfo:1.28   Tue Apr 29 09:10:51 2025
+++ pkgsrc/devel/scmcvs/distinfo        Fri Nov 20 19:46:23 2026
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.28 2025/04/29 09:10:51 tnn Exp $
+$NetBSD: distinfo,v 1.29 2026/11/20 19:46:23 nros Exp $
 
 BLAKE2s (cvs-1.12.13.tar.bz2) = 9942455b8517b9b3bafdca6f9368f420897b555546ab45c28d42f5d54811e291
 SHA512 (cvs-1.12.13.tar.bz2) = 7d10f808de62190b18d4f706d2d03ab218a508bfb52047ff3e830e293ec40c5e8bf6cc743ef72a5c24be5aa867c9e4892d7d475a026a98b296a3764b4bd0f4d8
@@ -28,6 +28,7 @@ SHA1 (patch-bb) = 153dc447751f3d52bca503
 SHA1 (patch-diff_system.h) = e8b921f2ac34ef621d6daf1d11a15669f4ea2582
 SHA1 (patch-diff_util.c) = efd36058d541e6b952c831e37022155288daf73c
 SHA1 (patch-lib_mktime.c) = 526a0e24c6399d527ae6a463ea91e993f9f7e920
+SHA1 (patch-lib_sunos57-select.c) = 12e52b50084cf0387cddc5e3ef8bc2b2499d07d1
 SHA1 (patch-lib_vasnprintf.c) = fbba4d923d3c61ebcf79e82779919dc1f8a570c0
 SHA1 (patch-m4_fpending.m4) = 6b7c96d8f092e179d2cfdf036bcbfd3855292e0f
 SHA1 (patch-m4_gettext.m4) = 3b58f75d1dde872aad23ceca12a363badaa4e0b3

Added files:

Index: pkgsrc/devel/scmcvs/patches/patch-lib_sunos57-select.c
diff -u /dev/null pkgsrc/devel/scmcvs/patches/patch-lib_sunos57-select.c:1.1
--- /dev/null   Fri Nov 20 19:46:23 2026
+++ pkgsrc/devel/scmcvs/patches/patch-lib_sunos57-select.c      Fri Nov 20 19:46:23 2026
@@ -0,0 +1,22 @@
+$NetBSD: patch-lib_sunos57-select.c,v 1.1 2026/11/20 19:46:23 nros Exp $
+
+* On Illumos FD_ZERO expands to memset... but sys/select.h where
+  FD_ZERO is defined does not include string.h where memset is declared.
+  So include string.h to fix build on Illumos, include sys/select.h
+  that has FD_* on illumos just in case its implicit inclusion change.
+
+--- lib/sunos57-select.c.orig  2004-11-04 08:30:56.000000000 +0000
++++ lib/sunos57-select.c
+@@ -40,6 +40,12 @@
+ #include <sys/stat.h>
+ #include <errno.h>
+ 
++#ifdef HAVE_STRING_H
++# include <string.h>
++#endif /* HAVE_STRING_H */
++#ifdef HAVE_SYS_SELECT_H
++# include <sys/select.h>
++#endif /* HAVE_SYS_SELECT_H */
+ #ifdef HAVE_UNISTD_H
+ # include <unistd.h>
+ #endif /* HAVE_UNISTD_H */



Home | Main Index | Thread Index | Old Index