Takashi Iwai
eaaca43108
- 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
26 lines
851 B
Diff
26 lines
851 B
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
|