Hello community,

here is the log from the commit of package belr for openSUSE:Factory checked in 
at 2020-08-03 14:15:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/belr (Old)
 and      /work/SRC/openSUSE:Factory/.belr.new.3592 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "belr"

Mon Aug  3 14:15:13 2020 rev:8 rq:823436 version:4.4.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/belr/belr.changes        2020-06-10 
00:40:44.121764762 +0200
+++ /work/SRC/openSUSE:Factory/.belr.new.3592/belr.changes      2020-08-03 
14:15:53.340529351 +0200
@@ -1,0 +2,10 @@
+Wed Jul 29 14:46:36 UTC 2020 - Alexei Sorokin <[email protected]>
+
+- Update to version 4.4.0:
+  * Fix a bug with the use of createRootObject().
+    It wasn't passed the size of what was really parsed, which was
+    confusing for the DebugParser and the output of belr-parse tool.
+  * Add Iphlpapi dependency for using liblinphone
+    GetAdaptersAddresses.
+
+-------------------------------------------------------------------

Old:
----
  belr-4.3.1.tar.bz2

New:
----
  belr-4.4.0.tar.bz2

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

Other differences:
------------------
++++++ belr.spec ++++++
--- /var/tmp/diff_new_pack.M5ndBr/_old  2020-08-03 14:15:55.908531926 +0200
+++ /var/tmp/diff_new_pack.M5ndBr/_new  2020-08-03 14:15:55.908531926 +0200
@@ -19,7 +19,7 @@
 %define soname  libbelr
 %define sover   1
 Name:           belr
-Version:        4.3.1
+Version:        4.4.0
 Release:        0
 Summary:        Language recognition library
 License:        GPL-3.0-or-later
@@ -31,7 +31,7 @@
 BuildRequires:  cmake
 BuildRequires:  gcc-c++
 BuildRequires:  pkgconfig
-BuildRequires:  pkgconfig(bctoolbox) >= 4.3.0
+BuildRequires:  pkgconfig(bctoolbox) >= 4.4.0
 
 %description
 Belr parses input formatted according to a language defined by an

++++++ belr-4.3.1.tar.bz2 -> belr-4.4.0.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/belr-4.3.1/CMakeLists.txt 
new/belr-4.4.0/CMakeLists.txt
--- old/belr-4.3.1/CMakeLists.txt       2019-12-11 11:36:05.000000000 +0100
+++ new/belr-4.4.0/CMakeLists.txt       2020-04-02 22:21:20.000000000 +0200
@@ -21,7 +21,7 @@
 ############################################################################
 
 cmake_minimum_required(VERSION 3.1)
-project(BELR VERSION 4.3.0 LANGUAGES C CXX)
+project(BELR VERSION 4.4.0 LANGUAGES C CXX)
 
 set(BELR_SO_VERSION "1")
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/belr-4.3.1/include/belr/parser.h 
new/belr-4.4.0/include/belr/parser.h
--- old/belr-4.3.1/include/belr/parser.h        2019-12-11 11:36:05.000000000 
+0100
+++ new/belr-4.4.0/include/belr/parser.h        2020-04-02 22:21:20.000000000 
+0200
@@ -210,7 +210,7 @@
 class ParserContext : public ParserContextBase{
 public:
        ParserContext(Parser<_parserElementT> &parser);
-       _parserElementT createRootObject(const std::string &input);
+       _parserElementT createRootObject(const std::string &input, size_t 
count);
 
 protected:
        void beginParse(ParserLocalContext &ctx, const 
std::shared_ptr<Recognizer> &rec) override;
@@ -498,8 +498,8 @@
 }
 
 template <typename _parserElementT>
-_parserElementT ParserContext<_parserElementT>::createRootObject(const 
std::string &input){
-        return mRoot ? mRoot->realize(input,0,input.size()) : nullptr;
+_parserElementT ParserContext<_parserElementT>::createRootObject(const 
std::string &input, size_t count){
+        return mRoot ? mRoot->realize(input, 0, count) : nullptr;
 }
 
 template <typename _parserElementT>
@@ -600,7 +600,7 @@
        //auto t_end = std::chrono::high_resolution_clock::now();
        //cout<<"Recognition done in "<<std::chrono::duration<double, 
std::milli>(t_end-t_start).count()<<" milliseconds"<<std::endl;
        if (parsed_size) *parsed_size=parsed;
-       auto ret= pctx->createRootObject(input);
+       auto ret= pctx->createRootObject(input, parsed);
        return ret;
 }
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/belr-4.3.1/src/CMakeLists.txt 
new/belr-4.4.0/src/CMakeLists.txt
--- old/belr-4.3.1/src/CMakeLists.txt   2019-12-11 11:36:05.000000000 +0100
+++ new/belr-4.4.0/src/CMakeLists.txt   2020-04-02 22:21:20.000000000 +0200
@@ -40,7 +40,7 @@
 )
 
 if(WIN32 AND NOT CMAKE_SYSTEM_NAME STREQUAL "WindowsStore")
-       list(APPEND LIBS ws2_32)
+       list(APPEND LIBS ws2_32 Iphlpapi)
 endif()
 
 if(ENABLE_STATIC)


Reply via email to