summaryrefslogtreecommitdiffstats
path: root/meta/recipes-multimedia
diff options
context:
space:
mode:
authorAlexander Kanavin <alexander.kanavin@linux.intel.com>2017-08-02 18:27:30 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-08-13 09:27:37 +0100
commit42ffbda12430a29f6778d6626e9defd75783f85d (patch)
treeba540d289c5efe39ab3947e0791685a5f42f8231 /meta/recipes-multimedia
parent65da29a913da26d62e432759857ba229182f3298 (diff)
downloadpoky-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.patch40
-rw-r--r--meta/recipes-multimedia/libid3tag/libid3tag_0.15.1b.bb3
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 @@
1From 91fcf66b9182c75cd2b96d88991d5a1c6307d4b4 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Wed, 2 Aug 2017 16:27:52 +0300
4Subject: [PATCH] Fix gperf 3.1 incompatibility.
5
6Upstream-Status: Pending
7Signed-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
13diff --git a/compat.h b/compat.h
14index 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
26diff --git a/frametype.h b/frametype.h
27index 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--
392.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"
12SRC_URI = "${SOURCEFORGE_MIRROR}/mad/libid3tag-${PV}.tar.gz \ 12SRC_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 "
16UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/mad/files/libid3tag/" 17UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/mad/files/libid3tag/"
17UPSTREAM_CHECK_REGEX = "/projects/mad/files/libid3tag/(?P<pver>.*)/$" 18UPSTREAM_CHECK_REGEX = "/projects/mad/files/libid3tag/(?P<pver>.*)/$"
18 19