Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libdispatch for openSUSE:Factory 
checked in at 2026-09-28 10:47:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libdispatch (Old)
 and      /work/SRC/openSUSE:Factory/.libdispatch.new.383539 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libdispatch"

Mon Sep 28 10:47:34 2026 rev:13 rq:1380967 version:6.4.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/libdispatch/libdispatch.changes  2026-07-26 
11:32:34.219179828 +0200
+++ /work/SRC/openSUSE:Factory/.libdispatch.new.383539/libdispatch.changes      
2026-09-28 10:48:17.253565164 +0200
@@ -1,0 +2,18 @@
+Sun Sep 27 15:01:55 UTC 2026 - Martin Pluskal <[email protected]>
+
+- Update to version 6.4.0 (swift-6.4.0-RELEASE):
+  * Fix worker thread name handling on Linux: replace the queue-label
+    truncation with a static name, fixing a size_t underflow and
+    stale thread names (upstream issue #600)
+  * Fix pthread_setname_np detection on Amazon Linux 2
+  * Fix kevent timer delays on OpenBSD and OpenBSD thread-name
+    accessor spelling
+  * Add a CODEOWNERS file
+- Raise the cmake BuildRequires floor to >= 3.26, matching
+  upstream cmake_minimum_required
+- Add disable-unused-but-set-global-error.patch: demote the new
+  clang -Wunused-but-set-global error to a warning, so the build
+  passes with -Werror (the set-but-never-read global it fires on
+  is pre-existing upstream code, also present at 6.3.3)
+
+-------------------------------------------------------------------

Old:
----
  corelibs-libdispatch-6.3.3.tar.gz

New:
----
  corelibs-libdispatch-6.4.0.tar.gz
  disable-unused-but-set-global-error.patch

----------(New B)----------
  New:  upstream cmake_minimum_required
- Add disable-unused-but-set-global-error.patch: demote the new
  clang -Wunused-but-set-global error to a warning, so the build
----------(New E)----------

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

Other differences:
------------------
++++++ libdispatch.spec ++++++
--- /var/tmp/diff_new_pack.JIGQil/_old  2026-09-28 10:48:17.895592063 +0200
+++ /var/tmp/diff_new_pack.JIGQil/_new  2026-09-28 10:48:17.897592147 +0200
@@ -18,7 +18,7 @@
 
 %define reltag %{version}-RELEASE
 Name:           libdispatch
-Version:        6.3.3
+Version:        6.4.0
 Release:        0
 Summary:        Apple's Grand Central Dispatch library
 License:        Apache-2.0
@@ -26,9 +26,13 @@
 Source0:        
https://github.com/swiftlang/swift-corelibs-libdispatch/archive/swift-%{reltag}.tar.gz#/corelibs-libdispatch-%{version}.tar.gz
 # PATCH-FIX-OPENSUSE set library versions
 Patch0:         soversion.patch
+# PATCH-FIX-OPENSUSE demote the -Wunused-but-set-global error that newer
+# clang raises for the set-but-never-read (on Linux) global
+# _dispatch_program_is_probably_callback_driven in src/queue.c
+Patch1:         disable-unused-but-set-global-error.patch
 BuildRequires:  chrpath
 BuildRequires:  clang
-BuildRequires:  cmake
+BuildRequires:  cmake >= 3.26
 BuildRequires:  libstdc++-devel
 BuildRequires:  llvm-gold
 BuildRequires:  ninja

++++++ corelibs-libdispatch-6.3.3.tar.gz -> corelibs-libdispatch-6.4.0.tar.gz 
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/swift-corelibs-libdispatch-swift-6.3.3-RELEASE/.github/CODEOWNERS 
new/swift-corelibs-libdispatch-swift-6.4.0-RELEASE/.github/CODEOWNERS
--- old/swift-corelibs-libdispatch-swift-6.3.3-RELEASE/.github/CODEOWNERS       
1970-01-01 01:00:00.000000000 +0100
+++ new/swift-corelibs-libdispatch-swift-6.4.0-RELEASE/.github/CODEOWNERS       
2026-05-01 04:25:26.000000000 +0200
@@ -0,0 +1,23 @@
+# Lines starting with '#' are comments.
+#
+# File patterns are case-sensitive and follow most of the same rules used in
+# .gitignore files. Start patterns that are meant to be relative to the root
+# with a forward slash to prevent the matching from occurring at an arbitraty
+# level. End patterns that are meant to match directories with a forward slash
+# to make it visually apparent.
+#
+# Each file pattern should be followed by one or more GitHub usernames or team
+# names using the standard @username or @swiftlang/team-name format. Please
+# order these names lexicographically.
+#
+# Line order is important. The last matching pattern in this file takes
+# precedence.
+# More information: https://docs.github.com/en/articles/about-code-owners
+#
+# Please list patterns by mirroring the repository's file hierarchy in
+# case-sensitive lexicographic order. This approach follows a well-established
+# and familiar order for navigation, helps to avoid inadvertent ownership
+# overrides, and makes uncharted parts of the repository easier to pin down.
+
+# Default code owner of everything.
+* @akmorrison @compnerd
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/swift-corelibs-libdispatch-swift-6.3.3-RELEASE/CMakeLists.txt 
new/swift-corelibs-libdispatch-swift-6.4.0-RELEASE/CMakeLists.txt
--- old/swift-corelibs-libdispatch-swift-6.3.3-RELEASE/CMakeLists.txt   
2026-05-01 04:25:11.000000000 +0200
+++ new/swift-corelibs-libdispatch-swift-6.4.0-RELEASE/CMakeLists.txt   
2026-05-01 04:25:26.000000000 +0200
@@ -271,7 +271,7 @@
 check_symbol_exists(__printflike "bsd/sys/cdefs.h" HAVE_PRINTFLIKE)
 if(UNIX)
   list(APPEND CMAKE_REQUIRED_LIBRARIES Threads::Threads)
-  check_symbol_exists(pthread_setname_np "pthread.h;pthread_np.h" 
HAVE_PTHREAD_SETNAME_NP)
+  check_symbol_exists(pthread_setname_np "pthread.h" HAVE_PTHREAD_SETNAME_NP)
   check_symbol_exists(pthread_getname_np "pthread.h;pthread_np.h" 
HAVE_PTHREAD_GETNAME_NP)
   check_symbol_exists(pthread_get_name_np "pthread.h;pthread_np.h" 
HAVE_PTHREAD_GET_NAME_NP)
   check_symbol_exists(pthread_set_name_np "pthread.h;pthread_np.h" 
HAVE_PTHREAD_SET_NAME_NP)

++++++ disable-unused-but-set-global-error.patch ++++++
--- a/cmake/modules/DispatchCompilerWarnings.cmake
+++ b/cmake/modules/DispatchCompilerWarnings.cmake
@@ -78,6 +78,10 @@
   endif()
   add_compile_options($<$<COMPILE_LANGUAGE:C,CXX>:-Wno-error=assign-enum>)

+  # Newer clang diagnoses the set-but-never-read (on Linux) global
+  # _dispatch_program_is_probably_callback_driven in src/queue.c.
+  
add_compile_options($<$<COMPILE_LANGUAGE:C,CXX>:-Wno-error=unused-but-set-global>)
+
   # Should re-enable after rdar://133498289 is fixed (ie. fixing the one 
mismatched cast in apply.c)
   
add_compile_options($<$<COMPILE_LANGUAGE:C,CXX>:-Wno-cast-function-type-mismatch>)
   
add_compile_options($<$<COMPILE_LANGUAGE:C,CXX>:-Wno-error=unknown-warning-option>)

Reply via email to