Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package gnustep-libobjc2 for 
openSUSE:Factory checked in at 2022-06-26 11:59:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gnustep-libobjc2 (Old)
 and      /work/SRC/openSUSE:Factory/.gnustep-libobjc2.new.1548 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gnustep-libobjc2"

Sun Jun 26 11:59:19 2022 rev:6 rq:985065 version:2.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/gnustep-libobjc2/gnustep-libobjc2.changes        
2021-03-06 21:18:59.209257910 +0100
+++ 
/work/SRC/openSUSE:Factory/.gnustep-libobjc2.new.1548/gnustep-libobjc2.changes  
    2022-06-26 11:59:28.960372672 +0200
@@ -1,0 +2,6 @@
+Sat Jun 25 14:34:17 UTC 2022 - Antoine Belvire <[email protected]>
+
+- Add gnustep-libobjc2-2.1-fix-trampoline-flags.patch
+  (gh#gnustep/libobjc2#177).
+
+-------------------------------------------------------------------

New:
----
  gnustep-libobjc2-2.1-fix-trampoline-flags.patch

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

Other differences:
------------------
++++++ gnustep-libobjc2.spec ++++++
--- /var/tmp/diff_new_pack.FO1COO/_old  2022-06-26 11:59:29.528373498 +0200
+++ /var/tmp/diff_new_pack.FO1COO/_new  2022-06-26 11:59:29.532373504 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package gnustep-libobjc2
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -26,6 +26,8 @@
 Group:          Development/Languages/C and C++
 URL:            https://github.com/gnustep/libobjc2
 Source:         
https://github.com/gnustep/libobjc2/archive/v%{version}/%{_oname}-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM gnustep-libobjc2-2.1-fix-trampoline-flags.patch -- 
gh#gnustep/libobjc2#177
+Patch0:         gnustep-libobjc2-2.1-fix-trampoline-flags.patch
 BuildRequires:  cmake >= 3.1
 BuildRequires:  fdupes
 BuildRequires:  gnustep-make
@@ -69,7 +71,7 @@
 to develop applications with the GNUstep Objective-C runtime.
 
 %prep
-%setup -q -n %{_oname}-%{version}
+%autosetup -p1 -n %{_oname}-%{version}
 # Add link to build against system's robin-map-devel
 mkdir third_party/robin-map/include
 ln -s %{_includedir}/tsl third_party/robin-map/include/tsl

++++++ gnustep-libobjc2-2.1-fix-trampoline-flags.patch ++++++
>From 365e53632e8be41e49f21ee47a63e41be424a237 Mon Sep 17 00:00:00 2001
From: David Chisnall <[email protected]>
Date: Wed, 26 Aug 2020 16:37:06 +0100
Subject: [PATCH] Don't use CXXFLAGS when compiling eh_trampoline.cc

The way that we were doing this didn't handle multiple flags and we
actually don't want the user to override these flags because that file
needs to be compiled in a very specific way.

Fixes #177
---
 CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index e2746e93..80b7dfed 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -317,7 +317,7 @@ if (ENABLE_OBJCXX)
                        endif()
                endif ()
                add_custom_command(OUTPUT eh_trampoline.s
-                       COMMAND ${CMAKE_CXX_COMPILER} ${CMAKE_CXX_FLAGS} -fPIC 
-S "${CMAKE_SOURCE_DIR}/eh_trampoline.cc" -o - -fexceptions -fno-inline | sed 
"s/__gxx_personality_v0/test_eh_personality/g" > 
"${CMAKE_BINARY_DIR}/eh_trampoline.s"
+                       COMMAND ${CMAKE_CXX_COMPILER} -fPIC -S 
"${CMAKE_SOURCE_DIR}/eh_trampoline.cc" -o - -fexceptions -fno-inline | sed 
"s/__gxx_personality_v0/test_eh_personality/g" > 
"${CMAKE_BINARY_DIR}/eh_trampoline.s"
                        MAIN_DEPENDENCY eh_trampoline.cc)
                list(APPEND libobjc_ASM_SRCS eh_trampoline.s)
                list(APPEND libobjc_CXX_SRCS objcxx_eh.cc)

Reply via email to