head 1.2; access; symbols pkgsrc-2022Q3:1.1.0.6 pkgsrc-2022Q3-base:1.1 pkgsrc-2022Q2:1.1.0.4 pkgsrc-2022Q2-base:1.1 pkgsrc-2022Q1:1.1.0.2 pkgsrc-2022Q1-base:1.1; locks; strict; comment @# @; 1.2 date 2022.11.19.08.10.45; author wiz; state dead; branches; next 1.1; commitid PbcO2NcT3kLrRh2E; 1.1 date 2022.03.17.01.05.48; author gutteridge; state Exp; branches; next ; commitid 1iaajoIKLyJNrvwD; desc @@ 1.2 log @libXdmcp: update to 1.1.4. Alan Coopersmith (11): Update configure.ac bug URL for gitlab migration gitlab CI: add a basic build test Fix build on Solaris 11.3.0 - 11.3.8 Build xz tarballs instead of bzip2 Fix spelling/wording issues gitlab CI: enable doc builds in basic build test Use memcpy() instead of memmove() when buffers are known not to overlap arc4random_buf: Only declare ret if HAVE_GETENTROPY is defined XdmcpDisposeARRAYofARRAY8: Reduce scope of i Only link with libbsd if needed for arc4random_buf() libXdmcp 1.1.4 Guillem Jover (1): Switch from libbsd to libbsd-overlay @ text @$NetBSD: patch-configure,v 1.1 2022/03/17 01:05:48 gutteridge Exp $ Fix builds where getentropy() exists but arc4random_buf() does not, as the case with Solaris 11.3, reported in PR pkg/54628. https://gitlab.freedesktop.org/xorg/lib/libxdmcp/-/commit/4a71fdf6d34df67d3f1335590da6ae3050128fb2 --- configure.orig 2019-03-16 16:21:31.000000000 +0000 +++ configure @@@@ -19342,6 +19342,11 @@@@ else $as_echo "no, using $LN_S" >&6; } fi +# Checks for header files. +ac_fn_c_check_header_compile "$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default" +if test "x$ac_cv_header_sys_random_h" = xyes; then : + printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h +fi # Checks for libraries. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing recvfrom" >&5 @ 1.1 log @libXdmcp: apply upstream version of SunOS compilation fix Patch to match what the next release will do here, in part so we don't run the risk of merging two versions of handling the same issue on next update. Addresses PR pkg/54628. (Compile tested on Fedora Linux and OmniOS, but as neither of these are affected by the issue to begin with, and not having an environment where I can reproduce it, I can't verify the fix myself.) @ text @d1 1 a1 1 $NetBSD$ @