Subject: CVS commit: pkgsrc/x11/xkbcomp
From: Thomas Klausner
Date: 2024-02-09 22:01:41
Message id: 20240209210141.2216FFA42@cvs.NetBSD.org

Log Message:
xkbcomp: update to 1.4.7.

This release mainly focuses on code cleanup and improving maintainability
and making static analysis work better on this code base.  It also fixes
a bug that could cause build failures with gcc when the -ftracer option
was used.

Since this release was generated using the new GNU autoconf 2.72, this
also adds a --enable-year2038 configure flag which may allow xkbcomp to
work with files whose timestamps are later than January 19, 2038 on
32-bit platforms, but this has not been tested.

Alan Coopersmith (34):
      gitlab CI: stop requiring Signed-off-by in commits
      Eliminate 20 -Wimplicit-fallthrough warnings
      Remove register keyword from variable declarations
      Variable scope reductions
      Use C99 struct initializers
      Delete unused uTmpAlloc/uTmpFree wrappers around alloca()
      Replace uAlloc() and uTypedAlloc() with direct malloc() calls
      Replace uCalloc() and uTypedCalloc() with direct calloc() calls
      Replace uTypedRealloc() with direct reallocarray() calls
      Replace uTypedRecalloc() with direct recallocarray() calls
      Replace uFree() with direct free() calls
      Remove unnecessary checks for NULL pointers before calling free()
      Replace Opaque with direct usage of void *
      Remove unnecessary casts from memcpy() calls
      Remove unnecessary casts from bzero() calls
      Replace malloc()+bzero() pairs with calloc() calls
      Fix 106 missing-field-initializers warnings in misc.c
      Replace && with & for bitwise comparison
      Use asprintf() if the platform supports it
      Handle -Wstringop-truncation warning in HandleOverlayDef()
      Remove #ifdef sgi sections
      FindKeypadVMod: check xkb is not NULL before dereference, not after
      XkbAddDirectoryToPath: don't leak existing paths on realloc() failure
      Mark more functions and variables static
      Remove unused "no indent" (NOI) debug functions
      Only build debug infrastructure if DEBUG is defined
      Stop building more unused functions
      Use unsigned ints when shifting to create bitmasks
      Mark more pointers as const
      Replace calloc(strlen())+strcpy() pairs with strdup() calls
      xkbcomp.h: include config.h before any other headers
      configure: raise minimum autoconf requirement to 2.70
      GenerateListing: close outFile before returning
      xkbcomp 1.4.7

Files:
RevisionActionfile
1.26modifypkgsrc/x11/xkbcomp/Makefile
1.20modifypkgsrc/x11/xkbcomp/distinfo