Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package mt32emu for openSUSE:Factory checked in at 2021-07-21 19:06:33 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/mt32emu (Old) and /work/SRC/openSUSE:Factory/.mt32emu.new.2632 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "mt32emu" Wed Jul 21 19:06:33 2021 rev:6 rq:907427 version:2.5.2 Changes: -------- --- /work/SRC/openSUSE:Factory/mt32emu/mt32emu.changes 2021-06-06 22:41:10.611454029 +0200 +++ /work/SRC/openSUSE:Factory/.mt32emu.new.2632/mt32emu.changes 2021-07-21 19:07:44.315433141 +0200 @@ -1,0 +2,8 @@ +Wed Jul 21 06:57:24 UTC 2021 - ???????? ???????????? <i...@ilya.pp.ua> + +- Updated to 2.5.2. + * Fixed compilation of client programs written in C when the + automatic runtime version check is enabled with the preprocessor + macro MT32EMU_RUNTIME_VERSION_CHECK 2. + +------------------------------------------------------------------- @@ -4 +12,2 @@ -- Fixed incorrect delete statement in ROMImage dtor, affects memory +- Updated to 2.5.1. + * Fixed incorrect delete statement in ROMImage dtor, affects memory Old: ---- munt-libmt32emu_2_5_1.tar.gz New: ---- munt-libmt32emu_2_5_2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ mt32emu.spec ++++++ --- /var/tmp/diff_new_pack.T2Au0J/_old 2021-07-21 19:07:44.791433968 +0200 +++ /var/tmp/diff_new_pack.T2Au0J/_new 2021-07-21 19:07:44.795433976 +0200 @@ -17,10 +17,10 @@ %define s_name munt-lib%{name}_%{s_ver} -%define s_ver 2_5_1 +%define s_ver 2_5_2 %define sover 2 Name: mt32emu -Version: 2.5.1 +Version: 2.5.2 Release: 0 Summary: An emulator of the Roland MT-32, CM-32L and LAPC-I synthesiser modules License: GPL-3.0-or-later AND LGPL-2.1-or-later ++++++ munt-libmt32emu_2_5_1.tar.gz -> munt-libmt32emu_2_5_2.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/munt-libmt32emu_2_5_1/mt32emu/AUTHORS.txt new/munt-libmt32emu_2_5_2/mt32emu/AUTHORS.txt --- old/munt-libmt32emu_2_5_1/mt32emu/AUTHORS.txt 2021-05-22 12:07:50.000000000 +0200 +++ new/munt-libmt32emu_2_5_2/mt32emu/AUTHORS.txt 2021-07-18 09:16:09.000000000 +0200 @@ -41,12 +41,40 @@ Also thanks go to Kaminari Redux, NewRisingSun, robertmo, ripsaw8080, Mau1wurf1977 and other inhabitants of VOGONS for their suggestions and help with debugging. -Third-party code and code contributions ---------------------------------------- +Third-party code incorporated in library +---------------------------------------- The library incorporates a fast C++ implementation of SHA1 algorithm with a small memory footprint (https://code.google.com/archive/p/smallsha1/). Copyright (c) 2011, Micael Hildenborg. -Distributed under the BSD 3-clause license. +Distributed under the BSD 3-clause license as stated below. + + Copyright (c) 2011, Micael Hildenborg + All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + * Neither the name of Micael Hildenborg nor the + names of its contributors may be used to endorse or promote products + derived from this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY Micael Hildenborg ''AS IS'' AND ANY + EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + DISCLAIMED. IN NO EVENT SHALL Micael Hildenborg BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; + LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND + ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +Other code contributions +------------------------ We are grateful to many other contributors to the library code who submitted pull requests at GitHub with bug fixes, suggestions and improvements. See the main code repository diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/munt-libmt32emu_2_5_1/mt32emu/CMakeLists.txt new/munt-libmt32emu_2_5_2/mt32emu/CMakeLists.txt --- old/munt-libmt32emu_2_5_1/mt32emu/CMakeLists.txt 2021-05-22 12:07:50.000000000 +0200 +++ new/munt-libmt32emu_2_5_2/mt32emu/CMakeLists.txt 2021-07-18 09:16:09.000000000 +0200 @@ -7,7 +7,7 @@ set(libmt32emu_URL "http://munt.sourceforge.net/") set(libmt32emu_VERSION_MAJOR 2) set(libmt32emu_VERSION_MINOR 5) -set(libmt32emu_VERSION_PATCH 1) +set(libmt32emu_VERSION_PATCH 2) set(libmt32emu_VERSION "${libmt32emu_VERSION_MAJOR}.${libmt32emu_VERSION_MINOR}.${libmt32emu_VERSION_PATCH}") if(${munt_WITH_MT32EMU_SMF2WAV} OR ${munt_WITH_MT32EMU_QT}) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/munt-libmt32emu_2_5_1/mt32emu/NEWS.txt new/munt-libmt32emu_2_5_2/mt32emu/NEWS.txt --- old/munt-libmt32emu_2_5_1/mt32emu/NEWS.txt 2021-05-22 12:07:50.000000000 +0200 +++ new/munt-libmt32emu_2_5_2/mt32emu/NEWS.txt 2021-07-18 09:16:09.000000000 +0200 @@ -1,3 +1,12 @@ +2021-07-18: + + 2.5.2 released. + + * Fixed compilation of client programs written in C when the automatic runtime version check + is enabled with the preprocessor macro MT32EMU_RUNTIME_VERSION_CHECK 2. This may be needed + on systems where symbol versioning is unavailable. (#71) + * Tweaked AUTHORS.txt to contain the entire license of embedded third-party code. + 2021-05-22: 2.5.1 released. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/munt-libmt32emu_2_5_1/mt32emu/src/VersionTagging.h new/munt-libmt32emu_2_5_2/mt32emu/src/VersionTagging.h --- old/munt-libmt32emu_2_5_1/mt32emu/src/VersionTagging.h 2021-05-22 12:07:50.000000000 +0200 +++ new/munt-libmt32emu_2_5_2/mt32emu/src/VersionTagging.h 2021-07-18 09:16:09.000000000 +0200 @@ -20,25 +20,39 @@ #include "globals.h" -// This is intended to implement a simple check of a shared library version in runtime. Sadly, per-symbol versioning -// is unavailable on many platforms, and even where it is, it's still not too easy to maintain for a C++ library. -// Therefore, the goal here is just to ensure that the client application quickly bails out when attempted to run -// with an older version of shared library, as well as to produce a more readable error message indicating a version mismatch -// rather than a report about some missing symbols with unreadable mangled names. -// This is an optional feature, since it adds some minor burden to both the library and client applications code, -// albeit it is ought to work on platforms that do not implement symbol versioning. +/* This is intended to implement a simple check of a shared library version in runtime. Sadly, per-symbol versioning + * is unavailable on many platforms, and even where it is, it's still not too easy to maintain for a C++ library. + * Therefore, the goal here is just to ensure that the client application quickly bails out when attempted to run + * with an older version of shared library, as well as to produce a more readable error message indicating a version mismatch + * rather than a report about some missing symbols with unreadable mangled names. + * This is an optional feature, since it adds some minor burden to both the library and client applications code, + * albeit it is ought to work on platforms that do not implement symbol versioning. + */ #define MT32EMU_REALLY_BUILD_VERSION_TAG(major, minor) mt32emu_ ## major ## _ ## minor -// This macro expansion step permits resolution the actual version numbers. +/* This macro expansion step permits resolution the actual version numbers. */ #define MT32EMU_BUILD_VERSION_TAG(major, minor) MT32EMU_REALLY_BUILD_VERSION_TAG(major, minor) #define MT32EMU_VERSION_TAG MT32EMU_BUILD_VERSION_TAG(MT32EMU_VERSION_MAJOR, MT32EMU_VERSION_MINOR) +#if defined(__cplusplus) + extern "C" { MT32EMU_EXPORT extern const volatile char MT32EMU_VERSION_TAG; } // This pulls the external reference in yet prevents it from being optimised out. static const volatile char mt32emu_version_tag = MT32EMU_VERSION_TAG; +#else + +static void mt32emu_refer_version_tag(void) { + MT32EMU_EXPORT extern const volatile char MT32EMU_VERSION_TAG; + (void)MT32EMU_VERSION_TAG; +} + +static void (*const volatile mt32emu_refer_version_tag_ref)(void) = mt32emu_refer_version_tag; + +#endif + #undef MT32EMU_REALLY_BUILD_VERSION_TAG #undef MT32EMU_BUILD_VERSION_TAG #undef MT32EMU_VERSION_TAG