libglib2: add upstream patch to fix build issue
authorThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 7 Apr 2018 11:30:40 +0000 (13:30 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 7 Apr 2018 11:32:17 +0000 (13:32 +0200)
commitbd90def0ded4b71dbc40b78b8b4dacba32687885
treecba92df55cf6b724c9c50dc1725568393589008a
parentb7c885ea3ff4883a7e33d4604b2d057814d0ca32
libglib2: add upstream patch to fix build issue

Since the bump of libglib2 to 2.56.0, it fails to build on uClibc with:

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

This commit adds an upstream patch that fixes this problem.

Fixes:

  http://autobuild.buildroot.net/results/990e19e3500986263f99354215e33214a2e89116/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/libglib2/0003-gthreadedresolver-Fix-compilation-with-res_nclose-bu.patch [new file with mode: 0644]