Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libdispatch for openSUSE:Factory 
checked in at 2025-01-16 18:34:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libdispatch (Old)
 and      /work/SRC/openSUSE:Factory/.libdispatch.new.1881 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libdispatch"

Thu Jan 16 18:34:25 2025 rev:7 rq:1238203 version:5.6.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/libdispatch/libdispatch.changes  2023-07-14 
15:36:22.070189705 +0200
+++ /work/SRC/openSUSE:Factory/.libdispatch.new.1881/libdispatch.changes        
2025-01-16 18:34:47.895600812 +0100
@@ -1,0 +2,7 @@
+Thu Jan 16 09:23:41 UTC 2025 - Ana Guerrero <ana.guerr...@suse.com>
+
+- Add disable-cast-function-type-mismatch.patch
+  Disable new cast-function-type-mismatch while a proper fix is
+  provided by upstream.
+
+-------------------------------------------------------------------

New:
----
  disable-cast-function-type-mismatch.patch

BETA DEBUG BEGIN:
  New:
- Add disable-cast-function-type-mismatch.patch
  Disable new cast-function-type-mismatch while a proper fix is
BETA DEBUG END:

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

Other differences:
------------------
++++++ libdispatch.spec ++++++
--- /var/tmp/diff_new_pack.RqDqxZ/_old  2025-01-16 18:34:48.379620796 +0100
+++ /var/tmp/diff_new_pack.RqDqxZ/_new  2025-01-16 18:34:48.379620796 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libdispatch
 #
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2025 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -29,6 +29,8 @@
 Patch0:         prevent_unused.patch
 # set library versions
 Patch2:         soversion.patch
+# UPSTREAM-PATCH 
https://github.com/swiftlang/swift-corelibs-libdispatch/pull/840
+Patch3:         disable-cast-function-type-mismatch.patch
 BuildRequires:  chrpath
 BuildRequires:  clang
 BuildRequires:  cmake

++++++ disable-cast-function-type-mismatch.patch ++++++
>From 1990f4ede558773949580c49e74261a5e542e75e Mon Sep 17 00:00:00 2001
From: Ben Barham <ben_bar...@apple.com>
Date: Thu, 8 Aug 2024 16:25:51 -0700
Subject: [PATCH] Disable new `cast-function-type-mismatch`

Should fix this properly, but for now just disable the warning itself.
---
 cmake/modules/DispatchCompilerWarnings.cmake | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/cmake/modules/DispatchCompilerWarnings.cmake 
b/cmake/modules/DispatchCompilerWarnings.cmake
index 9f390f010..cd71f36e5 100644
--- a/cmake/modules/DispatchCompilerWarnings.cmake
+++ b/cmake/modules/DispatchCompilerWarnings.cmake
@@ -77,4 +77,8 @@ else()
     
add_compile_options($<$<OR:$<COMPILE_LANGUAGE:C>,$<COMPILE_LANGUAGE:CXX>>:-Wno-shorten-64-to-32>)
   endif()
   
add_compile_options($<$<OR:$<COMPILE_LANGUAGE:C>,$<COMPILE_LANGUAGE:CXX>>:-Wno-error=assign-enum>)
+
+  # Should re-enable after rdar://133498289 is fixed (ie. fixing the one 
mismatched cast in apply.c)
+  
add_compile_options($<$<OR:$<COMPILE_LANGUAGE:C>,$<COMPILE_LANGUAGE:CXX>>:-Wno-cast-function-type-mismatch>)
+  
add_compile_options($<$<OR:$<COMPILE_LANGUAGE:C>,$<COMPILE_LANGUAGE:CXX>>:-Wno-error=unknown-warning-option>)
 endif()

Reply via email to