Hello community,

here is the log from the commit of package libid3tag for openSUSE:Factory 
checked in at 2017-05-17 10:46:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libid3tag (Old)
 and      /work/SRC/openSUSE:Factory/.libid3tag.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libid3tag"

Wed May 17 10:46:50 2017 rev:23 rq:494754 version:0.15.1b

Changes:
--------
--- /work/SRC/openSUSE:Factory/libid3tag/libid3tag.changes      2015-06-24 
20:39:26.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.libid3tag.new/libid3tag.changes 2017-05-17 
10:46:51.542090442 +0200
@@ -1,0 +2,13 @@
+Thu May 11 09:35:46 UTC 2017 - [email protected]
+
+- Add BuildRequires: zypper and use it to check for gperf version so
+  the package builds with all versions of gperf (boo#1027205)
+
+-------------------------------------------------------------------
+Wed May 10 18:52:12 UTC 2017 - [email protected]
+
+- Add fix-build-with-gperf-3.1.diff to fix build with gperf 3.1
+  which now uses size_t instead of unsigned int for the len parameter
+  of the hash/lookup function (boo#1027205)
+
+-------------------------------------------------------------------

New:
----
  fix-build-with-gperf-3.1.diff

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

Other differences:
------------------
++++++ libid3tag.spec ++++++
--- /var/tmp/diff_new_pack.cGiPbP/_old  2017-05-17 10:46:52.182000424 +0200
+++ /var/tmp/diff_new_pack.cGiPbP/_new  2017-05-17 10:46:52.185999862 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libid3tag
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -33,10 +33,13 @@
 Patch4:         libid3tag-optflags.patch
 Patch5:         libid3tag-0.15.1b-fix_overflow.patch
 Patch6:         libid3tag-visibility.patch
+# PATCH-FIX-UPSTREAM fix-build-with-gperf-3.1.diff [email protected] -- Fix 
build with gperf 3.1
+Patch7:         fix-build-with-gperf-3.1.diff
 BuildRequires:  gperf
 BuildRequires:  libtool
 BuildRequires:  pkg-config
 BuildRequires:  zlib-devel
+BuildRequires:  zypper
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -73,6 +76,9 @@
 %patch4
 %patch5
 %patch6
+if zypper vcmp $(rpm -q --qf "%%{version}" gperf) 3.1 | grep -v "is older"; 
then
+%patch7 -p1
+fi
 
 %build
 autoreconf -fiv

++++++ fix-build-with-gperf-3.1.diff ++++++
Index: libid3tag-0.15.1b/compat.h
===================================================================
--- libid3tag-0.15.1b.orig/compat.h
+++ libid3tag-0.15.1b/compat.h
@@ -34,7 +34,7 @@ struct id3_compat {
 };
 
 struct id3_compat const *id3_compat_lookup(register char const *,
-                                          register unsigned int);
+                                          register size_t);
 
 int id3_compat_fixup(struct id3_tag *);
 
Index: libid3tag-0.15.1b/frametype.h
===================================================================
--- libid3tag-0.15.1b.orig/frametype.h
+++ libid3tag-0.15.1b/frametype.h
@@ -37,6 +37,6 @@ extern struct id3_frametype const id3_fr
 extern struct id3_frametype const id3_frametype_obsolete;
 
 struct id3_frametype const *id3_frametype_lookup(register char const *,
-                                                register unsigned int);
+                                                register size_t);
 #pragma GCC visibility pop
 # endif

Reply via email to