Hello community,

here is the log from the commit of package mp3_check for openSUSE:Factory 
checked in at 2020-06-10 00:48:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mp3_check (Old)
 and      /work/SRC/openSUSE:Factory/.mp3_check.new.3606 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "mp3_check"

Wed Jun 10 00:48:19 2020 rev:3 rq:812699 version:1.98

Changes:
--------
--- /work/SRC/openSUSE:Factory/mp3_check/mp3_check.changes      2017-08-28 
15:18:07.116688018 +0200
+++ /work/SRC/openSUSE:Factory/.mp3_check.new.3606/mp3_check.changes    
2020-06-10 00:48:21.590936144 +0200
@@ -1,0 +2,7 @@
+Mon Jun  8 11:57:30 UTC 2020 - Luigi Baldoni <aloi...@gmx.com>
+
+- Refresh mp3_check-fix_makefile.patch and
+  mp3_check-fix_printf_format_for_size_t.patch
+- Add mp3_check-gcc10.patch
+
+-------------------------------------------------------------------

New:
----
  mp3_check-gcc10.patch

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

Other differences:
------------------
++++++ mp3_check.spec ++++++
--- /var/tmp/diff_new_pack.ETexQW/_old  2020-06-10 00:48:22.242937850 +0200
+++ /var/tmp/diff_new_pack.ETexQW/_new  2020-06-10 00:48:22.246937861 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package mp3_check
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 # Copyright (c) 2011 Packman Team <pack...@links2linux.de>
 #
 # All modifications and additions to the file contributed by third parties
@@ -13,20 +13,23 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
+%define _lto_cflags %{nil}
 Name:           mp3_check
 Version:        1.98
 Release:        0
 Summary:        MP3 Format Validator
-License:        GPL-2.0+
+License:        GPL-2.0-or-later
 Group:          Productivity/Multimedia/Sound/Utilities
-Url:            https://sourceforge.net/projects/mp3check/
+URL:            https://sourceforge.net/projects/mp3check/
 Source:         
https://downloads.sourceforge.net/mp3check/mp3_check-%{version}.tar.gz
 Patch1:         mp3_check-fix_makefile.patch
 Patch2:         mp3_check-fix_printf_format_for_size_t.patch
+# PATCH-FIX-OPENSUSE mp3_check-gcc10.patch
+Patch3:         mp3_check-gcc10.patch
 
 %description
 mp3_check helps identifying, in detail, MP3 files that do not
@@ -36,22 +39,20 @@
 quality.
 
 %prep
-%setup -q
-%patch1
-%patch2
+%autosetup -p1
 
 %build
-make %{?_smp_mflags} \
+%make_build \
     CC="gcc" \
     LOCALBASE="%{_prefix}" \
-    CFLAGS="%{optflags}" \
-    OPT_FLAGS="" \
+    CFLAGS="%{optflags} -fPIE" \
+    OPT_FLAGS=""
 
 %install
-make  %{?_smp_mflags} \
+%make_build \
     CC="gcc" \
     LOCALBASE="%{_prefix}" \
-    CFLAGS="%{optflags}" \
+    CFLAGS="%{optflags} -pie" \
     OPT_FLAGS="" \
     DESTDIR=%{buildroot} \
     install

++++++ mp3_check-fix_makefile.patch ++++++
--- /var/tmp/diff_new_pack.ETexQW/_old  2020-06-10 00:48:22.266937912 +0200
+++ /var/tmp/diff_new_pack.ETexQW/_new  2020-06-10 00:48:22.270937923 +0200
@@ -1,5 +1,5 @@
---- Makefile.orig      2011-05-17 20:54:38.000000000 +0200
-+++ Makefile   2011-05-17 20:55:18.000000000 +0200
+--- mp3_check-1.98/Makefile.orig       2011-05-17 20:54:38.000000000 +0200
++++ mp3_check-1.98/Makefile    2011-05-17 20:55:18.000000000 +0200
 @@ -17,11 +17,9 @@
  
  trim:         $(OBJS)

++++++ mp3_check-fix_printf_format_for_size_t.patch ++++++
--- /var/tmp/diff_new_pack.ETexQW/_old  2020-06-10 00:48:22.282937954 +0200
+++ /var/tmp/diff_new_pack.ETexQW/_new  2020-06-10 00:48:22.282937954 +0200
@@ -1,5 +1,5 @@
---- support_functions.h.orig   2011-05-17 20:59:31.000000000 +0200
-+++ support_functions.h        2011-05-17 20:59:43.000000000 +0200
+--- mp3_check-1.98/support_functions.h.orig    2011-05-17 20:59:31.000000000 
+0200
++++ mp3_check-1.98/support_functions.h 2011-05-17 20:59:43.000000000 +0200
 @@ -680,7 +680,7 @@
        printf("%-20s%d\n", "BitRate", mp3_i->BIT_RATE);
        printf("%-20s%d\n", "SampRate", mp3_i->SAMPLE_FREQ);

++++++ mp3_check-gcc10.patch ++++++
Index: mp3_check-1.98/Makefile
===================================================================
--- mp3_check-1.98.orig/Makefile
+++ mp3_check-1.98/Makefile
@@ -2,7 +2,7 @@
 
 CC ?= gcc
 LOCALBASE ?= /usr/local
-CFLAGS += -Wall -Werror
+CFLAGS += -Wall
 OPT_FLAGS = -L${LOCALBASE}/lib 
 OBJS =         mp3_check.o \
        mp3_check_misc.o
Index: mp3_check-1.98/mp3_check_misc.c
===================================================================
--- mp3_check-1.98.orig/mp3_check_misc.c
+++ mp3_check-1.98/mp3_check_misc.c
@@ -11,7 +11,7 @@
 #include "support_functions.h"
 
 //  Function prototypes go here. 
-inline int             move_to_next_frame(char *possible_mp3_tag, frame_info 
*mp3_i, gen_info *file_info, command_flags *flags, FILE *);
+extern inline int              move_to_next_frame(char *possible_mp3_tag, 
frame_info *mp3_i, gen_info *file_info, command_flags *flags, FILE *);
 int                    get_char_from_file(FILE *, unsigned int *header_value, 
gen_info *file_info, command_flags *flags, char *possible_mp3_tag);
 int                    scan_file(FILE *, char *filename, meta_options 
*flag_options, command_flags *flags);
 int                    parse_args(char **argv, meta_options *flag_options, 
command_flags *flags);

Reply via email to