Commit Graph

10 Commits

Author SHA1 Message Date
Peter Wagner 4cc991094c glib2: update to 2.56.1
Signed-off-by: Peter Wagner <tripolar@gmx.at>
2018-04-08 19:13:18 +02:00
Sebastian Kemper 9bc047b89d glib2: fix build when res_nquery is not available
Upstream commit "gio: Port GThreadedResolver to use res_nquery() to fix
thread-safety" introduced a bug that causes compile failures on
platforms where res_nquery is unavailable. This patch fixes that.

Bug 794606 has been opened upstream: https://bugzilla.gnome.org/show_bug.cgi?id=794606

On the OpenWrt buildbots this bug is visible during the arc_archs
compile:

  gthreadedresolver.c: In function 'do_lookup_records':
  gthreadedresolver.c:875:16: error: 'res' undeclared (first use in this function); did you mean '_res'?
     res_nclose (&res);
                  ^~~
                  _res
  gthreadedresolver.c:875:16: note: each undeclared identifier is reported only once for each function it appears in
  Makefile:3334: recipe for target 'libgio_2_0_la-gthreadedresolver.lo' failed
  make[8]: *** [libgio_2_0_la-gthreadedresolver.lo] Error 1

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-03-24 09:37:28 +01:00
Peter Wagner dc813c8253 glib2: update to 2.56.0
Signed-off-by: Peter Wagner <tripolar@gmx.at>
2018-03-18 15:05:19 +01:00
Peter Wagner 29a059d79f glib2: update to 2.52.2
Signed-off-by: Peter Wagner <tripolar@gmx.at>
2017-06-12 20:32:26 +02:00
Peter Wagner 5dfd322a3a glib2: update to 2.49.7
Signed-off-by: Peter Wagner <tripolar@gmx.at>
2016-09-19 21:45:24 +02:00
Daniel Golle 0e99e5eea9 glib2: fix (host-)build with gcc6
import upstream fix from
https://git.gnome.org/browse/glib/commit/?id=0817af40e8c74c721c30f6ef482b1f53d12044c7

and fix it to remain compatibile with old version of gcc
https://git.gnome.org/browse/glib/commit/?id=8cdbc7fb2c8c876902e457abe46ee18a0b134486

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2016-07-18 22:59:13 +02:00
Peter Wagner 00a5339e7e glib2: update to 2.46.2
Signed-off-by: Peter Wagner <tripolar@gmx.at>
2016-02-22 22:21:08 +01:00
Peter Wagner c136bcbddb glib2: update to 2.44.1
Signed-off-by: Peter Wagner <tripolar@gmx.at>
2015-10-04 12:58:22 +02:00
Peter Wagner 1b66d41113 glib2: update to 2.43.4
Signed-off-by: Peter Wagner <tripolar@gmx.at>
2015-02-15 22:43:47 +01:00
Jo-Philipp Wich 767e5bbd9c glib2: fix missing gobject library when linking glib-compile-resources (#826)
The automake template does not specify libgobject-2.0.la as _LDADD dependency
for glib-compile-resources, leading to the following linker error:

  .../ld: warning: libgmodule-2.0.so.0, needed by ./.libs/libgio-2.0.so, not found (try using -rpath or -rpath-link)
  ./.libs/libgio-2.0.so: undefined reference to `g_module_supported'
  ./.libs/libgio-2.0.so: undefined reference to `g_module_symbol'
  ./.libs/libgio-2.0.so: undefined reference to `g_module_close'
  ./.libs/libgio-2.0.so: undefined reference to `g_module_error'
  ./.libs/libgio-2.0.so: undefined reference to `g_module_open'
  collect2: error: ld returned 1 exit status

This commit introduces a patch to add the missing libtool archive to the list
of libraries to link.

Due to the update of the .am file, a full autoreconf is required to update
configure and Makefile, leading to the following error:

  error: HAVE_GTK_DOC does not appear in AM_CONDITIONAL

Therfore another patch is added to properly fix the conditional when using
automake-1.15.

Finally extend the copyright year in the Makefile and enable the generic
autoreconf fixup to properly build and link glib2.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-27 22:43:55 +01:00