diff options
author | Alexander Kanavin <alexander.kanavin@linux.intel.com> | 2017-08-02 18:27:30 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-08-13 09:27:37 +0100 |
commit | 42ffbda12430a29f6778d6626e9defd75783f85d (patch) | |
tree | ba540d289c5efe39ab3947e0791685a5f42f8231 /meta/recipes-multimedia | |
parent | 65da29a913da26d62e432759857ba229182f3298 (diff) | |
download | poky-42ffbda12430a29f6778d6626e9defd75783f85d.tar.gz |
libid3tag: fix build with gperf 3.1
(From OE-Core rev: 15ef4a6de2a61b958484b9291fe67dbeeebf3cfa)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-multimedia')
-rw-r--r-- | meta/recipes-multimedia/libid3tag/libid3tag/0001-Fix-gperf-3.1-incompatibility.patch | 40 | ||||
-rw-r--r-- | meta/recipes-multimedia/libid3tag/libid3tag_0.15.1b.bb | 3 |
2 files changed, 42 insertions, 1 deletions
diff --git a/meta/recipes-multimedia/libid3tag/libid3tag/0001-Fix-gperf-3.1-incompatibility.patch b/meta/recipes-multimedia/libid3tag/libid3tag/0001-Fix-gperf-3.1-incompatibility.patch new file mode 100644 index 0000000000..54f49f6f23 --- /dev/null +++ b/meta/recipes-multimedia/libid3tag/libid3tag/0001-Fix-gperf-3.1-incompatibility.patch | |||
@@ -0,0 +1,40 @@ | |||
1 | From 91fcf66b9182c75cd2b96d88991d5a1c6307d4b4 Mon Sep 17 00:00:00 2001 | ||
2 | From: Alexander Kanavin <alex.kanavin@gmail.com> | ||
3 | Date: Wed, 2 Aug 2017 16:27:52 +0300 | ||
4 | Subject: [PATCH] Fix gperf 3.1 incompatibility. | ||
5 | |||
6 | Upstream-Status: Pending | ||
7 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | ||
8 | --- | ||
9 | compat.h | 2 +- | ||
10 | frametype.h | 2 +- | ||
11 | 2 files changed, 2 insertions(+), 2 deletions(-) | ||
12 | |||
13 | diff --git a/compat.h b/compat.h | ||
14 | index 8af71ec..b3d80d9 100644 | ||
15 | --- a/compat.h | ||
16 | +++ b/compat.h | ||
17 | @@ -34,7 +34,7 @@ struct id3_compat { | ||
18 | }; | ||
19 | |||
20 | struct id3_compat const *id3_compat_lookup(register char const *, | ||
21 | - register unsigned int); | ||
22 | + register size_t); | ||
23 | |||
24 | int id3_compat_fixup(struct id3_tag *); | ||
25 | |||
26 | diff --git a/frametype.h b/frametype.h | ||
27 | index dd064b2..b5b7593 100644 | ||
28 | --- a/frametype.h | ||
29 | +++ b/frametype.h | ||
30 | @@ -37,6 +37,6 @@ extern struct id3_frametype const id3_frametype_unknown; | ||
31 | extern struct id3_frametype const id3_frametype_obsolete; | ||
32 | |||
33 | struct id3_frametype const *id3_frametype_lookup(register char const *, | ||
34 | - register unsigned int); | ||
35 | + register size_t); | ||
36 | |||
37 | # endif | ||
38 | -- | ||
39 | 2.13.2 | ||
40 | |||
diff --git a/meta/recipes-multimedia/libid3tag/libid3tag_0.15.1b.bb b/meta/recipes-multimedia/libid3tag/libid3tag_0.15.1b.bb index e920926bc3..f6139d6124 100644 --- a/meta/recipes-multimedia/libid3tag/libid3tag_0.15.1b.bb +++ b/meta/recipes-multimedia/libid3tag/libid3tag_0.15.1b.bb | |||
@@ -12,7 +12,8 @@ PR = "r7" | |||
12 | SRC_URI = "${SOURCEFORGE_MIRROR}/mad/libid3tag-${PV}.tar.gz \ | 12 | SRC_URI = "${SOURCEFORGE_MIRROR}/mad/libid3tag-${PV}.tar.gz \ |
13 | file://addpkgconfig.patch \ | 13 | file://addpkgconfig.patch \ |
14 | file://obsolete_automake_macros.patch \ | 14 | file://obsolete_automake_macros.patch \ |
15 | " | 15 | file://0001-Fix-gperf-3.1-incompatibility.patch \ |
16 | " | ||
16 | UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/mad/files/libid3tag/" | 17 | UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/mad/files/libid3tag/" |
17 | UPSTREAM_CHECK_REGEX = "/projects/mad/files/libid3tag/(?P<pver>.*)/$" | 18 | UPSTREAM_CHECK_REGEX = "/projects/mad/files/libid3tag/(?P<pver>.*)/$" |
18 | 19 | ||