forked from pool/libid3tag
Accepting request 494425 from home:alarrosa:branches:multimedia:libs
- 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. OBS-URL: https://build.opensuse.org/request/show/494425 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libid3tag?expand=0&rev=13
This commit is contained in:
parent
8da47e1fa9
commit
eaaca43108
25
fix-build-with-gperf-3.1.diff
Normal file
25
fix-build-with-gperf-3.1.diff
Normal file
@ -0,0 +1,25 @@
|
||||
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
|
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed May 10 18:52:12 UTC 2017 - alarrosa@suse.com
|
||||
|
||||
- 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.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 16 12:18:10 UTC 2015 - mpluskal@suse.com
|
||||
|
||||
|
@ -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,6 +33,8 @@ Patch3: libid3tag-automake-fix.dif
|
||||
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 alarrosa@suse.com -- Fix build with gperf 3.1
|
||||
Patch7: fix-build-with-gperf-3.1.diff
|
||||
BuildRequires: gperf
|
||||
BuildRequires: libtool
|
||||
BuildRequires: pkg-config
|
||||
@ -73,6 +75,9 @@ develop applications with libid3tag.
|
||||
%patch4
|
||||
%patch5
|
||||
%patch6
|
||||
%if 0%{?suse_version} > 1320
|
||||
%patch7 -p1
|
||||
%endif
|
||||
|
||||
%build
|
||||
autoreconf -fiv
|
||||
|
Loading…
Reference in New Issue
Block a user