Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package mimic for openSUSE:Factory checked 
in at 2022-11-01 13:42:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mimic (Old)
 and      /work/SRC/openSUSE:Factory/.mimic.new.2275 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "mimic"

Tue Nov  1 13:42:36 2022 rev:4 rq:1032543 version:1.3.0.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/mimic/mimic.changes      2021-04-19 
21:07:23.340154372 +0200
+++ /work/SRC/openSUSE:Factory/.mimic.new.2275/mimic.changes    2022-11-01 
13:42:43.187944462 +0100
@@ -1,0 +2,6 @@
+Mon Oct 31 14:45:25 UTC 2022 - Dominique Leuenberger <dims...@opensuse.org>
+
+- Add mimic-HTS_Free.patch: use HTS_free instead of libc's free()
+  function (https://github.com/MycroftAI/mimic1/issues/231).
+
+-------------------------------------------------------------------

New:
----
  mimic-HTS_Free.patch

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

Other differences:
------------------
++++++ mimic.spec ++++++
--- /var/tmp/diff_new_pack.tCxuQK/_old  2022-11-01 13:42:44.819953144 +0100
+++ /var/tmp/diff_new_pack.tCxuQK/_new  2022-11-01 13:42:44.823953165 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package mimic
 #
-# 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
@@ -25,6 +25,7 @@
 Group:          Productivity/Text/Convertors
 URL:            https://mimic.mycroft.ai
 Source:         https://github.com/MycroftAI/mimic/archive/%{version}.tar.gz
+Patch0:         mimic-HTS_Free.patch
 BuildRequires:  automake
 BuildRequires:  gcc
 BuildRequires:  libtool
@@ -63,7 +64,7 @@
 This package contains the headers and development libraries for mimic.
 
 %prep
-%setup -q -n %{name}1-%{version}
+%autosetup -p1 -n %{name}1-%{version}
 
 %build
 ./autogen.sh

++++++ mimic-HTS_Free.patch ++++++
Index: mimic1-1.3.0.1/src/hts/hts_engine_API/lib/HTS_model.c
===================================================================
--- mimic1-1.3.0.1.orig/src/hts/hts_engine_API/lib/HTS_model.c
+++ mimic1-1.3.0.1/src/hts/hts_engine_API/lib/HTS_model.c
@@ -698,7 +698,7 @@ static HTS_Boolean HTS_Model_load_pdf(HT
    }
    if (result == FALSE) {
       model->npdf += 2;
-      free(model->npdf);
+      HTS_free(model->npdf);
       HTS_Model_initialize(model);
       return FALSE;
    }

Reply via email to