diff options
author | Matthieu CRAPET <Matthieu.CRAPET@ingenico.com> | 2014-06-11 17:13:51 +0200 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2014-06-21 10:32:30 +0200 |
commit | d4312063b7d8aff365698f2e978cb684d962f774 (patch) | |
tree | 0c326ee9d09d39c77f11f0b9818ef19bbe159399 /meta-oe/recipes-multimedia | |
parent | 8a9d356a9202350766a68aa07f97ea97e9ed0a51 (diff) | |
download | meta-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/recipes-multimedia')
-rw-r--r-- | meta-oe/recipes-multimedia/id3lib/id3lib/acdefine.patch | 42 | ||||
-rw-r--r-- | meta-oe/recipes-multimedia/id3lib/id3lib_3.8.3.bb | 1 |
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 0000000000..09edecc964 --- /dev/null +++ b/meta-oe/recipes-multimedia/id3lib/id3lib/acdefine.patch | |||
@@ -0,0 +1,42 @@ | |||
1 | Add a description to the AC_DEFINE statements so that it appears in config.h and silences a fatal warning. | ||
2 | |||
3 | Upstream-Status:Pending | ||
4 | Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com> | ||
5 | --- | ||
6 | configure.in | 6 +++--- | ||
7 | 1 file changed, 3 insertions(+), 3 deletions(-) | ||
8 | |||
9 | diff --git a/configure.in b/configure.in | ||
10 | index 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 | -- | ||
41 | 2.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 3089b8e730..fc80cc0acf 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 | ||
9 | SRC_URI = "${SOURCEFORGE_MIRROR}/id3lib/id3lib-${PV}.tar.gz;name=archive \ | 9 | SRC_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 | " |
12 | SRC_URI[archive.md5sum] = "19f27ddd2dda4b2d26a559a4f0f402a7" | 13 | SRC_URI[archive.md5sum] = "19f27ddd2dda4b2d26a559a4f0f402a7" |
13 | SRC_URI[archive.sha256sum] = "2749cc3c0cd7280b299518b1ddf5a5bcfe2d1100614519b68702230e26c7d079" | 14 | SRC_URI[archive.sha256sum] = "2749cc3c0cd7280b299518b1ddf5a5bcfe2d1100614519b68702230e26c7d079" |