Subject: CVS commit: pkgsrc/devel/xorg-util-macros
From: Thomas Klausner
Date: 2024-11-14 08:35:39
Message id: 20241114073539.BC12BFC7D@cvs.NetBSD.org

Log Message:
xorg-util-macros: update to 1.20.2.

This release changes the XORG_CHECK_MALLOC_ZERO macro to stop testing if
malloc(0) returns NULL and instead assumes it might, so that software still
works properly if it is running with a different malloc implementation than
the configure script found to test at build time. The configure option
--disable-malloc0returnsnull is still available for use with configure scripts
that call this macro, for use by builders who are sure about the malloc(0)
handling in all available malloc implementations in their runtime environment.

This release also removes -Wdeclaration-after-statement from the default
warning set used in X.Org, treating it as a code style issue to be
considered at code review time instead of a portability issue that
everyone building the code needs to be made aware of, now that all
supported compilers support this standard feature of C99 and later versions.

Alan Coopersmith (4):
      Remove -Wdeclaration-after-statement from default warning set
      XORG_CHECK_MALLOC_ZERO: disable optimization when building with clang
      XORG_CHECK_MALLOC_ZERO: stop testing malloc, assume the worst
      util-macros 1.20.2

Files:
RevisionActionfile
1.21modifypkgsrc/devel/xorg-util-macros/Makefile
1.19modifypkgsrc/devel/xorg-util-macros/distinfo