head 1.2; access; symbols pkgsrc-2021Q3:1.1.0.2 pkgsrc-2021Q3-base:1.1; locks; strict; comment @# @; 1.2 date 2021.11.01.18.37.05; author wiz; state dead; branches; next 1.1; commitid n824fq0gfa7zD7fD; 1.1 date 2021.09.14.13.32.50; author schmonz; state Exp; branches; next ; commitid dwpltCek7fjSuV8D; desc @@ 1.2 log @gdbm: update to 1.22. Version 1.22 * Fix file header validation * Fix key verification in sequential access * Fix testing with DejaGNU 1.6.3 * Fix stack overflow in print_usage * Fix a leak of avail entry on pushing a new avail block The leak would occur if the original avail table had odd number of entries. * New gdbmtool variables: errorexit, errormask, trace, timing "Errorexit" and "errormask" control which GDBM errors would cause the program termination and emitting a diagnostic message, correspondingly. Both variables are comma-delimited lists of error codes. The "trace" variable enables tracing of the gdbmtool commands. The "timing" variable, when set, instructs gdbmtool to print time spent in each command it runs. * New gdbmtool options: -t (--trace), and -T (--timing) @ text @$NetBSD: patch-configure,v 1.1 2021/09/14 13:32:50 schmonz Exp $ Apply upstream patch 32517af7 to check for st_mtim in struct stat. Fixes macOS build. --- configure.orig 2021-09-02 12:47:45.000000000 +0000 +++ configure @@@@ -15451,6 +15451,28 @@@@ _ACEOF fi +ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "#include + #include +" +if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then : + +cat >>confdefs.h <<_ACEOF +#define HAVE_STRUCT_STAT_ST_MTIM 1 +_ACEOF + + +fi +ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "#include + #include +" +if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then : + +cat >>confdefs.h <<_ACEOF +#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1 +_ACEOF + + +fi if test "$want_compat" = yes; then @ 1.1 log @Apply upstream patch 32517af7 to check for st_mtim in struct stat. Fixes macOS build. @ text @d1 1 a1 1 $NetBSD$ @