Subject: CVS commit: pkgsrc/x11/xtrans
From: Thomas Klausner
Date: 2025-03-09 07:33:20
Message id: 20250309063320.6508EFBE1@cvs.NetBSD.org

Log Message:
xtrans: update to 1.6.0.

Support for using getaddrinfo(), inet_ntop(), and struct sockaddr_storage
was originally added to support IPv6, and only used if IPv6 support was
enabled. Two decades later, these interfaces are ubiquitous and OS'es have
starting marking the old interfaces as deprecated, so this release changes
to use the modern interface whenever we can now.  (Note that this depends
on the configure script or meson.build setting the appropriate HAVE_*
defines in the calling code, so this may not be fully effective in code
whose configure script was generated with a pre-1.6 version of xtrans.m4
or whose meson.build has not had equivalent updates.)

Alan Coopersmith (12):
      accept const pointers for buf argument to TRANS(Write)
      Quiet -Wformat-pedantic warnings from clang 13 for non-void-* args to %p
      Clear -Wmissing-variable-declarations from clang 13
      SocketOpenCOTSClientBase: handle -Wconditional-uninitialized warning
      SocketOpenCOTSServer: handle -Wconditional-uninitialized warning
      Simplify ifdefs for IPv6 support
      if getaddrinfo() is available, use it, even if IPv6 support is disabled
      if inet_ntop() is available, use it, even if IPv6 support is disabled
      if sockaddr_storage is available, use it, even if IPv6 support is disabled
      Convert one more IPv6 ifdef to HAVE_GETADDRINFO
      is_numeric: Add defined(X11_t) to checks
      xtrans 1.6.0

Files:
RevisionActionfile
1.35modifypkgsrc/x11/xtrans/Makefile
1.33modifypkgsrc/x11/xtrans/distinfo