Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libgig for openSUSE:Factory checked 
in at 2024-04-25 20:49:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libgig (Old)
 and      /work/SRC/openSUSE:Factory/.libgig.new.1880 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libgig"

Thu Apr 25 20:49:35 2024 rev:9 rq:1170081 version:4.4.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/libgig/libgig.changes    2024-01-29 
22:34:28.585303940 +0100
+++ /work/SRC/openSUSE:Factory/.libgig.new.1880/libgig.changes  2024-04-25 
20:49:35.322975461 +0200
@@ -1,0 +2,7 @@
+Tue Apr 23 21:05:31 UTC 2024 - Andreas Stieger <andreas.stie...@gmx.de>
+
+- update to version 4.4.1:
+  * Fix build errors with some compilers
+- drop unused rpmlintrc
+
+-------------------------------------------------------------------

Old:
----
  libgig-4.4.0.tar.bz2
  libgig-rpmlintrc

New:
----
  libgig-4.4.1.tar.bz2

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

Other differences:
------------------
++++++ libgig.spec ++++++
--- /var/tmp/diff_new_pack.q7or3n/_old  2024-04-25 20:49:35.930997786 +0200
+++ /var/tmp/diff_new_pack.q7or3n/_new  2024-04-25 20:49:35.930997786 +0200
@@ -1,9 +1,9 @@
-# vim: set sw=4 ts=4 et:
 #
 # spec file for package libgig
 #
 # Copyright (c) 2021 SUSE LLC
 # Copyright (c) 2012 Pascal Bleser <pascal.ble...@opensuse.org>
+# Copyright (c) 2024 Andreas Stieger <andreas.stie...@gmx.de>
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -21,18 +21,17 @@
 %define sover_gig  11
 %define sover_akai 0
 Name:           libgig
-Version:        4.4.0
+Version:        4.4.1
 Release:        0
 Summary:        Library for loading Gigasampler and DLS Level 1/2 files
 License:        GPL-2.0-or-later
 Group:          Productivity/Multimedia/Sound/Utilities
 URL:            https://linuxsampler.org/
 Source0:        
http://download.linuxsampler.org/packages/libgig-%{version}.tar.bz2
-Source1:        libgig-rpmlintrc
-BuildRequires:  e2fsprogs-devel
-BuildRequires:  gcc-c++
+BuildRequires:  c++_compiler
 BuildRequires:  pkgconfig
 BuildRequires:  pkgconfig(sndfile) >= 1.0.2
+BuildRequires:  pkgconfig(uuid)
 
 %description
 C++ library for loading Gigasampler and DLS Level 1/2 files.
@@ -75,7 +74,7 @@
 * rifftree: tool that prints out the RIFF tree of an arbitrary RIFF file
 
 %prep
-%setup -q
+%autosetup -p1
 
 %build
 %configure --disable-static
@@ -90,8 +89,11 @@
 echo "%{_libdir}/libgig"  > 
"%{buildroot}%{_sysconfdir}/ld.so.conf.d/libgig%{sover_gig}.conf"
 echo "%{_libdir}/libakai" > 
"%{buildroot}%{_sysconfdir}/ld.so.conf.d/libakai%{sover_akai}.conf"
 
-%post   -n libgig%{sover_gig} -p /sbin/ldconfig
-%postun -n libgig%{sover_gig} -p /sbin/ldconfig
+%check
+%make_build check
+
+%ldconfig_scriptlets -n libgig%{sover_gig}
+%ldconfig_scriptlets -n libakai%{sover_akai}
 
 %files -n libgig%{sover_gig}
 %license COPYING
@@ -101,9 +103,6 @@
 %{_libdir}/libgig/libgig.so.%{sover_gig}.*
 %config %{_sysconfdir}/ld.so.conf.d/libgig%{sover_gig}.conf
 
-%post   -n libakai%{sover_akai} -p /sbin/ldconfig
-%postun -n libakai%{sover_akai} -p /sbin/ldconfig
-
 %files -n libakai%{sover_akai}
 %license COPYING
 %doc AUTHORS ChangeLog NEWS README TODO

++++++ libgig-4.4.0.tar.bz2 -> libgig-4.4.1.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libgig-4.4.0/CMakeLists.txt 
new/libgig-4.4.1/CMakeLists.txt
--- old/libgig-4.4.0/CMakeLists.txt     2023-10-06 17:14:43.000000000 +0200
+++ new/libgig-4.4.1/CMakeLists.txt     2024-02-12 13:13:19.000000000 +0100
@@ -64,6 +64,7 @@
 set(PACKAGE_NAME "libgig")
 
 set(LIBGIG_HEADERS
+       src/sysdef.h
        src/DLS.h
        src/gig.h
        src/RIFF.h
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libgig-4.4.0/ChangeLog new/libgig-4.4.1/ChangeLog
--- old/libgig-4.4.0/ChangeLog  2024-01-26 15:58:00.000000000 +0100
+++ new/libgig-4.4.1/ChangeLog  2024-02-20 17:27:47.000000000 +0100
@@ -1,3 +1,13 @@
+Version 4.4.1 (20 Feb 2024)
+
+  * general changes:
+    - Move system dependent type and macro definitions into a shared header
+      file sysdef.h (fixes compilation error with MSVC).
+
+  * src/RIFF.cpp, src/RIFF.h:
+    - Fixed compilation error with some compilers, caused by using
+      designated initializers, which is a C++20 feature.
+
 Version 4.4.0 (26 Jan 2024)
 
   * general changes:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libgig-4.4.0/Makefile.in new/libgig-4.4.1/Makefile.in
--- old/libgig-4.4.0/Makefile.in        2024-01-26 19:04:33.000000000 +0100
+++ new/libgig-4.4.1/Makefile.in        2024-02-20 17:31:57.000000000 +0100
@@ -191,8 +191,8 @@
 am__DIST_COMMON = $(srcdir)/Doxyfile.in $(srcdir)/Makefile.in \
        $(srcdir)/akai.pc.in $(srcdir)/config.h.in $(srcdir)/gig.pc.in \
        $(srcdir)/libgig.spec.in AUTHORS COPYING ChangeLog INSTALL \
-       NEWS README TODO compile config.guess config.sub install-sh \
-       ltmain.sh missing
+       NEWS README TODO compile config.guess config.sub depcomp \
+       install-sh ltmain.sh missing
 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
 distdir = $(PACKAGE)-$(VERSION)
 top_distdir = $(distdir)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libgig-4.4.0/NEWS new/libgig-4.4.1/NEWS
--- old/libgig-4.4.0/NEWS       2024-01-26 16:42:18.000000000 +0100
+++ new/libgig-4.4.1/NEWS       2024-02-20 17:29:58.000000000 +0100
@@ -1,3 +1,9 @@
+Version 4.4.1 (20 Feb 2024)
+
+  Maintenance release.
+
+  Fixes build errors with some compilers only. No behaviour change.
+
 Version 4.4.0 (26 Jan 2024)
 
   This release introduces a new command line tool 'wav2gig' which allows to
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libgig-4.4.0/configure new/libgig-4.4.1/configure
--- old/libgig-4.4.0/configure  2024-01-26 19:03:07.000000000 +0100
+++ new/libgig-4.4.1/configure  2024-02-20 17:31:58.000000000 +0100
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for libgig 4.4.0.
+# Generated by GNU Autoconf 2.69 for libgig 4.4.1.
 #
 #
 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
@@ -587,8 +587,8 @@
 # Identity of this package.
 PACKAGE_NAME='libgig'
 PACKAGE_TARNAME='libgig'
-PACKAGE_VERSION='4.4.0'
-PACKAGE_STRING='libgig 4.4.0'
+PACKAGE_VERSION='4.4.1'
+PACKAGE_STRING='libgig 4.4.1'
 PACKAGE_BUGREPORT=''
 PACKAGE_URL=''
 
@@ -1364,7 +1364,7 @@
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures libgig 4.4.0 to adapt to many kinds of systems.
+\`configure' configures libgig 4.4.1 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1435,7 +1435,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of libgig 4.4.0:";;
+     short | recursive ) echo "Configuration of libgig 4.4.1:";;
    esac
   cat <<\_ACEOF
 
@@ -1561,7 +1561,7 @@
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-libgig configure 4.4.0
+libgig configure 4.4.1
 generated by GNU Autoconf 2.69
 
 Copyright (C) 2012 Free Software Foundation, Inc.
@@ -2156,7 +2156,7 @@
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by libgig $as_me 4.4.0, which was
+It was created by libgig $as_me 4.4.1, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   $ $0 $@
@@ -15660,7 +15660,7 @@
 
 LIBGIG_RELEASE_MINOR=4
 
-LIBGIG_RELEASE_BUILD=0
+LIBGIG_RELEASE_BUILD=1
 
 
 
@@ -17367,7 +17367,7 @@
 
 # Define the identity of the package.
  PACKAGE='libgig'
- VERSION='4.4.0'
+ VERSION='4.4.1'
 
 
 cat >>confdefs.h <<_ACEOF
@@ -18266,7 +18266,7 @@
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by libgig $as_me 4.4.0, which was
+This file was extended by libgig $as_me 4.4.1, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -18332,7 +18332,7 @@
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; 
s/[\\""\`\$]/\\\\&/g'`"
 ac_cs_version="\\
-libgig config.status 4.4.0
+libgig config.status 4.4.1
 configured by $0, generated by GNU Autoconf 2.69,
   with options \\"\$ac_cs_config\\"
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libgig-4.4.0/configure.ac 
new/libgig-4.4.1/configure.ac
--- old/libgig-4.4.0/configure.ac       2024-01-26 15:58:00.000000000 +0100
+++ new/libgig-4.4.1/configure.ac       2024-02-20 17:27:47.000000000 +0100
@@ -3,7 +3,7 @@
 
 m4_define(libgig_release_major, 4)
 m4_define(libgig_release_minor, 4)
-m4_define(libgig_release_build, 0)
+m4_define(libgig_release_build, 1)
 
 
 
AC_INIT([libgig],[libgig_release_major.libgig_release_minor.libgig_release_build])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libgig-4.4.0/debian/changelog 
new/libgig-4.4.1/debian/changelog
--- old/libgig-4.4.0/debian/changelog   2024-01-26 15:58:00.000000000 +0100
+++ new/libgig-4.4.1/debian/changelog   2024-02-20 17:27:47.000000000 +0100
@@ -1,3 +1,9 @@
+libgig (4.4.1) unstable; urgency=low
+
+  * New release.
+
+ -- Christian Schoenebeck <c...@users.sourceforge.net>  Tue, 20 Feb 2024 
17:27:47 +0100
+
 libgig (4.4.0) unstable; urgency=low
 
   * New release.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libgig-4.4.0/libgig.spec.in 
new/libgig-4.4.1/libgig.spec.in
--- old/libgig-4.4.0/libgig.spec.in     2024-01-26 15:58:00.000000000 +0100
+++ new/libgig-4.4.1/libgig.spec.in     2024-02-20 17:27:47.000000000 +0100
@@ -1,7 +1,7 @@
 
 %define name    @PACKAGE@
 %define version @VERSION@
-%define release 18
+%define release 19
 %define prefix  @prefix@
 
 Summary:       C++ library for accessing GigaStudio, DLS, SF, KORG, AKAI files.
@@ -96,6 +96,8 @@
 %{prefix}/include/libgig/*
 
 %changelog
+* Tue 20 Feb 2024 Christian Schoenebeck <c...@users.sourceforge.net>
+- prepared for release 4.4.1
 * Fri 26 Jan 2024 Christian Schoenebeck <c...@users.sourceforge.net>
 - prepared for release 4.4.0
 * Sun May 09 2021 Christian Schoenebeck <c...@users.sourceforge.net>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libgig-4.4.0/src/Makefile.am 
new/libgig-4.4.1/src/Makefile.am
--- old/libgig-4.4.0/src/Makefile.am    2017-05-21 19:23:07.000000000 +0200
+++ new/libgig-4.4.1/src/Makefile.am    2024-02-12 12:23:02.000000000 +0100
@@ -4,7 +4,7 @@
 pkglib_LTLIBRARIES = libgig.la libakai.la
 
 libgigincludedir = $(includedir)/libgig
-libgiginclude_HEADERS = RIFF.h DLS.h SF.h gig.h Korg.h Serialization.h
+libgiginclude_HEADERS = RIFF.h DLS.h SF.h gig.h Korg.h Serialization.h sysdef.h
 libgig_la_SOURCES = helper.cpp typeinfo.cpp RIFF.cpp DLS.cpp SF.cpp gig.cpp 
Korg.cpp Serialization.cpp
 libgig_la_LDFLAGS = -no-undefined -version-info @LIBGIG_SHARED_VERSION_INFO@ 
@LIBGIG_SHLIB_VERSION_ARG@
 if WIN32
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libgig-4.4.0/src/Makefile.in 
new/libgig-4.4.1/src/Makefile.in
--- old/libgig-4.4.0/src/Makefile.in    2024-01-26 19:04:34.000000000 +0100
+++ new/libgig-4.4.1/src/Makefile.in    2024-02-20 17:31:58.000000000 +0100
@@ -405,7 +405,7 @@
 AM_CXXFLAGS = -pedantic -Wreturn-type
 pkglib_LTLIBRARIES = libgig.la libakai.la
 libgigincludedir = $(includedir)/libgig
-libgiginclude_HEADERS = RIFF.h DLS.h SF.h gig.h Korg.h Serialization.h
+libgiginclude_HEADERS = RIFF.h DLS.h SF.h gig.h Korg.h Serialization.h sysdef.h
 libgig_la_SOURCES = helper.cpp typeinfo.cpp RIFF.cpp DLS.cpp SF.cpp gig.cpp 
Korg.cpp Serialization.cpp
 libgig_la_LDFLAGS = -no-undefined -version-info \
        @LIBGIG_SHARED_VERSION_INFO@ @LIBGIG_SHLIB_VERSION_ARG@ \
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libgig-4.4.0/src/RIFF.cpp 
new/libgig-4.4.1/src/RIFF.cpp
--- old/libgig-4.4.0/src/RIFF.cpp       2021-06-14 11:23:51.000000000 +0200
+++ new/libgig-4.4.1/src/RIFF.cpp       2024-02-11 15:44:02.000000000 +0100
@@ -2,7 +2,7 @@
  *                                                                         *
  *   libgig - C++ cross-platform Gigasampler format file access library    *
  *                                                                         *
- *   Copyright (C) 2003-2021 by Christian Schoenebeck                      *
+ *   Copyright (C) 2003-2024 by Christian Schoenebeck                      *
  *                              <c...@users.sourceforge.net>               *
  *                                                                         *
  *   This library is free software; you can redistribute it and/or modify  *
@@ -1968,14 +1968,15 @@
         return (it != io.byThread.end()) ?
             it->second :
             io.byThread[tid] = {
+                // designated initializers require C++20, so commented for now
                 #if defined(WIN32)
-                .hRead  = INVALID_HANDLE_VALUE,
-                .hWrite = INVALID_HANDLE_VALUE,
+                /* .hRead  = */ INVALID_HANDLE_VALUE,
+                /* .hWrite = */ INVALID_HANDLE_VALUE,
                 #else
-                .hRead  = 0,
-                .hWrite = 0,
+                /* .hRead  = */ 0,
+                /* .hWrite = */ 0,
                 #endif
-                .Mode = stream_mode_closed
+                /* .Mode = */ stream_mode_closed
             };
     }
 
@@ -1993,14 +1994,15 @@
         return (it != io.byThread.end()) ?
             it->second :
             io.byThread[tid] = {
+                // designated initializers require C++20, so commented for now
                 #if defined(WIN32)
-                .hRead  = INVALID_HANDLE_VALUE,
-                .hWrite = INVALID_HANDLE_VALUE,
+                /* .hRead  = */ INVALID_HANDLE_VALUE,
+                /* .hWrite = */ INVALID_HANDLE_VALUE,
                 #else
-                .hRead  = 0,
-                .hWrite = 0,
+                /* .hRead  = */ 0,
+                /* .hWrite = */ 0,
                 #endif
-                .Mode = stream_mode_closed
+                /* .Mode = */ stream_mode_closed
             };
      }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libgig-4.4.0/src/RIFF.h new/libgig-4.4.1/src/RIFF.h
--- old/libgig-4.4.0/src/RIFF.h 2021-06-15 14:44:12.000000000 +0200
+++ new/libgig-4.4.1/src/RIFF.h 2024-02-12 12:53:08.000000000 +0100
@@ -2,7 +2,7 @@
  *                                                                         *
  *   libgig - C++ cross-platform Gigasampler format file access library    *
  *                                                                         *
- *   Copyright (C) 2003-2021 by Christian Schoenebeck                      *
+ *   Copyright (C) 2003-2024 by Christian Schoenebeck                      *
  *                              <c...@users.sourceforge.net>               *
  *                                                                         *
  *   This library is free software; you can redistribute it and/or modify  *
@@ -24,32 +24,6 @@
 #ifndef __RIFF_H__
 #define __RIFF_H__
 
-#ifdef WIN32
-# define POSIX 0
-#endif
-
-#ifndef POSIX
-# define POSIX 1
-#endif
-
-#ifndef DEBUG
-# define DEBUG 0
-#endif
-
-#ifndef OVERRIDE
-# if defined(__cplusplus) && __cplusplus >= 201103L
-#  define OVERRIDE override
-# else
-#  define OVERRIDE
-# endif
-#endif
-
-#ifdef __GNUC__
-# define LIBGIG_DEPRECATED_API(msg) __attribute__ ((deprecated(msg)))
-#else
-# define LIBGIG_DEPRECATED_API(msg)
-#endif
-
 #include <string>
 #include <list>
 #include <map>
@@ -59,45 +33,10 @@
 #include <stdarg.h>
 #include <thread>
 #include <mutex>
-
-#ifdef HAVE_CONFIG_H
-# include <config.h>
-#endif
-
-#if POSIX
-# include <sys/types.h>
-# include <sys/stat.h>
-# include <fcntl.h>
-# include <unistd.h>
-#endif // POSIX
-
-#if defined _MSC_VER && _MSC_VER < 1600
-// Visual C++ 2008 doesn't have stdint.h
-typedef __int8 int8_t;
-typedef __int16 int16_t;
-typedef __int32 int32_t;
-typedef __int64 int64_t;
-typedef unsigned __int8 uint8_t;
-typedef unsigned __int16 uint16_t;
-typedef unsigned __int32 uint32_t;
-typedef unsigned __int64 uint64_t;
-#else
-#include <stdint.h>
-#endif
-
-#ifdef WIN32
-# if (_WIN32 && !_WIN64) || (__GNUC__ && !(__x86_64__ || __ppc64__)) /* if 32 
bit windows compilation */
-#  if _WIN32_WINNT < 0x0501
-#   undef _WIN32_WINNT
-#   define _WIN32_WINNT 0x0501 /* Win XP (no service pack): required for 32 
bit compilation for GetFileSizeEx() to be declared by windows.h */
-#  endif
-# endif
-# include <windows.h>
-  typedef unsigned int   uint;
-#endif // WIN32
-
 #include <stdio.h>
 
+#include "sysdef.h"
+
 #if WORDS_BIGENDIAN
 # define CHUNK_ID_RIFF 0x52494646
 # define CHUNK_ID_RIFX 0x52494658
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libgig-4.4.0/src/Serialization.h 
new/libgig-4.4.1/src/Serialization.h
--- old/libgig-4.4.0/src/Serialization.h        2023-10-06 17:14:27.000000000 
+0200
+++ new/libgig-4.4.1/src/Serialization.h        2024-02-12 12:43:24.000000000 
+0100
@@ -1,6 +1,6 @@
 /***************************************************************************
  *                                                                         *
- *   Copyright (C) 2017-2020 Christian Schoenebeck                         *
+ *   Copyright (C) 2017-2024 Christian Schoenebeck                         *
  *                           <c...@users.sourceforge.net>                  *
  *                                                                         *
  *   This library is part of libgig.                                       *
@@ -40,10 +40,7 @@
 #include <assert.h>
 #include <functional>
 
-#ifdef _MSC_VER
-#include <BaseTsd.h>
-using ssize_t = SSIZE_T;
-#endif
+#include "sysdef.h"
 
 #ifndef __has_extension
 # define __has_extension(x) 0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libgig-4.4.0/src/helper.h 
new/libgig-4.4.1/src/helper.h
--- old/libgig-4.4.0/src/helper.h       2021-02-14 14:51:50.000000000 +0100
+++ new/libgig-4.4.1/src/helper.h       2024-02-12 13:07:25.000000000 +0100
@@ -2,7 +2,7 @@
  *                                                                         *
  *   libgig - C++ cross-platform Gigasampler format file access library    *
  *                                                                         *
- *   Copyright (C) 2003-2021 by Christian Schoenebeck                      *
+ *   Copyright (C) 2003-2024 by Christian Schoenebeck                      *
  *                              <c...@users.sourceforge.net>               *
  *                                                                         *
  *   This library is free software; you can redistribute it and/or modify  *
@@ -41,15 +41,6 @@
 int vasprintf(char** ret, const char* format, va_list arg);
 #endif
 
-#if defined(_MSC_VER)
-# if _MSC_VER < 1900
-#  error versions prior to msvc 2015 have not been tested
-# else
-#  include <BaseTsd.h>
-typedef SSIZE_T ssize_t;
-# endif
-#endif
-
 #include "RIFF.h"
 
 // *************** Helper Functions **************
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libgig-4.4.0/src/sysdef.h 
new/libgig-4.4.1/src/sysdef.h
--- old/libgig-4.4.0/src/sysdef.h       1970-01-01 01:00:00.000000000 +0100
+++ new/libgig-4.4.1/src/sysdef.h       2024-02-12 12:52:38.000000000 +0100
@@ -0,0 +1,95 @@
+ 
+/***************************************************************************
+ *                                                                         *
+ *   Copyright (C) 2003-2024 Christian Schoenebeck                         *
+ *                           <c...@users.sourceforge.net>                  *
+ *                                                                         *
+ *   This library is part of libgig.                                       *
+ *                                                                         *
+ *   This library is free software; you can redistribute it and/or modify  *
+ *   it under the terms of the GNU General Public License as published by  *
+ *   the Free Software Foundation; either version 2 of the License, or     *
+ *   (at your option) any later version.                                   *
+ *                                                                         *
+ *   This library is distributed in the hope that it will be useful,       *
+ *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
+ *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
+ *   GNU General Public License for more details.                          *
+ *                                                                         *
+ *   You should have received a copy of the GNU General Public License     *
+ *   along with this library; if not, write to the Free Software           *
+ *   Foundation, Inc., 59 Temple Place, Suite 330, Boston,                 *
+ *   MA  02111-1307  USA                                                   *
+ ***************************************************************************/
+
+#ifndef LIBGIG_SYSDEF_H
+#define LIBGIG_SYSDEF_H
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+#ifdef WIN32
+# define POSIX 0
+#endif
+
+#ifndef POSIX
+# define POSIX 1
+#endif
+
+#ifndef DEBUG
+# define DEBUG 0
+#endif
+
+#if POSIX
+# include <sys/types.h>
+# include <sys/stat.h>
+# include <fcntl.h>
+# include <unistd.h>
+#endif // POSIX
+
+#if defined _MSC_VER && _MSC_VER < 1600
+// Visual C++ 2008 doesn't have stdint.h
+typedef __int8 int8_t;
+typedef __int16 int16_t;
+typedef __int32 int32_t;
+typedef __int64 int64_t;
+typedef unsigned __int8 uint8_t;
+typedef unsigned __int16 uint16_t;
+typedef unsigned __int32 uint32_t;
+typedef unsigned __int64 uint64_t;
+#else
+#include <stdint.h>
+#endif
+
+#ifdef WIN32
+# if (_WIN32 && !_WIN64) || (__GNUC__ && !(__x86_64__ || __ppc64__)) /* if 32 
bit windows compilation */
+#  if _WIN32_WINNT < 0x0501
+#   undef _WIN32_WINNT
+#   define _WIN32_WINNT 0x0501 /* Win XP (no service pack): required for 32 
bit compilation for GetFileSizeEx() to be declared by windows.h */
+#  endif
+# endif
+# include <windows.h>
+  typedef unsigned int   uint;
+#endif // WIN32
+
+#ifdef _MSC_VER
+#include <BaseTsd.h>
+using ssize_t = SSIZE_T;
+#endif
+
+#ifndef OVERRIDE
+# if defined(__cplusplus) && __cplusplus >= 201103L
+#  define OVERRIDE override
+# else
+#  define OVERRIDE
+# endif
+#endif
+
+#ifdef __GNUC__
+# define LIBGIG_DEPRECATED_API(msg) __attribute__ ((deprecated(msg)))
+#else
+# define LIBGIG_DEPRECATED_API(msg)
+#endif
+
+#endif // LIBGIG_SYSDEF_H
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libgig-4.4.0/win32/libgig.dev 
new/libgig-4.4.1/win32/libgig.dev
--- old/libgig-4.4.0/win32/libgig.dev   2024-01-26 19:04:43.000000000 +0100
+++ new/libgig-4.4.1/win32/libgig.dev   2024-02-20 17:32:05.000000000 +0100
@@ -72,7 +72,7 @@
 [VersionInfo]
 Major=4
 Minor=4
-Release=0
+Release=1
 Build=0
 LanguageID=1033
 CharsetID=1252

Reply via email to