Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package cmh for openSUSE:Factory checked in 
at 2022-07-19 17:19:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/cmh (Old)
 and      /work/SRC/openSUSE:Factory/.cmh.new.1523 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "cmh"

Tue Jul 19 17:19:19 2022 rev:3 rq:989677 version:1.1.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/cmh/cmh.changes  2021-03-02 12:45:24.056352625 
+0100
+++ /work/SRC/openSUSE:Factory/.cmh.new.1523/cmh.changes        2022-07-19 
17:19:23.332368798 +0200
@@ -1,0 +2,6 @@
+Thu Jul  7 09:01:58 UTC 2022 - Christophe Giboudeaux <[email protected]>
+
+- Apply patch from FreeBSD to fix build:
+  * patch-src_lll_cpp.patch
+
+-------------------------------------------------------------------

New:
----
  patch-src_lll_cpp.patch

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

Other differences:
------------------
++++++ cmh.spec ++++++
--- /var/tmp/diff_new_pack.pe6PQn/_old  2022-07-19 17:19:23.764369374 +0200
+++ /var/tmp/diff_new_pack.pe6PQn/_new  2022-07-19 17:19:23.768369379 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package cmh
 #
-# 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
@@ -27,6 +27,7 @@
 Source:         http://www.multiprecision.org/downloads/%name-%version.tar.gz
 #Source2:        
http://www.multiprecision.org/downloads/name-version.tar.gz.asc http 500
 Source3:        %name.keyring
+Patch0:         patch-src_lll_cpp.patch
 BuildRequires:  automake
 BuildRequires:  fplll-devel >= 4
 BuildRequires:  gcc-c++


++++++ patch-src_lll_cpp.patch ++++++
From: Christophe Giboudeaux <[email protected]>
Date: Thu, 7 Jul 2022 11:04:57

Reported to Emmanuel Thom?? <[email protected]> on 2022-06-06

Patch imported from FreeBSD.
https://cgit.freebsd.org/ports/diff/math/cmh/files/patch-src_lll.cpp?id=895156e45693d4bf7795927d198ba5493560b77d

diff --git a/src/lll.cpp b/src/lll.cpp
index 83dab07..f005931 100644
--- a/src/lll.cpp
+++ b/src/lll.cpp
@@ -37,7 +37,7 @@
 #ifdef HAVE_FPLLL
 static void lll_fplll (mpz_t *v, mpz_t **M, const int m, const int n)
 {
-   ZZ_mat <mpz_t> Mp (m, n);
+   fplll::ZZ_mat <mpz_t> Mp (m, n);
    int i, j;
 
    for (i = 0; i < m; i++)

Reply via email to