pkgsrc-Changes archive

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

CVS commit: pkgsrc/mk



Module Name:    pkgsrc
Committed By:   nia
Date:           Thu Nov  9 18:56:45 UTC 2023

Modified Files:
        pkgsrc/mk/features: features-vars.mk features.mk
        pkgsrc/mk/platform: Darwin.mk

Log Message:
mk: Support strndup(3) in USE_FEATURES.


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 pkgsrc/mk/features/features-vars.mk
cvs rdiff -u -r1.10 -r1.11 pkgsrc/mk/features/features.mk
cvs rdiff -u -r1.134 -r1.135 pkgsrc/mk/platform/Darwin.mk

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

Modified files:

Index: pkgsrc/mk/features/features-vars.mk
diff -u pkgsrc/mk/features/features-vars.mk:1.27 pkgsrc/mk/features/features-vars.mk:1.28
--- pkgsrc/mk/features/features-vars.mk:1.27    Mon Sep  2 02:23:03 2019
+++ pkgsrc/mk/features/features-vars.mk Thu Nov  9 18:56:45 2023
@@ -1,4 +1,4 @@
-# $NetBSD: features-vars.mk,v 1.27 2019/09/02 02:23:03 rillig Exp $
+# $NetBSD: features-vars.mk,v 1.28 2023/11/09 18:56:45 nia Exp $
 #
 # The platforms that are supported by pkgsrc differ in the amount of
 # functions they provide in the C library (libc). Functions that are
@@ -46,6 +46,7 @@
 #      * glob
 #      * regcomp
 #      * snprintf, vsnprintf
+#      * strndup
 #      * strnlen
 #      * utimes
 #      * nbcompat: All of the above.

Index: pkgsrc/mk/features/features.mk
diff -u pkgsrc/mk/features/features.mk:1.10 pkgsrc/mk/features/features.mk:1.11
--- pkgsrc/mk/features/features.mk:1.10 Fri Jan 14 14:46:50 2022
+++ pkgsrc/mk/features/features.mk      Thu Nov  9 18:56:45 2023
@@ -1,4 +1,4 @@
-# $NetBSD: features.mk,v 1.10 2022/01/14 14:46:50 schmonz Exp $
+# $NetBSD: features.mk,v 1.11 2023/11/09 18:56:45 nia Exp $
 #
 # This file is included by bsd.pkg.mk.
 #
@@ -36,7 +36,7 @@ LIBS+=                        ${FEATURE_LIBS}
 # libnbcompat provides many of the current features.
 #
 _FEATURE_USE_NBCOMPAT?=        no
-.  for f in asprintf cdefs err fts_close fts_open fts_read fts_set getline getopt_long glob nbcompat regcomp setenv snprintf strnlen utimes vsnprintf warn
+.  for f in asprintf cdefs err fts_close fts_open fts_read fts_set getline getopt_long glob nbcompat regcomp setenv snprintf strndup strnlen utimes vsnprintf warn
 .    if !empty(MISSING_FEATURES:M${f})
 _FEATURE_USE_NBCOMPAT= yes
 .    endif

Index: pkgsrc/mk/platform/Darwin.mk
diff -u pkgsrc/mk/platform/Darwin.mk:1.134 pkgsrc/mk/platform/Darwin.mk:1.135
--- pkgsrc/mk/platform/Darwin.mk:1.134  Thu Nov  9 16:33:53 2023
+++ pkgsrc/mk/platform/Darwin.mk        Thu Nov  9 18:56:45 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Darwin.mk,v 1.134 2023/11/09 16:33:53 nia Exp $
+# $NetBSD: Darwin.mk,v 1.135 2023/11/09 18:56:45 nia Exp $
 #
 # Variable definitions for the Darwin operating system.
 
@@ -253,7 +253,7 @@ CONFIGURE_ENV+=             gl_cv_func_getcwd_abort
 
 # strnlen(3) and getline(3) are available from Lion onwards
 .if ${OPSYS_VERSION} < 100700
-_OPSYS_MISSING_FEATURES+=      strnlen getline
+_OPSYS_MISSING_FEATURES+=      strndup strnlen getline
 _OPSYS_SUPPORTS_MKTOOLS=       no
 .else
 _OPSYS_SUPPORTS_MKTOOLS=       yes



Home | Main Index | Thread Index | Old Index