Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package deadbeef for openSUSE:Factory 
checked in at 2023-05-09 14:21:47
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/deadbeef (Old)
 and      /work/SRC/openSUSE:Factory/.deadbeef.new.1533 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "deadbeef"

Tue May  9 14:21:47 2023 rev:22 rq:1085663 version:1.9.5

Changes:
--------
--- /work/SRC/openSUSE:Factory/deadbeef/deadbeef.changes        2023-03-06 
18:55:38.712693440 +0100
+++ /work/SRC/openSUSE:Factory/.deadbeef.new.1533/deadbeef.changes      
2023-05-09 14:21:48.379572502 +0200
@@ -1,0 +2,6 @@
+Mon May  8 19:25:05 UTC 2023 - Jaime Marquínez Ferrándiz 
<[email protected]>
+
+- Add deadbeef-fix-register-cxx17.patch
+- Add deadbeef-adplug-use-cxx11.patch
+
+-------------------------------------------------------------------

New:
----
  deadbeef-adplug-use-cxx11.patch
  deadbeef-fix-register-cxx17.patch

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

Other differences:
------------------
++++++ deadbeef.spec ++++++
--- /var/tmp/diff_new_pack.nMFhpi/_old  2023-05-09 14:21:49.243577593 +0200
+++ /var/tmp/diff_new_pack.nMFhpi/_new  2023-05-09 14:21:49.247577616 +0200
@@ -36,6 +36,10 @@
 Patch2:         %{name}-fix-includes.patch
 Patch3:         %{name}-fix-desktop-file.patch
 Patch4:         %{name}-fix-libretro-compilation.patch
+# PATCH-FIX-UPSTREAM 
https://github.com/DeaDBeeF-Player/deadbeef/commit/6afd56831825e67f1eff97e5e291a60947b187a3
+Patch5:         %{name}-fix-register-cxx17.patch
+# PATCH-FIX-UPSTREAM 
https://github.com/DeaDBeeF-Player/deadbeef/commit/ec70bec029c379ea17442c95b2ad346a0a68d9d0
+Patch6:         %{name}-adplug-use-cxx11.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  clang

++++++ deadbeef-adplug-use-cxx11.patch ++++++
>From ec70bec029c379ea17442c95b2ad346a0a68d9d0 Mon Sep 17 00:00:00 2001
From: Oleksiy Yakovenko <[email protected]>
Date: Sun, 7 May 2023 12:06:10 +0200
Subject: [PATCH] adplug: added -std=c++11 for linux builds

---
 plugins/adplug/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: deadbeef-1.9.5/plugins/adplug/Makefile.am
===================================================================
--- deadbeef-1.9.5.orig/plugins/adplug/Makefile.am
+++ deadbeef-1.9.5/plugins/adplug/Makefile.am
@@ -5,7 +5,7 @@ pkglib_LTLIBRARIES = adplug.la
 
 adplug_la_CFLAGS = $(CFLAGS) -std=c99 -I$(adplugpath)/adplug 
-I$(adplugpath)/libbinio -fPIC
 adplug_la_LDFLAGS = -module -avoid-version $(NOCPPLIB) -lm
-adplug_la_CXXFLAGS = $(CXXFLAGS) -Dstricmp=strcasecmp -DVERSION=\"2.3.1\" 
-I$(adplugpath)/adplug -I$(adplugpath)/libbinio
+adplug_la_CXXFLAGS = $(CXXFLAGS) -std=c++11 -Dstricmp=strcasecmp 
-DVERSION=\"2.3.1\" -I$(adplugpath)/adplug -I$(adplugpath)/libbinio
 
 adplug_la_SOURCES = plugin.c\
                    adplug-db.cpp\
Index: deadbeef-1.9.5/plugins/adplug/Makefile.in
===================================================================
--- deadbeef-1.9.5.orig/plugins/adplug/Makefile.in
+++ deadbeef-1.9.5/plugins/adplug/Makefile.in
@@ -601,7 +601,7 @@ top_srcdir = @top_srcdir@
 @HAVE_ADPLUG_TRUE@pkglib_LTLIBRARIES = adplug.la
 @HAVE_ADPLUG_TRUE@adplug_la_CFLAGS = $(CFLAGS) -std=c99 -I$(adplugpath)/adplug 
-I$(adplugpath)/libbinio -fPIC
 @HAVE_ADPLUG_TRUE@adplug_la_LDFLAGS = -module -avoid-version $(NOCPPLIB) -lm
-@HAVE_ADPLUG_TRUE@adplug_la_CXXFLAGS = $(CXXFLAGS) -Dstricmp=strcasecmp 
-DVERSION=\"2.3.1\" -I$(adplugpath)/adplug -I$(adplugpath)/libbinio
+@HAVE_ADPLUG_TRUE@adplug_la_CXXFLAGS = $(CXXFLAGS) -std=c++11 
-Dstricmp=strcasecmp -DVERSION=\"2.3.1\" -I$(adplugpath)/adplug 
-I$(adplugpath)/libbinio
 @HAVE_ADPLUG_TRUE@adplug_la_SOURCES = plugin.c\
 @HAVE_ADPLUG_TRUE@                   adplug-db.cpp\
 @HAVE_ADPLUG_TRUE@                                libbinio/binfile.h\

++++++ deadbeef-fix-register-cxx17.patch ++++++
>From 6afd56831825e67f1eff97e5e291a60947b187a3 Mon Sep 17 00:00:00 2001
From: Oleksiy Yakovenko <[email protected]>
Date: Thu, 13 Apr 2023 23:41:17 +0200
Subject: [PATCH] adplug: windows compile fix (c++17 error)

---
 plugins/adplug/libbinio/binio.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugins/adplug/libbinio/binio.cpp 
b/plugins/adplug/libbinio/binio.cpp
index 02598f5508..5aadafe1bf 100644
--- a/plugins/adplug/libbinio/binio.cpp
+++ b/plugins/adplug/libbinio/binio.cpp
@@ -495,7 +495,7 @@ void binostream::writeFloat(Float f, FType ft)
 void binostream::float2ieee_single(Float num, Byte *bytes)
 {
   long         sign;
-  register long        bits;
+  long         bits;
 
   if (num < 0) {       /* Can't distinguish a negative zero */
     sign = 0x80000000;

Reply via email to