summaryrefslogtreecommitdiffstats
path: root/meta-oe
diff options
context:
space:
mode:
authorMatthieu CRAPET <Matthieu.CRAPET@ingenico.com>2014-06-11 17:13:51 +0200
committerMartin Jansa <Martin.Jansa@gmail.com>2014-06-21 10:32:30 +0200
commitd4312063b7d8aff365698f2e978cb684d962f774 (patch)
tree0c326ee9d09d39c77f11f0b9818ef19bbe159399 /meta-oe
parent8a9d356a9202350766a68aa07f97ea97e9ed0a51 (diff)
downloadmeta-openembedded-d4312063b7d8aff365698f2e978cb684d962f774.tar.gz
id3lib: fix autoheader warning due to missing AC_DEFINE template
For more information: https://www.mail-archive.com/openembedded-devel@lists.openembedded.org/msg36641.html Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe')
-rw-r--r--meta-oe/recipes-multimedia/id3lib/id3lib/acdefine.patch42
-rw-r--r--meta-oe/recipes-multimedia/id3lib/id3lib_3.8.3.bb1
2 files changed, 43 insertions, 0 deletions
diff --git a/meta-oe/recipes-multimedia/id3lib/id3lib/acdefine.patch b/meta-oe/recipes-multimedia/id3lib/id3lib/acdefine.patch
new file mode 100644
index 000000000..09edecc96
--- /dev/null
+++ b/meta-oe/recipes-multimedia/id3lib/id3lib/acdefine.patch
@@ -0,0 +1,42 @@
1Add a description to the AC_DEFINE statements so that it appears in config.h and silences a fatal warning.
2
3Upstream-Status:Pending
4Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com>
5---
6 configure.in | 6 +++---
7 1 file changed, 3 insertions(+), 3 deletions(-)
8
9diff --git a/configure.in b/configure.in
10index abfe4cd..ce0d380 100644
11--- a/configure.in
12+++ b/configure.in
13@@ -168,7 +168,7 @@ if test $has_iconv = 1; then
14 iconv_oldstyle=1, iconv_oldstyle=0)
15 if test $iconv_oldstyle = 1; then
16 AC_MSG_RESULT(const char **)
17- AC_DEFINE(ID3LIB_ICONV_OLDSTYLE)
18+ AC_DEFINE(ID3LIB_ICONV_OLDSTYLE,[1],[Old iconv prototype definition in iconv.h])
19 #we'll check out the need of
20 #typecast in the call of iconv_open
21 AC_MSG_CHECKING(whether to typecast in iconv)
22@@ -184,7 +184,7 @@ if test $has_iconv = 1; then
23 iconv_cast=0, iconv_cast=1)
24 if test $iconv_cast = 1; then
25 AC_MSG_RESULT(yes)
26- AC_DEFINE(ID3LIB_ICONV_CAST_OK)
27+ AC_DEFINE(ID3LIB_ICONV_CAST_OK,[1],[Accepting const char ** in iconv prototype])
28 else
29 AC_MSG_RESULT(no)
30 fi
31@@ -206,7 +206,7 @@ if test $has_iconv = 1; then
32 iconv_cast=0, iconv_cast=1)
33 if test $iconv_cast = 1; then
34 AC_MSG_RESULT(yes)
35- AC_DEFINE(ID3LIB_ICONV_CAST_OK)
36+ AC_DEFINE(ID3LIB_ICONV_CAST_OK,[1],[Accepting const char ** in iconv prototype])
37 else
38 AC_MSG_RESULT(no)
39 fi
40--
412.0.0
42
diff --git a/meta-oe/recipes-multimedia/id3lib/id3lib_3.8.3.bb b/meta-oe/recipes-multimedia/id3lib/id3lib_3.8.3.bb
index 3089b8e73..fc80cc0ac 100644
--- a/meta-oe/recipes-multimedia/id3lib/id3lib_3.8.3.bb
+++ b/meta-oe/recipes-multimedia/id3lib/id3lib_3.8.3.bb
@@ -8,6 +8,7 @@ PR = "r1"
8 8
9SRC_URI = "${SOURCEFORGE_MIRROR}/id3lib/id3lib-${PV}.tar.gz;name=archive \ 9SRC_URI = "${SOURCEFORGE_MIRROR}/id3lib/id3lib-${PV}.tar.gz;name=archive \
10 http://ftp.de.debian.org/debian/pool/main/i/id3lib3.8.3/id3lib3.8.3_3.8.3-7.2.diff.gz;name=patch \ 10 http://ftp.de.debian.org/debian/pool/main/i/id3lib3.8.3/id3lib3.8.3_3.8.3-7.2.diff.gz;name=patch \
11 file://acdefine.patch \
11" 12"
12SRC_URI[archive.md5sum] = "19f27ddd2dda4b2d26a559a4f0f402a7" 13SRC_URI[archive.md5sum] = "19f27ddd2dda4b2d26a559a4f0f402a7"
13SRC_URI[archive.sha256sum] = "2749cc3c0cd7280b299518b1ddf5a5bcfe2d1100614519b68702230e26c7d079" 14SRC_URI[archive.sha256sum] = "2749cc3c0cd7280b299518b1ddf5a5bcfe2d1100614519b68702230e26c7d079"