Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libXmu for openSUSE:Factory checked in at 2024-04-18 22:07:57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libXmu (Old) and /work/SRC/openSUSE:Factory/.libXmu.new.26366 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libXmu" Thu Apr 18 22:07:57 2024 rev:13 rq:1168558 version:1.2.1 Changes: -------- --- /work/SRC/openSUSE:Factory/libXmu/libXmu.changes 2024-03-25 21:08:39.270188262 +0100 +++ /work/SRC/openSUSE:Factory/.libXmu.new.26366/libXmu.changes 2024-04-18 22:07:58.071254081 +0200 @@ -1,0 +2,7 @@ +Wed Apr 17 13:12:55 UTC 2024 - Stefan Dirsch <sndir...@suse.com> + +- Update to version 1.2.1 + * test: Add missing setjmp() + * test: Add prototype for Xmureallocarray to silence warning + +------------------------------------------------------------------- Old: ---- libXmu-1.2.0.tar.xz New: ---- libXmu-1.2.1.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libXmu.spec ++++++ --- /var/tmp/diff_new_pack.HB4OqM/_old 2024-04-18 22:07:58.523270693 +0200 +++ /var/tmp/diff_new_pack.HB4OqM/_new 2024-04-18 22:07:58.527270840 +0200 @@ -17,7 +17,7 @@ Name: libXmu -Version: 1.2.0 +Version: 1.2.1 Release: 0 Summary: Miscellaneous utility routines for X License: MIT ++++++ libXmu-1.2.0.tar.xz -> libXmu-1.2.1.tar.xz ++++++ ++++ 11266 lines of diff (skipped) ++++ retrying with extended exclude list diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libXmu-1.2.0/ChangeLog new/libXmu-1.2.1/ChangeLog --- old/libXmu-1.2.0/ChangeLog 2024-03-24 23:33:24.000000000 +0100 +++ new/libXmu-1.2.1/ChangeLog 2024-04-16 22:02:31.000000000 +0200 @@ -1,3 +1,33 @@ +commit 792f80402ee06ce69bca3a8f2a84295999c3a170 +Author: Matt Turner <matts...@gmail.com> +Date: Tue Apr 16 15:54:52 2024 -0400 + + libXmu 1.2.1 + +commit 41548e8322062540cce4670c2b7a8ef75b130d82 +Author: Matt Turner <matts...@gmail.com> +Date: Tue Apr 16 13:44:21 2024 -0400 + + test: Add prototype for Xmureallocarray to silence warning + + In file included from reallocarray.c:50: + ../src/reallocarray.c:35:1: warning: no previous prototype for âXmureallocarrayâ [-Wmissing-prototypes] + 35 | Xmureallocarray(void *optr, size_t nmemb, size_t size) + | ^~~~~~~~~~~~~~~ + + Part-of: <https://gitlab.freedesktop.org/xorg/lib/libxmu/-/merge_requests/14> + +commit 9329cf7611284fe7e68a67aef852c76ad30e9ebd +Author: Matt Turner <matts...@gmail.com> +Date: Tue Apr 16 13:40:40 2024 -0400 + + test: Add missing setjmp() + + Bug: https://bugs.gentoo.org/928419 + Closes: https://gitlab.freedesktop.org/xorg/lib/libxmu/-/issues/2 + Fixes: d729c59 ("test: Add simple test cases for functions in src/StrToShap.c") + Part-of: <https://gitlab.freedesktop.org/xorg/lib/libxmu/-/merge_requests/12> + commit cc378e4f0cc2ab5b66d378050ba4956612a01197 Author: Alan Coopersmith <alan.coopersm...@oracle.com> Date: Sun Mar 24 15:27:24 2024 -0700 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libXmu-1.2.0/config.h.in new/libXmu-1.2.1/config.h.in --- old/libXmu-1.2.0/config.h.in 2024-03-24 23:33:16.000000000 +0100 +++ new/libXmu-1.2.1/config.h.in 2024-04-16 22:02:26.000000000 +0200 @@ -9,13 +9,13 @@ /* Define to 1 if you have the <malloc.h> header file. */ #undef HAVE_MALLOC_H -/* Define to 1 if you have the 'malloc_usable_size' function. */ +/* Define to 1 if you have the `malloc_usable_size' function. */ #undef HAVE_MALLOC_USABLE_SIZE /* Define to 1 if you have the <minix/config.h> header file. */ #undef HAVE_MINIX_CONFIG_H -/* Define to 1 if you have the 'reallocarray' function. */ +/* Define to 1 if you have the `reallocarray' function. */ #undef HAVE_REALLOCARRAY /* Define to 1 if you have the <stdint.h> header file. */ @@ -39,7 +39,7 @@ /* Define to 1 if you have the <sys/types.h> header file. */ #undef HAVE_SYS_TYPES_H -/* Define to 1 if you have the 'uname' function. */ +/* Define to 1 if you have the `uname' function. */ #undef HAVE_UNAME /* Define to 1 if you have the <unistd.h> header file. */ @@ -81,12 +81,12 @@ /* Patch version of this package */ #undef PACKAGE_VERSION_PATCHLEVEL -/* Define to 1 if all of the C89 standard headers exist (not just the ones +/* Define to 1 if all of the C90 standard headers exist (not just the ones required in a freestanding environment). This macro is provided for backward compatibility; new code need not use it. */ #undef STDC_HEADERS -/* Enable extensions on AIX, Interix, z/OS. */ +/* Enable extensions on AIX 3, Interix. */ #ifndef _ALL_SOURCE # undef _ALL_SOURCE #endif @@ -147,15 +147,11 @@ #ifndef __STDC_WANT_IEC_60559_DFP_EXT__ # undef __STDC_WANT_IEC_60559_DFP_EXT__ #endif -/* Enable extensions specified by C23 Annex F. */ -#ifndef __STDC_WANT_IEC_60559_EXT__ -# undef __STDC_WANT_IEC_60559_EXT__ -#endif /* Enable extensions specified by ISO/IEC TS 18661-4:2015. */ #ifndef __STDC_WANT_IEC_60559_FUNCS_EXT__ # undef __STDC_WANT_IEC_60559_FUNCS_EXT__ #endif -/* Enable extensions specified by C23 Annex H and ISO/IEC TS 18661-3:2015. */ +/* Enable extensions specified by ISO/IEC TS 18661-3:2015. */ #ifndef __STDC_WANT_IEC_60559_TYPES_EXT__ # undef __STDC_WANT_IEC_60559_TYPES_EXT__ #endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libXmu-1.2.0/configure.ac new/libXmu-1.2.1/configure.ac --- old/libXmu-1.2.0/configure.ac 2024-03-24 23:33:01.000000000 +0100 +++ new/libXmu-1.2.1/configure.ac 2024-04-16 22:02:19.000000000 +0200 @@ -1,7 +1,7 @@ # Initialize Autoconf AC_PREREQ([2.70]) -AC_INIT([libXmu], [1.2.0], +AC_INIT([libXmu], [1.2.1], [https://gitlab.freedesktop.org/xorg/lib/libxmu/-/issues/], [libXmu]) AC_CONFIG_SRCDIR([Makefile.am]) AC_CONFIG_HEADERS([config.h]) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libXmu-1.2.0/m4/libtool.m4 new/libXmu-1.2.1/m4/libtool.m4 --- old/libXmu-1.2.0/m4/libtool.m4 2024-03-24 23:33:08.000000000 +0100 +++ new/libXmu-1.2.1/m4/libtool.m4 2024-04-16 22:02:23.000000000 +0200 @@ -1415,10 +1415,10 @@ x86_64-*linux*) LD="${LD-ld} -m elf_x86_64" ;; - powerpcle-*linux*) + powerpcle-*linux*|powerpc64le-*linux*) LD="${LD-ld} -m elf64lppc" ;; - powerpc-*linux*) + powerpc-*linux*|powerpc64-*linux*) LD="${LD-ld} -m elf64ppc" ;; s390*-*linux*|s390*-*tpf*) @@ -2656,11 +2656,11 @@ version_type=darwin need_lib_prefix=no need_version=no - library_names_spec='$libname$release$major$shared_ext $libname$shared_ext' + library_names_spec='$libname$release$versuffix$shared_ext $libname$release$major$shared_ext $libname$shared_ext' soname_spec='$libname$release$major$shared_ext' shlibpath_overrides_runpath=yes shlibpath_var=DYLD_LIBRARY_PATH - shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' + shrext_cmds='`test .$module = .yes && echo .bundle || echo .dylib`' m4_if([$1], [],[ sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"]) sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' @@ -2686,7 +2686,14 @@ *) objformat=elf ;; esac fi - version_type=freebsd-$objformat + # Handle Gentoo/FreeBSD as it was Linux + case $host_vendor in + gentoo) + version_type=linux ;; + *) + version_type=freebsd-$objformat ;; + esac + case $version_type in freebsd-elf*) library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' @@ -2698,6 +2705,12 @@ library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' need_version=yes ;; + linux) + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + need_lib_prefix=no + need_version=no + ;; esac shlibpath_var=LD_LIBRARY_PATH case $host_os in diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libXmu-1.2.0/test/StrToShap.c new/libXmu-1.2.1/test/StrToShap.c --- old/libXmu-1.2.0/test/StrToShap.c 2024-03-24 23:33:01.000000000 +0100 +++ new/libXmu-1.2.1/test/StrToShap.c 2024-04-16 22:02:19.000000000 +0200 @@ -172,8 +172,12 @@ value = 1984; from.addr = (XPointer) &value; g_test_message("ShapeStyleToString(%d)", value); - ret = XmuCvtShapeStyleToString(NULL, NULL, &nargs, &from, &to, NULL); - g_assert_cmpint(ret, ==, False); + if (setjmp(jmp_env) == 0) { + ret = XmuCvtShapeStyleToString(NULL, NULL, &nargs, &from, &to, NULL); + g_assert_cmpint(ret, ==, False); + } else { + /* We jumped here from error handler as expected. */ + } g_assert_cmpint(warning_count, >, 0); g_test_message("test_XmuCvtShapeStyleToString completed"); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libXmu-1.2.0/test/reallocarray.c new/libXmu-1.2.1/test/reallocarray.c --- old/libXmu-1.2.0/test/reallocarray.c 2024-03-24 23:33:01.000000000 +0100 +++ new/libXmu-1.2.1/test/reallocarray.c 2024-04-16 22:02:19.000000000 +0200 @@ -42,6 +42,9 @@ #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Walloc-size-larger-than=" +/* to silence missing prototype warning */ +void *Xmureallocarray(void *optr, size_t nmemb, size_t size); + /* * To ensure we're testing our Xmureallocarray and not any system-provided * reallocarray, we directly include code being tested, since it won't be