json-glib: update to 1.10.6
[oi-userland.git] / components / library / id3lib / patches / 05-acdefine.patch
bloba28e03aeef17d23389b101b6e98e5900d80c84d0
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>
7 ---
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
13 --- a/configure.in
14 +++ b/configure.in
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
27 AC_MSG_RESULT(yes)
28 - AC_DEFINE(ID3LIB_ICONV_CAST_OK)
29 + AC_DEFINE(ID3LIB_ICONV_CAST_OK,[1],[Accepting const char ** in iconv prototype])
30 else
31 AC_MSG_RESULT(no)
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
36 AC_MSG_RESULT(yes)
37 - AC_DEFINE(ID3LIB_ICONV_CAST_OK)
38 + AC_DEFINE(ID3LIB_ICONV_CAST_OK,[1],[Accepting const char ** in iconv prototype])
39 else
40 AC_MSG_RESULT(no)
42 --
43 2.0.0