1 https://github.com/openembedded/meta-openembedded/blob/master/meta-oe/recipes-multimedia/id3lib/id3lib/acdefine.patch
3 Add a description to the AC_DEFINE statements so that it appears in config.h and silences a fatal warning.
5 Upstream-Status:Pending
6 Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com>
8 configure.in | 6 +++---
9 1 file changed, 3 insertions(+), 3 deletions(-)
11 diff --git a/configure.in b/configure.in
12 index abfe4cd..ce0d380 100644
15 @@ -168,7 +168,7 @@ if test $has_iconv = 1; then
16 iconv_oldstyle=1, iconv_oldstyle=0)
17 if test $iconv_oldstyle = 1; then
18 AC_MSG_RESULT(const char **)
19 - AC_DEFINE(ID3LIB_ICONV_OLDSTYLE)
20 + AC_DEFINE(ID3LIB_ICONV_OLDSTYLE,[1],[Old iconv prototype definition in iconv.h])
21 #we'll check out the need of
22 #typecast in the call of iconv_open
23 AC_MSG_CHECKING(whether to typecast in iconv)
24 @@ -184,7 +184,7 @@ if test $has_iconv = 1; then
25 iconv_cast=0, iconv_cast=1)
26 if test $iconv_cast = 1; then
28 - AC_DEFINE(ID3LIB_ICONV_CAST_OK)
29 + AC_DEFINE(ID3LIB_ICONV_CAST_OK,[1],[Accepting const char ** in iconv prototype])
33 @@ -206,7 +206,7 @@ if test $has_iconv = 1; then
34 iconv_cast=0, iconv_cast=1)
35 if test $iconv_cast = 1; then
37 - AC_DEFINE(ID3LIB_ICONV_CAST_OK)
38 + AC_DEFINE(ID3LIB_ICONV_CAST_OK,[1],[Accepting const char ** in iconv prototype])