Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package alure for openSUSE:Factory checked 
in at 2022-09-12 19:08:32
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/alure (Old)
 and      /work/SRC/openSUSE:Factory/.alure.new.2083 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "alure"

Mon Sep 12 19:08:32 2022 rev:4 rq:1002725 version:1.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/alure/alure.changes      2022-02-18 
23:03:52.729408457 +0100
+++ /work/SRC/openSUSE:Factory/.alure.new.2083/alure.changes    2022-09-12 
19:08:36.686597587 +0200
@@ -1,0 +2,6 @@
+Wed Sep  7 05:16:39 UTC 2022 - mun...@googlemail.com
+
+- Change URL/Source to https://kcat.tomasu.net/alure.html
+- Replace CXXFLAGS "-fpermissive" with fix-dumb2.patch
+
+-------------------------------------------------------------------

New:
----
  fix-dumb2.patch

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

Other differences:
------------------
++++++ alure.spec ++++++
--- /var/tmp/diff_new_pack.DEFHhk/_old  2022-09-12 19:08:37.206599048 +0200
+++ /var/tmp/diff_new_pack.DEFHhk/_new  2022-09-12 19:08:37.210599060 +0200
@@ -25,13 +25,14 @@
 # ALURE code is LGPL-2.0+; note -devel subpackage has its own license tag
 License:        LGPL-2.0-or-later
 Group:          Development/Libraries/C and C++
-URL:            https://github.com/kcat/alure
-Source0:        %{name}-%{version}.tar.bz2
+URL:            https://kcat.tomasu.net/alure.html
+Source0:        
https://kcat.tomasu.net/alure-releases/%{name}-%{version}.tar.bz2
 Patch0:         fix-cmake_minimum_required.patch
 Patch1:         fix-missing-include.patch
 Patch2:         fix-lib-suffix.patch
 Patch3:         fix-link-flac.patch
 Patch4:         fix-FLUIDSYNTH_CFLAGS.patch
+Patch5:         fix-dumb2.patch
 BuildRequires:  cmake
 BuildRequires:  gcc-c++
 BuildRequires:  ninja
@@ -75,7 +76,6 @@
 
 %build
 %define __builder ninja
-export CXXFLAGS="%{optflags} -fpermissive"
 %cmake \
        -DBUILD_STATIC=OFF      \
        -DDYNLOAD=OFF           \

++++++ fix-dumb2.patch ++++++
# Already fixed upstream:
# 
https://repo.or.cz/alure.git/commitdiff/9939cdfbf9c6c7a2690db7fb8dd2892389adcd5f

diff -Naur a/src/codec_dumb.cpp b/src/codec_dumb.cpp
--- a/src/codec_dumb.cpp        2011-07-29 09:37:48.000000000 +0100
+++ b/src/codec_dumb.cpp        2020-05-10 15:59:48.502632496 +0100
@@ -272,7 +272,11 @@
 
 private:
     // DUMBFILE iostream callbacks
+#if DUMB_VERSION >= 2*10000
+    static int skip(void *user_data, dumb_off_t offset)
+#else
     static int skip(void *user_data, long offset)
+#endif
     {
         std::istream *stream = static_cast<dumbStream*>(user_data)->fstream;
         stream->clear();
@@ -282,7 +286,11 @@
         return -1;
     }
 
+#if DUMB_VERSION >= 2*10000
+    static dumb_ssize_t read(char *ptr, size_t size, void *user_data)
+#else
     static long read(char *ptr, long size, void *user_data)
+#endif
     {
         std::istream *stream = static_cast<dumbStream*>(user_data)->fstream;
         stream->clear();

Reply via email to