Subject: CVS commit: pkgsrc/x11/libX11
From: Thomas Klausner
Date: 2025-02-03 09:08:47
Message id: 20250203080847.84FDEFBE0@cvs.NetBSD.org

Log Message:
libX11: update to 1.8.11.

This release includes:

 * Close xcb connection after freeing display structure to avoid XIO error
   when running synchronized (!264)
 * Don't allocate memory for a zero-sized list of directories when
   `SetFontPath()` is called with `ndirs == 0` (!266)
 * Fix `-Werror=array-bounds` build failures with gcc 14.2 when
   `MALLOC_0_RETURNS_NULL` is defined (!267)
 * Set `data` field to 0 when initializing new requests (!268)
 * ximcp: don't leak window if `XGetAtomName()` fails (!269)
 * ximcp: allow XNArea with OnTheSpot (!270)
 * ximcp: hide internal functions added in 1.8.10 (!271)
 * Handle `-Wextra-semi-stmt` warnings from clang (!272)
 * xkb: avoid undefined behavior due to left shift overflow (#225, !273)
 * Fix misuse of `UCSConvertCase()` in `XConvertCase()` (!274)
 * drop `pthread-stubs` dependency on Dragonfly, FreeBSD, & NetBSD (!277)

Note that a bug in libXrender versions prior to December's 0.9.12 release
will cause them to fail to build with the XlibInt.h header from this release,
so packagers should be sure to update to libXrender 0.9.12 as well.

Aaron Muir Hamilton (1):
      ximcp/imRm.c: allow XNArea with OnTheSpot

Alan Coopersmith (26):
      SetFontPath: if ndirs is 0, skip work to make a list of directories
      _XlcDefaultMapModifiers: remove conversions between size_t & int
      _XimEncodingNegotiation: swap order of arguments to calloc
      _XimStrConversionCallback: use size_t to calculate size to malloc
      _XGetRequest: Set data field to 0 when initializing new requests
      ximcp: don't leak window if XGetAtomName() fails
      DeqAsyncHandler: add do ... while (0) to avoid -Wextra-semi-stmt warnings
      Data: add do ... while (0) to avoid -Wextra-semi-stmt warnings
      set_toupper: add do { ... } while (0) to avoid -Wextra-semi-stmt warnings
      BufAlloc: add do { ... } while (0) to avoid -Wextra-semi-stmt warnings
      _XkbCheckPendingRefresh: add do ... while (0) to avoid -Wextra-semi-stmt
      OneDataCard32: add do ... while (0) to avoid -Wextra-semi-stmt warnings
      _XCreateMutex/_XFreeMutex: remove trailing semicolon from definitions
      GetFunc: add do ... while (0) to avoid -Wextra-semi-stmt warnings
      PutCommandResource: add do ... while (0) to avoid -Wextra-semi-stmt warnings
      poly.h: add do ... while (0) to avoid -Wextra-semi-stmt warnings
      RETURN: add do ... while (0) to avoid -Wextra-semi-stmt warnings
      CI_GET_*_INFO_*: add do ... while (0) to avoid -Wextra-semi-stmt warnings
      xcb_io.c: add do ... while (0) to avoid -Wextra-semi-stmt warnings
      DL_APPEND/DL_DELETE: remove trailing semicolon from definitions
      Xrm.c: remove unneccessary ; after {}
      XIM_SET_PAD: add do ... while (0) to avoid -Wextra-semi-stmt warnings
      xkb: avoid undefined behavior due to left shift overflow
      cmsColNm: remove obsolete comment about FirstCmp being public
      configure: drop `pthread-stubs` dependency on Dragonfly, FreeBSD, & NetBSD
      libX11 1.8.11

Julien Cristau (1):
      ximcp: hide internal functions

Olivier Fourdan (2):
      Close xcb connection after freeing display structure
      Fix indentation

Pierre Le Marre (1):
      Fix misuse of UCSConvertCase in XConvertCase

Files:
RevisionActionfile
1.78modifypkgsrc/x11/libX11/Makefile
1.57modifypkgsrc/x11/libX11/distinfo