Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package snappy for openSUSE:Factory checked 
in at 2021-11-06 18:15:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/snappy (Old)
 and      /work/SRC/openSUSE:Factory/.snappy.new.1890 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "snappy"

Sat Nov  6 18:15:40 2021 rev:9 rq:929633 version:1.1.9

Changes:
--------
--- /work/SRC/openSUSE:Factory/snappy/snappy.changes    2021-08-04 
22:28:17.705845591 +0200
+++ /work/SRC/openSUSE:Factory/.snappy.new.1890/snappy.changes  2021-11-06 
18:18:02.148884704 +0100
@@ -1,0 +2,7 @@
+Wed Oct 27 06:25:52 UTC 2021 - Tim Serong <[email protected]>
+
+- Re-enable RTTI, without which other applications can't subclass
+  snappy::Source (this breaks Ceph, as one example)
+- Add reenable-rtti.patch
+
+-------------------------------------------------------------------

New:
----
  reenable-rtti.patch

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

Other differences:
------------------
++++++ snappy.spec ++++++
--- /var/tmp/diff_new_pack.e57uCb/_old  2021-11-06 18:18:03.728885521 +0100
+++ /var/tmp/diff_new_pack.e57uCb/_new  2021-11-06 18:18:03.728885521 +0100
@@ -29,6 +29,7 @@
 Source99:       baselibs.conf
 Patch0:         use-system-test-libs.patch
 Patch1:         fix-always-inline.patch
+Patch2:         reenable-rtti.patch
 BuildRequires:  cmake
 BuildRequires:  gcc-c++
 BuildRequires:  lzo-devel

++++++ reenable-rtti.patch ++++++
Index: snappy-1.1.9/CMakeLists.txt
===================================================================
--- snappy-1.1.9.orig/CMakeLists.txt
+++ snappy-1.1.9/CMakeLists.txt
@@ -51,10 +51,6 @@ if(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC"
   string(REGEX REPLACE "/EH[a-z]+" "" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}")
   set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /EHs-c-")
   add_definitions(-D_HAS_EXCEPTIONS=0)
-
-  # Disable RTTI.
-  string(REGEX REPLACE "/GR" "" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}")
-  set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /GR-")
 else(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
   # Use -Wall for clang and gcc.
   if(NOT CMAKE_CXX_FLAGS MATCHES "-Wall")
@@ -77,9 +73,6 @@ else(CMAKE_CXX_COMPILER_ID STREQUAL "MSV
   string(REGEX REPLACE "-fexceptions" "" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}")
   set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-exceptions")
 
-  # Disable RTTI.
-  string(REGEX REPLACE "-frtti" "" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}")
-  set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-rtti")
 endif(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
 
 # BUILD_SHARED_LIBS is a standard CMake variable, but we declare it here to 
make

Reply via email to