Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package mpir for openSUSE:Factory checked in 
at 2022-02-27 22:42:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mpir (Old)
 and      /work/SRC/openSUSE:Factory/.mpir.new.1958 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "mpir"

Sun Feb 27 22:42:45 2022 rev:11 rq:957755 version:3.0.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/mpir/mpir.changes        2019-08-27 
10:22:16.911935987 +0200
+++ /work/SRC/openSUSE:Factory/.mpir.new.1958/mpir.changes      2022-02-27 
22:42:52.514626646 +0100
@@ -1,0 +2,6 @@
+Fri Feb 25 13:33:43 UTC 2022 - Martin Li??ka <[email protected]>
+
+- Use -fwrapv in order to fix:
+  https://github.com/wbhart/mpir/issues/295.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ mpir.spec ++++++
--- /var/tmp/diff_new_pack.6DPsNK/_old  2022-02-27 22:42:53.014626793 +0100
+++ /var/tmp/diff_new_pack.6DPsNK/_new  2022-02-27 22:42:53.018626793 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package mpir
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# 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
@@ -67,7 +67,7 @@
 Requires:       %lnamexx = %version
 Requires:       libstdc++-devel
 Requires(post): %install_info_prereq
-Requires(postun): %install_info_prereq
+Requires(postun):%install_info_prereq
 
 %description -n libmpir-devel
 MPIR is an open source multiprecision integer library derived from version
@@ -87,8 +87,10 @@
 # Update configure scripts to modern versions.
 autoreconf -fi
 %global _lto_cflags %nil
-export CFLAGS="%optflags -fexceptions -Wno-error=return-type"
-export CXXFLAGS="%optflags -fexceptions -Wno-error=return-type"
+
+# Use -fwrap due to https://github.com/wbhart/mpir/issues/295
+export CFLAGS="%optflags -fexceptions -Wno-error=return-type -fwrapv"
+export CXXFLAGS="%optflags -fexceptions -Wno-error=return-type -fwrapv"
 # SLES11 %%configure contains --target=, but this is wrong to use.
 # Override with empty value to calm the scripts flagging uses of --target.
 %ifarch ppc64le

Reply via email to