Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package xcb-util-cursor for openSUSE:Factory 
checked in at 2023-10-22 21:01:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/xcb-util-cursor (Old)
 and      /work/SRC/openSUSE:Factory/.xcb-util-cursor.new.1945 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "xcb-util-cursor"

Sun Oct 22 21:01:24 2023 rev:8 rq:1119105 version:0.1.5

Changes:
--------
--- /work/SRC/openSUSE:Factory/xcb-util-cursor/xcb-util-cursor.changes  
2022-10-27 13:52:12.783971761 +0200
+++ 
/work/SRC/openSUSE:Factory/.xcb-util-cursor.new.1945/xcb-util-cursor.changes    
    2023-10-22 21:01:40.924902408 +0200
@@ -1,0 +2,10 @@
+Thu Oct 19 21:11:52 UTC 2023 - Stefan Dirsch <[email protected]>
+
+- Update to version 0.1.5
+  * This release sets the close-on-exec flag when opening files on
+    platforms that support O_CLOEXEC, and resyncs the
+    _XcursorThemeInherits code with libXcursor, including a fix for
+    an off-by-one error in memory allocation that triggered errors
+    from AddressSanitizer.
+
+-------------------------------------------------------------------

Old:
----
  xcb-util-cursor-0.1.4.tar.xz

New:
----
  xcb-util-cursor-0.1.5.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ xcb-util-cursor.spec ++++++
--- /var/tmp/diff_new_pack.wZfXRm/_old  2023-10-22 21:01:41.568925826 +0200
+++ /var/tmp/diff_new_pack.wZfXRm/_new  2023-10-22 21:01:41.572925971 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package xcb-util-cursor
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
 
 %define lname   libxcb-cursor0
 Name:           xcb-util-cursor
-Version:        0.1.4
+Version:        0.1.5
 Release:        0
 Summary:        XCB cursor library (libxcursor port)
 License:        MIT

++++++ xcb-util-cursor-0.1.4.tar.xz -> xcb-util-cursor-0.1.5.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/xcb-util-cursor-0.1.4/ChangeLog 
new/xcb-util-cursor-0.1.5/ChangeLog
--- old/xcb-util-cursor-0.1.4/ChangeLog 2022-10-18 19:10:12.000000000 +0200
+++ new/xcb-util-cursor-0.1.5/ChangeLog 2023-10-19 22:38:35.000000000 +0200
@@ -1,3 +1,41 @@
+commit c393b71fff76fe8627d0e95c53e756615f84d7a3
+Author: Alan Coopersmith <[email protected]>
+Date:   Thu Oct 19 13:30:26 2023 -0700
+
+    xcb-util-cursor 0.1.5
+    
+    Signed-off-by: Alan Coopersmith <[email protected]>
+
+commit 103bccad6f4a421ede6a0ef2eecc2749ff9be083
+Author: Thomas E. Dickey <[email protected]>
+Date:   Mon May 3 20:25:43 2021 -0400
+
+    cppcheck style-fixes in _XcursorThemeInherits
+    
+    Copied from libxcursor@f807ac9c786714ef4e86ad7edfa60f92baf0b4a6
+    
+    Signed-off-by: Thomas E. Dickey <[email protected]>
+    Signed-off-by: Alan Coopersmith <[email protected]>
+
+commit 12ea0a8599ecba7663899d7e6ab82f3a27e506f0
+Author: shubham shrivastav <[email protected]>
+Date:   Fri Jun 5 13:36:22 2015 -0700
+
+    Insufficient memory for terminating null of string in _XcursorThemeInherits
+    
+    Copied from libxcursor@897213f36baf6926daf6d192c709cf627aa5fd05
+    
+    Reported-by: @ithinkapps in libxcb-cursor issue #11
+    Signed-off-by: Alan Coopersmith <[email protected]>
+
+commit 9b9ec3cfd1db9fac09b119715dabc36aaa77f497
+Author: Alan Coopersmith <[email protected]>
+Date:   Tue Mar 28 11:33:43 2023 -0700
+
+    Set close-on-exec when opening files
+    
+    Signed-off-by: Alan Coopersmith <[email protected]>
+
 commit 3d7e713e85af18d7e52cafdc9d20a2715048dee7
 Author: Alan Coopersmith <[email protected]>
 Date:   Tue Oct 18 09:58:51 2022 -0700
@@ -170,7 +208,7 @@
     set version to 0.1.2
 
 commit cf26479ece9ab9e04616bc10ba674d88a284e5b0
-Author: Martin Gräßlin < <[email protected]>
+Author: Martin Gräßlin <[email protected]>
 Date:   Tue Mar 17 18:41:07 2015 +0100
 
     Perform safety check before trying to load glyph cursor
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/xcb-util-cursor-0.1.4/aclocal.m4 
new/xcb-util-cursor-0.1.5/aclocal.m4
--- old/xcb-util-cursor-0.1.4/aclocal.m4        2022-10-18 19:10:03.000000000 
+0200
+++ new/xcb-util-cursor-0.1.5/aclocal.m4        2023-10-19 22:38:25.000000000 
+0200
@@ -1426,7 +1426,7 @@
 
 dnl xorg-macros.m4.  Generated from xorg-macros.m4.in xorgversion.m4 by 
configure.
 dnl
-dnl Copyright (c) 2005, 2015, Oracle and/or its affiliates. All rights 
reserved.
+dnl Copyright (c) 2005, 2023, Oracle and/or its affiliates.
 dnl
 dnl Permission is hereby granted, free of charge, to any person obtaining a
 dnl copy of this software and associated documentation files (the "Software"),
@@ -1463,7 +1463,7 @@
 # See the "minimum version" comment for each macro you use to see what
 # version you require.
 m4_defun([XORG_MACROS_VERSION],[
-m4_define([vers_have], [1.19.3])
+m4_define([vers_have], [1.20.0])
 m4_define([maj_have], m4_substr(vers_have, 0, m4_index(vers_have, [.])))
 m4_define([maj_needed], m4_substr([$1], 0, m4_index([$1], [.])))
 m4_if(m4_cmp(maj_have, maj_needed), 0,,
@@ -1793,7 +1793,7 @@
 # Documentation tools are not always available on all platforms and sometimes
 # not at the appropriate level. This macro enables a module to test for the
 # presence of the tool and obtain it's path in separate variables. Coupled with
-# the --with-xmlto option, it allows maximum flexibilty in making decisions
+# the --with-xmlto option, it allows maximum flexibility in making decisions
 # as whether or not to use the xmlto package. When DEFAULT is not specified,
 # --with-xmlto assumes 'auto'.
 #
@@ -2007,7 +2007,7 @@
 # Documentation tools are not always available on all platforms and sometimes
 # not at the appropriate level. This macro enables a module to test for the
 # presence of the tool and obtain it's path in separate variables. Coupled with
-# the --with-asciidoc option, it allows maximum flexibilty in making decisions
+# the --with-asciidoc option, it allows maximum flexibility in making decisions
 # as whether or not to use the asciidoc package. When DEFAULT is not specified,
 # --with-asciidoc assumes 'auto'.
 #
@@ -2077,7 +2077,7 @@
 # Documentation tools are not always available on all platforms and sometimes
 # not at the appropriate level. This macro enables a module to test for the
 # presence of the tool and obtain it's path in separate variables. Coupled with
-# the --with-doxygen option, it allows maximum flexibilty in making decisions
+# the --with-doxygen option, it allows maximum flexibility in making decisions
 # as whether or not to use the doxygen package. When DEFAULT is not specified,
 # --with-doxygen assumes 'auto'.
 #
@@ -2161,7 +2161,7 @@
 # Documentation tools are not always available on all platforms and sometimes
 # not at the appropriate level. This macro enables a module to test for the
 # presence of the tool and obtain it's path in separate variables. Coupled with
-# the --with-groff option, it allows maximum flexibilty in making decisions
+# the --with-groff option, it allows maximum flexibility in making decisions
 # as whether or not to use the groff package. When DEFAULT is not specified,
 # --with-groff assumes 'auto'.
 #
@@ -2269,7 +2269,7 @@
 # Documentation tools are not always available on all platforms and sometimes
 # not at the appropriate level. This macro enables a module to test for the
 # presence of the tool and obtain it's path in separate variables. Coupled with
-# the --with-fop option, it allows maximum flexibilty in making decisions
+# the --with-fop option, it allows maximum flexibility in making decisions
 # as whether or not to use the fop package. When DEFAULT is not specified,
 # --with-fop assumes 'auto'.
 #
@@ -2363,7 +2363,7 @@
 # Documentation tools are not always available on all platforms and sometimes
 # not at the appropriate level. This macro enables a module to test for the
 # presence of the tool and obtain it's path in separate variables. Coupled with
-# the --with-ps2pdf option, it allows maximum flexibilty in making decisions
+# the --with-ps2pdf option, it allows maximum flexibility in making decisions
 # as whether or not to use the ps2pdf package. When DEFAULT is not specified,
 # --with-ps2pdf assumes 'auto'.
 #
@@ -2418,7 +2418,7 @@
 # not at the appropriate level. This macro enables a builder to skip all
 # documentation targets except traditional man pages.
 # Combined with the specific tool checking macros XORG_WITH_*, it provides
-# maximum flexibilty in controlling documentation building.
+# maximum flexibility in controlling documentation building.
 # Refer to:
 # XORG_WITH_XMLTO         --with-xmlto
 # XORG_WITH_ASCIIDOC      --with-asciidoc
@@ -2451,7 +2451,7 @@
 #
 # This macro enables a builder to skip all developer documentation.
 # Combined with the specific tool checking macros XORG_WITH_*, it provides
-# maximum flexibilty in controlling documentation building.
+# maximum flexibility in controlling documentation building.
 # Refer to:
 # XORG_WITH_XMLTO         --with-xmlto
 # XORG_WITH_ASCIIDOC      --with-asciidoc
@@ -2484,7 +2484,7 @@
 #
 # This macro enables a builder to skip all functional specification targets.
 # Combined with the specific tool checking macros XORG_WITH_*, it provides
-# maximum flexibilty in controlling documentation building.
+# maximum flexibility in controlling documentation building.
 # Refer to:
 # XORG_WITH_XMLTO         --with-xmlto
 # XORG_WITH_ASCIIDOC      --with-asciidoc
@@ -2959,7 +2959,11 @@
 AC_DEFUN([XORG_COMPILER_BRAND], [
 AC_LANG_CASE(
        [C], [
-               AC_REQUIRE([AC_PROG_CC_C99])
+               dnl autoconf-2.70 folded AC_PROG_CC_C99 into AC_PROG_CC
+               dnl and complains that AC_PROG_CC_C99 is obsolete
+               m4_version_prereq([2.70],
+                       [AC_REQUIRE([AC_PROG_CC])],
+                       [AC_REQUIRE([AC_PROG_CC_C99])])
        ],
        [C++], [
                AC_REQUIRE([AC_PROG_CXX])
@@ -2975,7 +2979,7 @@
 # Minimum version: 1.16.0
 #
 # Test if the compiler works when passed the given flag as a command line 
argument.
-# If it succeeds, the flag is appeneded to the given variable.  If not, it 
tries the
+# If it succeeds, the flag is appended to the given variable.  If not, it 
tries the
 # next flag in the list until there are no more options.
 #
 # Note that this does not guarantee that the compiler supports the flag as some
@@ -2991,7 +2995,11 @@
 
 AC_LANG_CASE(
        [C], [
-               AC_REQUIRE([AC_PROG_CC_C99])
+               dnl autoconf-2.70 folded AC_PROG_CC_C99 into AC_PROG_CC
+               dnl and complains that AC_PROG_CC_C99 is obsolete
+               m4_version_prereq([2.70],
+                       [AC_REQUIRE([AC_PROG_CC])],
+                       [AC_REQUIRE([AC_PROG_CC_C99])])
                define([PREFIX], [C])
                define([CACHE_PREFIX], [cc])
                define([COMPILER], [$CC])
@@ -3132,7 +3140,7 @@
 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
 
-# Turn some warnings into errors, so we don't accidently get successful builds
+# Turn some warnings into errors, so we don't accidentally get successful 
builds
 # when there are problems that should be fixed.
 
 if test "x$SELECTIVE_WERROR" = "xyes" ; then
@@ -3241,23 +3249,35 @@
 AC_LANG_CASE([C], AC_SUBST([CWARNFLAGS]))
 ]) # XORG_STRICT_OPTION
 
+# XORG_DEFAULT_NOCODE_OPTIONS
+# ---------------------------
+# Minimum version: 1.20.0
+#
+# Defines default options for X.Org modules which don't compile code,
+# such as fonts, bitmaps, cursors, and docs.
+#
+AC_DEFUN([XORG_DEFAULT_NOCODE_OPTIONS], [
+AC_REQUIRE([AC_PROG_INSTALL])
+XORG_RELEASE_VERSION
+XORG_CHANGELOG
+XORG_INSTALL
+XORG_MANPAGE_SECTIONS
+m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])],
+    [AC_SUBST([AM_DEFAULT_VERBOSITY], [1])])
+]) # XORG_DEFAULT_NOCODE_OPTIONS
+
 # XORG_DEFAULT_OPTIONS
 # --------------------
 # Minimum version: 1.3.0
 #
-# Defines default options for X.Org modules.
+# Defines default options for X.Org modules which compile code.
 #
 AC_DEFUN([XORG_DEFAULT_OPTIONS], [
 AC_REQUIRE([AC_PROG_INSTALL])
 XORG_COMPILER_FLAGS
 XORG_CWARNFLAGS
 XORG_STRICT_OPTION
-XORG_RELEASE_VERSION
-XORG_CHANGELOG
-XORG_INSTALL
-XORG_MANPAGE_SECTIONS
-m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])],
-    [AC_SUBST([AM_DEFAULT_VERBOSITY], [1])])
+XORG_DEFAULT_NOCODE_OPTIONS
 ]) # XORG_DEFAULT_OPTIONS
 
 # XORG_INSTALL()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/xcb-util-cursor-0.1.4/config.guess 
new/xcb-util-cursor-0.1.5/config.guess
--- old/xcb-util-cursor-0.1.4/config.guess      2022-10-18 19:10:05.000000000 
+0200
+++ new/xcb-util-cursor-0.1.5/config.guess      2023-10-19 22:38:27.000000000 
+0200
@@ -1,14 +1,14 @@
 #! /bin/sh
 # Attempt to guess a canonical system name.
-#   Copyright 1992-2021 Free Software Foundation, Inc.
+#   Copyright 1992-2023 Free Software Foundation, Inc.
 
 # shellcheck disable=SC2006,SC2268 # see below for rationale
 
-timestamp='2021-06-03'
+timestamp='2023-01-01'
 
 # This file is free software; you can redistribute it and/or modify it
 # under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 3 of the License, or
+# the Free Software Foundation, either version 3 of the License, or
 # (at your option) any later version.
 #
 # This program is distributed in the hope that it will be useful, but
@@ -60,7 +60,7 @@
 GNU config.guess ($timestamp)
 
 Originally written by Per Bothner.
-Copyright 1992-2021 Free Software Foundation, Inc.
+Copyright 1992-2023 Free Software Foundation, Inc.
 
 This is free software; see the source for copying conditions.  There is NO
 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
@@ -437,7 +437,7 @@
        # This test works for both compilers.
        if test "$CC_FOR_BUILD" != no_compiler_found; then
            if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \
-               (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \
+               (CCOPTS="" $CC_FOR_BUILD -m64 -E - 2>/dev/null) | \
                grep IS_64BIT_ARCH >/dev/null
            then
                SUN_ARCH=x86_64
@@ -929,6 +929,9 @@
     i*:PW*:*)
        GUESS=$UNAME_MACHINE-pc-pw32
        ;;
+    *:SerenityOS:*:*)
+        GUESS=$UNAME_MACHINE-pc-serenity
+        ;;
     *:Interix*:*)
        case $UNAME_MACHINE in
            x86)
@@ -963,6 +966,12 @@
        GNU_REL=`echo "$UNAME_RELEASE" | sed -e 's/[-(].*//'`
        GUESS=$UNAME_MACHINE-unknown-$GNU_SYS$GNU_REL-$LIBC
        ;;
+    x86_64:[Mm]anagarm:*:*|i?86:[Mm]anagarm:*:*)
+       GUESS="$UNAME_MACHINE-pc-managarm-mlibc"
+       ;;
+    *:[Mm]anagarm:*:*)
+       GUESS="$UNAME_MACHINE-unknown-managarm-mlibc"
+       ;;
     *:Minix:*:*)
        GUESS=$UNAME_MACHINE-unknown-minix
        ;;
@@ -1033,7 +1042,7 @@
     k1om:Linux:*:*)
        GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
        ;;
-    loongarch32:Linux:*:* | loongarch64:Linux:*:* | loongarchx32:Linux:*:*)
+    loongarch32:Linux:*:* | loongarch64:Linux:*:*)
        GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
        ;;
     m32r*:Linux:*:*)
@@ -1148,16 +1157,27 @@
        ;;
     x86_64:Linux:*:*)
        set_cc_for_build
+       CPU=$UNAME_MACHINE
        LIBCABI=$LIBC
        if test "$CC_FOR_BUILD" != no_compiler_found; then
-           if (echo '#ifdef __ILP32__'; echo IS_X32; echo '#endif') | \
-               (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \
-               grep IS_X32 >/dev/null
-           then
-               LIBCABI=${LIBC}x32
-           fi
+           ABI=64
+           sed 's/^        //' << EOF > "$dummy.c"
+           #ifdef __i386__
+           ABI=x86
+           #else
+           #ifdef __ILP32__
+           ABI=x32
+           #endif
+           #endif
+EOF
+           cc_set_abi=`$CC_FOR_BUILD -E "$dummy.c" 2>/dev/null | grep '^ABI' | 
sed 's, ,,g'`
+           eval "$cc_set_abi"
+           case $ABI in
+               x86) CPU=i686 ;;
+               x32) LIBCABI=${LIBC}x32 ;;
+           esac
        fi
-       GUESS=$UNAME_MACHINE-pc-linux-$LIBCABI
+       GUESS=$CPU-pc-linux-$LIBCABI
        ;;
     xtensa*:Linux:*:*)
        GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
@@ -1364,8 +1384,11 @@
     BePC:Haiku:*:*)    # Haiku running on Intel PC compatible.
        GUESS=i586-pc-haiku
        ;;
-    x86_64:Haiku:*:*)
-       GUESS=x86_64-unknown-haiku
+    ppc:Haiku:*:*)     # Haiku running on Apple PowerPC
+       GUESS=powerpc-apple-haiku
+       ;;
+    *:Haiku:*:*)       # Haiku modern gcc (not bound by BeOS compat)
+       GUESS=$UNAME_MACHINE-unknown-haiku
        ;;
     SX-4:SUPER-UX:*:*)
        GUESS=sx4-nec-superux$UNAME_RELEASE
@@ -1522,6 +1545,9 @@
     i*86:rdos:*:*)
        GUESS=$UNAME_MACHINE-pc-rdos
        ;;
+    i*86:Fiwix:*:*)
+       GUESS=$UNAME_MACHINE-pc-fiwix
+       ;;
     *:AROS:*:*)
        GUESS=$UNAME_MACHINE-unknown-aros
        ;;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/xcb-util-cursor-0.1.4/config.sub 
new/xcb-util-cursor-0.1.5/config.sub
--- old/xcb-util-cursor-0.1.4/config.sub        2022-10-18 19:10:05.000000000 
+0200
+++ new/xcb-util-cursor-0.1.5/config.sub        2023-10-19 22:38:27.000000000 
+0200
@@ -1,14 +1,14 @@
 #! /bin/sh
 # Configuration validation subroutine script.
-#   Copyright 1992-2021 Free Software Foundation, Inc.
+#   Copyright 1992-2023 Free Software Foundation, Inc.
 
 # shellcheck disable=SC2006,SC2268 # see below for rationale
 
-timestamp='2021-08-14'
+timestamp='2023-01-21'
 
 # This file is free software; you can redistribute it and/or modify it
 # under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 3 of the License, or
+# the Free Software Foundation, either version 3 of the License, or
 # (at your option) any later version.
 #
 # This program is distributed in the hope that it will be useful, but
@@ -76,7 +76,7 @@
 version="\
 GNU config.sub ($timestamp)
 
-Copyright 1992-2021 Free Software Foundation, Inc.
+Copyright 1992-2023 Free Software Foundation, Inc.
 
 This is free software; see the source for copying conditions.  There is NO
 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
@@ -145,7 +145,7 @@
                        nto-qnx* | linux-* | uclinux-uclibc* \
                        | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | 
netbsd*-gnu* \
                        | netbsd*-eabi* | kopensolaris*-gnu* | cloudabi*-eabi* \
-                       | storm-chaos* | os2-emx* | rtmk-nova*)
+                       | storm-chaos* | os2-emx* | rtmk-nova* | managarm-*)
                                basic_machine=$field1
                                basic_os=$maybe_os
                                ;;
@@ -1020,6 +1020,11 @@
                ;;
 
        # Here we normalize CPU types with a missing or matching vendor
+       armh-unknown | armh-alt)
+               cpu=armv7l
+               vendor=alt
+               basic_os=${basic_os:-linux-gnueabihf}
+               ;;
        dpx20-unknown | dpx20-bull)
                cpu=rs6000
                vendor=bull
@@ -1070,7 +1075,7 @@
        pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
                cpu=i586
                ;;
-       pentiumpro-* | p6-* | 6x86-* | athlon-* | athalon_*-*)
+       pentiumpro-* | p6-* | 6x86-* | athlon-* | athlon_*-*)
                cpu=i686
                ;;
        pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*)
@@ -1121,7 +1126,7 @@
        xscale-* | xscalee[bl]-*)
                cpu=`echo "$cpu" | sed 's/^xscale/arm/'`
                ;;
-       arm64-*)
+       arm64-* | aarch64le-*)
                cpu=aarch64
                ;;
 
@@ -1202,7 +1207,7 @@
                        | k1om \
                        | le32 | le64 \
                        | lm32 \
-                       | loongarch32 | loongarch64 | loongarchx32 \
+                       | loongarch32 | loongarch64 \
                        | m32c | m32r | m32rle \
                        | m5200 | m68000 | m680[012346]0 | m68360 | m683?2 | 
m68k \
                        | m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x \
@@ -1304,7 +1309,7 @@
 if test x$basic_os != x
 then
 
-# First recognize some ad-hoc caes, or perhaps split kernel-os, or else just
+# First recognize some ad-hoc cases, or perhaps split kernel-os, or else just
 # set os.
 case $basic_os in
        gnu/linux*)
@@ -1336,6 +1341,10 @@
                kernel=linux
                os=`echo "$basic_os" | sed -e 's|linux|gnu|'`
                ;;
+       managarm*)
+               kernel=managarm
+               os=`echo "$basic_os" | sed -e 's|managarm|mlibc|'`
+               ;;
        *)
                kernel=
                os=$basic_os
@@ -1748,7 +1757,8 @@
             | skyos* | haiku* | rdos* | toppers* | drops* | es* \
             | onefs* | tirtos* | phoenix* | fuchsia* | redox* | bme* \
             | midnightbsd* | amdhsa* | unleashed* | emscripten* | wasi* \
-            | nsk* | powerunix* | genode* | zvmoe* | qnx* | emx* | zephyr*)
+            | nsk* | powerunix* | genode* | zvmoe* | qnx* | emx* | zephyr* \
+            | fiwix* | mlibc* )
                ;;
        # This one is extra strict with allowed versions
        sco3.2v2 | sco3.2v[4-9]* | sco5v6*)
@@ -1756,6 +1766,9 @@
                ;;
        none)
                ;;
+       kernel* )
+               # Restricted further below
+               ;;
        *)
                echo Invalid configuration \`"$1"\': OS \`"$os"\' not 
recognized 1>&2
                exit 1
@@ -1766,16 +1779,26 @@
 # (given a valid OS), if there is a kernel.
 case $kernel-$os in
        linux-gnu* | linux-dietlibc* | linux-android* | linux-newlib* \
-                  | linux-musl* | linux-relibc* | linux-uclibc* )
+                  | linux-musl* | linux-relibc* | linux-uclibc* | linux-mlibc* 
)
                ;;
        uclinux-uclibc* )
                ;;
-       -dietlibc* | -newlib* | -musl* | -relibc* | -uclibc* )
+       managarm-mlibc* | managarm-kernel* )
+               ;;
+       -dietlibc* | -newlib* | -musl* | -relibc* | -uclibc* | -mlibc* )
                # These are just libc implementations, not actual OSes, and thus
                # require a kernel.
                echo "Invalid configuration \`$1': libc \`$os' needs explicit 
kernel." 1>&2
                exit 1
                ;;
+       -kernel* )
+               echo "Invalid configuration \`$1': \`$os' needs explicit 
kernel." 1>&2
+               exit 1
+               ;;
+       *-kernel* )
+               echo "Invalid configuration \`$1': \`$kernel' does not support 
\`$os'." 1>&2
+               exit 1
+               ;;
        kfreebsd*-gnu* | kopensolaris*-gnu*)
                ;;
        vxworks-simlinux | vxworks-simwindows | vxworks-spe)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/xcb-util-cursor-0.1.4/configure 
new/xcb-util-cursor-0.1.5/configure
--- old/xcb-util-cursor-0.1.4/configure 2022-10-18 19:10:04.000000000 +0200
+++ new/xcb-util-cursor-0.1.5/configure 2023-10-19 22:38:26.000000000 +0200
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.71 for xcb-util-cursor 0.1.4.
+# Generated by GNU Autoconf 2.71 for xcb-util-cursor 0.1.5.
 #
 # Report bugs to 
<https://gitlab.freedesktop.org/xorg/lib/libxcb-cursor/-/issues>.
 #
@@ -622,8 +622,8 @@
 # Identity of this package.
 PACKAGE_NAME='xcb-util-cursor'
 PACKAGE_TARNAME='xcb-util-cursor'
-PACKAGE_VERSION='0.1.4'
-PACKAGE_STRING='xcb-util-cursor 0.1.4'
+PACKAGE_VERSION='0.1.5'
+PACKAGE_STRING='xcb-util-cursor 0.1.5'
 
PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/lib/libxcb-cursor/-/issues'
 PACKAGE_URL=''
 
@@ -1413,7 +1413,7 @@
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures xcb-util-cursor 0.1.4 to adapt to many kinds of 
systems.
+\`configure' configures xcb-util-cursor 0.1.5 to adapt to many kinds of 
systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1484,7 +1484,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of xcb-util-cursor 0.1.4:";;
+     short | recursive ) echo "Configuration of xcb-util-cursor 0.1.5:";;
    esac
   cat <<\_ACEOF
 
@@ -1627,7 +1627,7 @@
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-xcb-util-cursor configure 0.1.4
+xcb-util-cursor configure 0.1.5
 generated by GNU Autoconf 2.71
 
 Copyright (C) 2021 Free Software Foundation, Inc.
@@ -1954,7 +1954,7 @@
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by xcb-util-cursor $as_me 0.1.4, which was
+It was created by xcb-util-cursor $as_me 0.1.5, which was
 generated by GNU Autoconf 2.71.  Invocation command line was
 
   $ $0$ac_configure_args_raw
@@ -4523,7 +4523,7 @@
 
 # Define the identity of the package.
  PACKAGE='xcb-util-cursor'
- VERSION='0.1.4'
+ VERSION='0.1.5'
 
 
 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
@@ -13078,7 +13078,6 @@
                PKG_CONFIG=""
        fi
 fi
-
 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed 
to detect all undeclared functions" >&5
 printf %s "checking for $CC options needed to detect all undeclared 
functions... " >&6; }
 if test ${ac_cv_c_undeclared_builtin_options+y}
@@ -15646,7 +15645,7 @@
 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
 
-# Turn some warnings into errors, so we don't accidently get successful builds
+# Turn some warnings into errors, so we don't accidentally get successful 
builds
 # when there are problems that should be fixed.
 
 if test "x$SELECTIVE_WERROR" = "xyes" ; then
@@ -19501,6 +19500,8 @@
 
 
 
+
+
 cat >>confdefs.h <<_ACEOF
 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
 _ACEOF
@@ -19704,6 +19705,7 @@
 
 
 
+
 # Check whether --enable-devel-docs was given.
 if test ${enable_devel_docs+y}
 then :
@@ -20812,7 +20814,7 @@
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by xcb-util-cursor $as_me 0.1.4, which was
+This file was extended by xcb-util-cursor $as_me 0.1.5, which was
 generated by GNU Autoconf 2.71.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -20871,7 +20873,7 @@
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config='$ac_cs_config_escaped'
 ac_cs_version="\\
-xcb-util-cursor config.status 0.1.4
+xcb-util-cursor config.status 0.1.5
 configured by $0, generated by GNU Autoconf 2.71,
   with options \\"\$ac_cs_config\\"
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/xcb-util-cursor-0.1.4/configure.ac 
new/xcb-util-cursor-0.1.5/configure.ac
--- old/xcb-util-cursor-0.1.4/configure.ac      2022-10-18 19:09:55.000000000 
+0200
+++ new/xcb-util-cursor-0.1.5/configure.ac      2023-10-19 22:38:12.000000000 
+0200
@@ -1,6 +1,6 @@
 dnl XCB_UTIL_M4_WITH_INCLUDE_PATH requires Autoconf >= 2.62
 AC_PREREQ(2.62)
-AC_INIT([xcb-util-cursor],[0.1.4],
+AC_INIT([xcb-util-cursor],[0.1.5],
         [https://gitlab.freedesktop.org/xorg/lib/libxcb-cursor/-/issues])
 AC_CONFIG_SRCDIR([Makefile.am])
 AC_CONFIG_MACRO_DIR([m4])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/xcb-util-cursor-0.1.4/cursor/load_cursor.c 
new/xcb-util-cursor-0.1.5/cursor/load_cursor.c
--- old/xcb-util-cursor-0.1.4/cursor/load_cursor.c      2022-10-18 
19:09:55.000000000 +0200
+++ new/xcb-util-cursor-0.1.5/cursor/load_cursor.c      2023-10-19 
22:38:12.000000000 +0200
@@ -44,6 +44,13 @@
 #include "cursor.h"
 #include "xcb_cursor.h"
 
+#ifdef O_CLOEXEC
+#define FOPEN_CLOEXEC "e"
+#else
+#define FOPEN_CLOEXEC ""
+#define O_CLOEXEC 0
+#endif
+
 static const char *cursor_path(struct xcb_cursor_context_t *c) {
     if (c->path == NULL) {
         c->path = getenv("XCURSOR_PATH");
@@ -76,7 +83,7 @@
     if (!full)
         return NULL;
 
-    f = fopen (full, "r");
+    f = fopen (full, "r" FOPEN_CLOEXEC);
     if (f)
     {
         while (fgets (line, sizeof (line), f))
@@ -84,15 +91,14 @@
             if (!strncmp (line, "Inherits", 8))
             {
                 char    *l = line + 8;
-                char    *r;
                 while (*l == ' ') l++;
                 if (*l != '=') continue;
                 l++;
                 while (*l == ' ') l++;
-                result = malloc (strlen (l));
+                result = malloc (strlen (l) + 1);
                 if (result)
                 {
-                    r = result;
+                    char *r = result;
                     while (*l)
                     {
                         while (XcursorSep(*l) || XcursorWhite (*l)) l++;
@@ -155,7 +161,7 @@
             free(themedir);
             return -1;
         }
-        fd = open(full, O_RDONLY);
+        fd = open(full, O_RDONLY | O_CLOEXEC);
         free(full);
         if (fd == -1 && inherits == NULL) {
             if (asprintf(&full, "%s/index.theme", themedir) == -1) {

Reply via email to