Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package miniz for openSUSE:Factory checked in at 2026-03-11 20:57:01 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/miniz (Old) and /work/SRC/openSUSE:Factory/.miniz.new.8177 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "miniz" Wed Mar 11 20:57:01 2026 rev:2 rq:1338281 version:3.1.1 Changes: -------- --- /work/SRC/openSUSE:Factory/miniz/miniz.changes 2026-01-07 16:03:26.876194800 +0100 +++ /work/SRC/openSUSE:Factory/.miniz.new.8177/miniz.changes 2026-03-11 20:58:57.778936894 +0100 @@ -1,0 +2,6 @@ +Tue Feb 3 17:41:48 UTC 2026 - Martin Hauke <[email protected]> + +- Update to version 3.1.1 + * Declare function wrappers as inline static to fix warnings. + +------------------------------------------------------------------- Old: ---- miniz-3.1.0.tar.gz New: ---- miniz-3.1.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ miniz.spec ++++++ --- /var/tmp/diff_new_pack.C4nwGc/_old 2026-03-11 20:58:59.603012015 +0100 +++ /var/tmp/diff_new_pack.C4nwGc/_new 2026-03-11 20:58:59.619012674 +0100 @@ -19,7 +19,7 @@ %define sover 3 %define libpackage lib%{name}%{sover} Name: miniz -Version: 3.1.0 +Version: 3.1.1 Release: 0 Summary: Single C source file zlib-replacement library License: MIT ++++++ miniz-3.1.0.tar.gz -> miniz-3.1.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/miniz-3.1.0/CMakeLists.txt new/miniz-3.1.1/CMakeLists.txt --- old/miniz-3.1.0/CMakeLists.txt 2025-09-21 17:48:16.000000000 +0200 +++ new/miniz-3.1.1/CMakeLists.txt 2026-02-03 12:42:03.000000000 +0100 @@ -26,7 +26,7 @@ set(MINIZ_API_VERSION 3) set(MINIZ_MINOR_VERSION 1) -set(MINIZ_PATCH_VERSION 0) +set(MINIZ_PATCH_VERSION 1) set(MINIZ_VERSION ${MINIZ_API_VERSION}.${MINIZ_MINOR_VERSION}.${MINIZ_PATCH_VERSION}) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/miniz-3.1.0/ChangeLog.md new/miniz-3.1.1/ChangeLog.md --- old/miniz-3.1.0/ChangeLog.md 2025-09-21 17:48:16.000000000 +0200 +++ new/miniz-3.1.1/ChangeLog.md 2026-02-03 12:42:03.000000000 +0100 @@ -1,5 +1,9 @@ ## Changelog +### 3.1.1 + + - Declare function wrappers as inline static to fix warnings + ### 3.1.0 - Fix warnings: Ensure correct integer promotion when adding diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/miniz-3.1.0/miniz.h new/miniz-3.1.1/miniz.h --- old/miniz-3.1.0/miniz.h 2025-09-21 17:48:16.000000000 +0200 +++ new/miniz-3.1.1/miniz.h 2026-02-03 12:42:03.000000000 +0100 @@ -114,6 +114,16 @@ #include "miniz_export.h" +#if defined(__STRICT_ANSI__) +#define MZ_FORCEINLINE +#elif defined(_MSC_VER) +#define MZ_FORCEINLINE __forceinline +#elif defined(__GNUC__) +#define MZ_FORCEINLINE __inline__ __attribute__((__always_inline__)) +#else +#define MZ_FORCEINLINE inline +#endif + /* Defines to completely disable specific portions of miniz.c: If all macros here are defined the only functionality remaining will be CRC-32 and adler-32. */ @@ -273,11 +283,11 @@ MZ_DEFAULT_COMPRESSION = -1 }; -#define MZ_VERSION "11.3.0" -#define MZ_VERNUM 0xB300 +#define MZ_VERSION "11.3.1" +#define MZ_VERNUM 0xB301 #define MZ_VER_MAJOR 11 #define MZ_VER_MINOR 3 -#define MZ_VER_REVISION 0 +#define MZ_VER_REVISION 1 #define MZ_VER_SUBREVISION 0 #ifndef MINIZ_NO_ZLIB_APIS @@ -489,39 +499,39 @@ #ifndef MINIZ_NO_DEFLATE_APIS /* Compatiblity with zlib API. See called functions for documentation */ - static int deflateInit(mz_streamp pStream, int level) + static MZ_FORCEINLINE int deflateInit(mz_streamp pStream, int level) { return mz_deflateInit(pStream, level); } - static int deflateInit2(mz_streamp pStream, int level, int method, int window_bits, int mem_level, int strategy) + static MZ_FORCEINLINE int deflateInit2(mz_streamp pStream, int level, int method, int window_bits, int mem_level, int strategy) { return mz_deflateInit2(pStream, level, method, window_bits, mem_level, strategy); } - static int deflateReset(mz_streamp pStream) + static MZ_FORCEINLINE int deflateReset(mz_streamp pStream) { return mz_deflateReset(pStream); } - static int deflate(mz_streamp pStream, int flush) + static MZ_FORCEINLINE int deflate(mz_streamp pStream, int flush) { return mz_deflate(pStream, flush); } - static int deflateEnd(mz_streamp pStream) + static MZ_FORCEINLINE int deflateEnd(mz_streamp pStream) { return mz_deflateEnd(pStream); } - static mz_ulong deflateBound(mz_streamp pStream, mz_ulong source_len) + static MZ_FORCEINLINE mz_ulong deflateBound(mz_streamp pStream, mz_ulong source_len) { return mz_deflateBound(pStream, source_len); } - static int compress(unsigned char *pDest, mz_ulong *pDest_len, const unsigned char *pSource, mz_ulong source_len) + static MZ_FORCEINLINE int compress(unsigned char *pDest, mz_ulong *pDest_len, const unsigned char *pSource, mz_ulong source_len) { return mz_compress(pDest, pDest_len, pSource, source_len); } - static int compress2(unsigned char *pDest, mz_ulong *pDest_len, const unsigned char *pSource, mz_ulong source_len, int level) + static MZ_FORCEINLINE int compress2(unsigned char *pDest, mz_ulong *pDest_len, const unsigned char *pSource, mz_ulong source_len, int level) { return mz_compress2(pDest, pDest_len, pSource, source_len, level); } - static mz_ulong compressBound(mz_ulong source_len) + static MZ_FORCEINLINE mz_ulong compressBound(mz_ulong source_len) { return mz_compressBound(source_len); } @@ -529,48 +539,48 @@ #ifndef MINIZ_NO_INFLATE_APIS /* Compatiblity with zlib API. See called functions for documentation */ - static int inflateInit(mz_streamp pStream) + static MZ_FORCEINLINE int inflateInit(mz_streamp pStream) { return mz_inflateInit(pStream); } - static int inflateInit2(mz_streamp pStream, int window_bits) + static MZ_FORCEINLINE int inflateInit2(mz_streamp pStream, int window_bits) { return mz_inflateInit2(pStream, window_bits); } - static int inflateReset(mz_streamp pStream) + static MZ_FORCEINLINE int inflateReset(mz_streamp pStream) { return mz_inflateReset(pStream); } - static int inflate(mz_streamp pStream, int flush) + static MZ_FORCEINLINE int inflate(mz_streamp pStream, int flush) { return mz_inflate(pStream, flush); } - static int inflateEnd(mz_streamp pStream) + static MZ_FORCEINLINE int inflateEnd(mz_streamp pStream) { return mz_inflateEnd(pStream); } - static int uncompress(unsigned char* pDest, mz_ulong* pDest_len, const unsigned char* pSource, mz_ulong source_len) + static MZ_FORCEINLINE int uncompress(unsigned char* pDest, mz_ulong* pDest_len, const unsigned char* pSource, mz_ulong source_len) { return mz_uncompress(pDest, pDest_len, pSource, source_len); } - static int uncompress2(unsigned char* pDest, mz_ulong* pDest_len, const unsigned char* pSource, mz_ulong* pSource_len) + static MZ_FORCEINLINE int uncompress2(unsigned char* pDest, mz_ulong* pDest_len, const unsigned char* pSource, mz_ulong* pSource_len) { return mz_uncompress2(pDest, pDest_len, pSource, pSource_len); } #endif /*#ifndef MINIZ_NO_INFLATE_APIS*/ - static mz_ulong crc32(mz_ulong crc, const unsigned char *ptr, size_t buf_len) + static MZ_FORCEINLINE mz_ulong crc32(mz_ulong crc, const unsigned char *ptr, size_t buf_len) { return mz_crc32(crc, ptr, buf_len); } - static mz_ulong adler32(mz_ulong adler, const unsigned char *ptr, size_t buf_len) + static MZ_FORCEINLINE mz_ulong adler32(mz_ulong adler, const unsigned char *ptr, size_t buf_len) { return mz_adler32(adler, ptr, buf_len); } @@ -578,7 +588,7 @@ #define MAX_WBITS 15 #define MAX_MEM_LEVEL 9 - static const char* zError(int err) + static MZ_FORCEINLINE const char* zError(int err) { return mz_error(err); } @@ -602,4 +612,4 @@ #include "miniz_common.h" #include "miniz_tdef.h" #include "miniz_tinfl.h" -#include "miniz_zip.h" \ No newline at end of file +#include "miniz_zip.h" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/miniz-3.1.0/miniz_common.h new/miniz-3.1.1/miniz_common.h --- old/miniz-3.1.0/miniz_common.h 2025-09-21 17:48:16.000000000 +0200 +++ new/miniz-3.1.1/miniz_common.h 2026-02-03 12:42:03.000000000 +0100 @@ -72,14 +72,6 @@ #define MZ_READ_LE64(p) (((mz_uint64)MZ_READ_LE32(p)) | (((mz_uint64)MZ_READ_LE32((const mz_uint8 *)(p) + sizeof(mz_uint32))) << 32U)) -#ifdef _MSC_VER -#define MZ_FORCEINLINE __forceinline -#elif defined(__GNUC__) -#define MZ_FORCEINLINE __inline__ __attribute__((__always_inline__)) -#else -#define MZ_FORCEINLINE inline -#endif - #ifdef __cplusplus extern "C" {
