All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] build: require glib >= 2.60
@ 2021-02-26  5:41 JongSeok Won
  2021-03-05 14:49 ` Denis Kenzior
  0 siblings, 1 reply; 6+ messages in thread
From: JongSeok Won @ 2021-02-26  5:41 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 1136 bytes --]

Build failure in the latest version has occurred with glib 2.56.4.

src/simutil.c: In function ‘validate_utf8_tlv’:
src/simutil.c:779:9: error: implicit declaration of function
‘g_utf8_validate_len’; did you mean ‘g_utf8_validate’?
[-Werror=implicit-function-declaration]
  return g_utf8_validate_len((const char *)tlv + 2, len, NULL);
         ^~~~~~~~~~~~~~~~~~~
         g_utf8_validate


According to glib documentation, "g_utf8_validate_len" is supported since
2.60
So, I sent this patch.

Regards,
JongSeok Won

---
 configure.ac | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index d4efc8a8..f195c862 100644
--- a/configure.ac
+++ b/configure.ac
@@ -63,8 +63,8 @@ AC_CHECK_FUNC(signalfd, dummy=yes,
 AC_CHECK_LIB(dl, dlopen, dummy=yes,
  AC_MSG_ERROR(dynamic linking loader is required))

-PKG_CHECK_MODULES(GLIB, glib-2.0 >= 2.32, dummy=yes,
- AC_MSG_ERROR(GLib >= 2.32 is required))
+PKG_CHECK_MODULES(GLIB, glib-2.0 >= 2.60, dummy=yes,
+ AC_MSG_ERROR(GLib >= 2.60 is required))
 AC_SUBST(GLIB_CFLAGS)
 AC_SUBST(GLIB_LIBS)
 --

^ permalink raw reply related	[flat|nested] 6+ messages in thread
* [PATCH] build: require glib >= 2.60
@ 2021-02-16  9:31 JongSeok Won
  0 siblings, 0 replies; 6+ messages in thread
From: JongSeok Won @ 2021-02-16  9:31 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 1151 bytes --]

Build failure in the latest version has occurred with glib 2.56.4.

src/simutil.c: In function ‘validate_utf8_tlv’:
> src/simutil.c:779:9: error: implicit declaration of function
> ‘g_utf8_validate_len’; did you mean ‘g_utf8_validate’?
> [-Werror=implicit-function-declaration]
>   return g_utf8_validate_len((const char *)tlv + 2, len, NULL);
>          ^~~~~~~~~~~~~~~~~~~
>          g_utf8_validate
>

According to glib documentation, "g_utf8_validate_len" is supported since
2.60
So, I sent this patch.

Regards,
JongSeok Won

---
 configure.ac | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index d4efc8a8..f195c862 100644
--- a/configure.ac
+++ b/configure.ac
@@ -63,8 +63,8 @@ AC_CHECK_FUNC(signalfd, dummy=yes,
 AC_CHECK_LIB(dl, dlopen, dummy=yes,
  AC_MSG_ERROR(dynamic linking loader is required))

-PKG_CHECK_MODULES(GLIB, glib-2.0 >= 2.32, dummy=yes,
- AC_MSG_ERROR(GLib >= 2.32 is required))
+PKG_CHECK_MODULES(GLIB, glib-2.0 >= 2.60, dummy=yes,
+ AC_MSG_ERROR(GLib >= 2.60 is required))
 AC_SUBST(GLIB_CFLAGS)
 AC_SUBST(GLIB_LIBS)
 --

[-- Attachment #2: attachment.htm --]
[-- Type: text/html, Size: 1790 bytes --]

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-04-30 14:47 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-26  5:41 [PATCH] build: require glib >= 2.60 JongSeok Won
2021-03-05 14:49 ` Denis Kenzior
2021-03-08  9:22   ` JongSeok Won
2021-03-08  9:33     ` JongSeok Won
2021-04-30 14:47       ` Denis Kenzior
  -- strict thread matches above, loose matches on Subject: below --
2021-02-16  9:31 JongSeok Won

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.