Hello community,

here is the log from the commit of package hfst-ospell for openSUSE:Factory 
checked in at 2020-03-31 17:32:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/hfst-ospell (Old)
 and      /work/SRC/openSUSE:Factory/.hfst-ospell.new.3160 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "hfst-ospell"

Tue Mar 31 17:32:03 2020 rev:6 rq:789082 version:0.5.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/hfst-ospell/hfst-ospell.changes  2020-02-20 
14:55:12.714268231 +0100
+++ /work/SRC/openSUSE:Factory/.hfst-ospell.new.3160/hfst-ospell.changes        
2020-03-31 17:32:14.536260380 +0200
@@ -1,0 +2,6 @@
+Fri Mar 27 14:25:33 UTC 2020 - Martin Liška <mli...@suse.cz>
+
+- Fix boo#1158318 by
+  gcc10-Fix-a-typo-in-wide-string-conversion-function-49.patch.
+
+-------------------------------------------------------------------

New:
----
  gcc10-Fix-a-typo-in-wide-string-conversion-function-49.patch

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

Other differences:
------------------
++++++ hfst-ospell.spec ++++++
--- /var/tmp/diff_new_pack.ymrxXG/_old  2020-03-31 17:32:15.600261003 +0200
+++ /var/tmp/diff_new_pack.ymrxXG/_new  2020-03-31 17:32:15.600261003 +0200
@@ -27,6 +27,7 @@
 URL:            https://hfst.github.io/
 Source0:        
https://github.com/hfst/%{name}/releases/download/v%{version}/%{_name}-%{version}.tar.gz
 Source99:       baselibs.conf
+Patch0:         gcc10-Fix-a-typo-in-wide-string-conversion-function-49.patch
 BuildRequires:  gcc-c++
 BuildRequires:  libtool
 BuildRequires:  pkgconfig
@@ -56,6 +57,7 @@
 
 %prep
 %setup -q -n %{_name}-%{version}
+%patch0 -p1
 
 %build
 # disable libxml++ as upstream requires version 2.6

++++++ gcc10-Fix-a-typo-in-wide-string-conversion-function-49.patch ++++++
>From a9d5afb14aa71893f142dfd3ae735e8930aa0f8a Mon Sep 17 00:00:00 2001
From: Martin Liska <mli...@suse.cz>
Date: Mon, 16 Mar 2020 11:32:10 +0100
Subject: [PATCH] Fix a typo in wide string conversion function (#49).

Revert a hunk from:
04e4843e4c66beb61b756f3ceb2ac94628142185.
---
 main.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/main.cc b/main.cc
index abecf46..e4fd676 100644
--- a/main.cc
+++ b/main.cc
@@ -61,7 +61,7 @@ static bool suggest_reals = false;
 #ifdef WINDOWS
 static std::string wide_string_to_string(const std::wstring & wstr)
 {
-  int size_needed = WideCharToMultiByte(CP_UTF8, 0, &wstr[0], 
(int)§wstr.size(), NULL, 0, NULL, NULL);
+  int size_needed = WideCharToMultiByte(CP_UTF8, 0, &wstr[0], 
(int)wstr.size(), NULL, 0, NULL, NULL);
   std::string str( size_needed, 0 );
   WideCharToMultiByte(CP_UTF8, 0, &wstr[0], (int)wstr.size(), &str[0], 
size_needed, NULL, NULL);
   return str;
-- 
2.26.0


Reply via email to