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-04-08 17:17:55
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libdispatch (Old)
 and      /work/SRC/openSUSE:Factory/.libdispatch.new.21863 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libdispatch"

Wed Apr  8 17:17:55 2026 rev:8 rq:1345174 version:5.6.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/libdispatch/libdispatch.changes  2025-01-16 
18:34:47.895600812 +0100
+++ /work/SRC/openSUSE:Factory/.libdispatch.new.21863/libdispatch.changes       
2026-04-08 17:18:27.090636474 +0200
@@ -1,0 +2,7 @@
+Wed Apr  8 09:38:42 UTC 2026 - Max Lin <[email protected]>
+
+- Add silence-signedness-change-through-implicit-conversion-error.patch
+  * Silence signedness change through implicit conversion error. The
+    error pops up when using the rebranch Clang.
+
+-------------------------------------------------------------------

New:
----
  silence-signedness-change-through-implicit-conversion-error.patch

----------(New B)----------
  New:
- Add silence-signedness-change-through-implicit-conversion-error.patch
  * Silence signedness change through implicit conversion error. The
----------(New E)----------

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

Other differences:
------------------
++++++ libdispatch.spec ++++++
--- /var/tmp/diff_new_pack.mrAT0t/_old  2026-04-08 17:18:27.730662827 +0200
+++ /var/tmp/diff_new_pack.mrAT0t/_new  2026-04-08 17:18:27.734662992 +0200
@@ -31,6 +31,8 @@
 Patch2:         soversion.patch
 # UPSTREAM-PATCH 
https://github.com/swiftlang/swift-corelibs-libdispatch/pull/840
 Patch3:         disable-cast-function-type-mismatch.patch
+# PATCH-FIX-UPSTREAM 
https://github.com/swiftlang/swift-corelibs-libdispatch/pull/880
+Patch4:         
silence-signedness-change-through-implicit-conversion-error.patch
 BuildRequires:  chrpath
 BuildRequires:  clang
 BuildRequires:  cmake

++++++ silence-signedness-change-through-implicit-conversion-error.patch ++++++
>From 38872e2d44d66d2fb94186988509defc734888a5 Mon Sep 17 00:00:00 2001
From: Anthony Latsis <[email protected]>
Date: Mon, 9 Jun 2025 19:42:15 +0100
Subject: [PATCH] Silence signedness change through implicit conversion error

The error pops up when using the rebranch Clang (stable/20250402):

```
/home/build-user/swift-corelibs-libdispatch/src/event/event_epoll.c:92:27: 
error: implicit conversion changes signedness: 'int' to 'uint32_t' (aka 
'unsigned int') [-Werror,-Wsign-conversion]
92 |         return dmn->dmn_events & ~dmn->dmn_disarmed_events;
   |                                ~ ^~~~~~~~~~~~~~~~~~~~~~~~~
```
---
 src/event/event_epoll.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/event/event_epoll.c b/src/event/event_epoll.c
index f31d13e..b7fe837 100644
--- a/src/event/event_epoll.c
+++ b/src/event/event_epoll.c
@@ -89,7 +89,9 @@ DISPATCH_ALWAYS_INLINE
 static inline uint32_t
 _dispatch_muxnote_armed_events(dispatch_muxnote_t dmn)
 {
-       return dmn->dmn_events & ~dmn->dmn_disarmed_events;
+  uint32_t events = dmn->dmn_events;
+  uint16_t disarmed_events = dmn->dmn_disarmed_events;
+  return events & ~(uint32_t)disarmed_events;
 }
 
 DISPATCH_ALWAYS_INLINE
-- 
2.50.1

Reply via email to