                 LIBS="$save_libs"])
    AC_CHECK_FUNC(socket, :, AC_CHECK_LIB(socket, socket,
  				        [NETWORK_LIBS="-lsocket $NETWORK_LIBS"],
-diff -ruwN source/gio/ginetsocketaddress.c source-new/gio/ginetsocketaddress.c
---- source/gio/ginetsocketaddress.c	2018-12-23 06:10:41.000000000 -0700
-+++ source-new/gio/ginetsocketaddress.c	2019-01-05 12:05:33.754323562 -0700
-@@ -407,14 +407,21 @@
- g_inet_socket_address_new_from_string (const char *address,
-                                        guint       port)
- {
-+#if !defined(__redox__)
-   static struct addrinfo *hints, hints_struct;
-+#endif
-   GSocketAddress *saddr;
-   GInetAddress *iaddr;
-+#if !defined(__redox__)
-   struct addrinfo *res;
-+#endif
-   gint status;
- 
-   if (strchr (address, ':'))
-     {
-+#if defined(__redox__)
-+      saddr = NULL;
-+#else
-       /* IPv6 address (or it's invalid). We use getaddrinfo() because
-        * it will handle parsing a scope_id as well.
-        */
-@@ -442,6 +449,7 @@
-         saddr = NULL;
- 
-       freeaddrinfo (res);
-+#endif
-     }
-   else
-     {
 diff -ruwN source/gio/glocalfileinfo.c source-new/gio/glocalfileinfo.c
 --- source/gio/glocalfileinfo.c	2018-12-23 06:10:41.000000000 -0700
 +++ source-new/gio/glocalfileinfo.c	2019-01-05 14:18:02.435425946 -0700

   GInetAddress *address = task_data;
   struct sockaddr_storage sockaddr;
   gsize sockaddr_size;
@@ -319,6 +333,7 @@
                                gai_strerror (retval));
       g_free (phys);
     }

-
diff -ruwN source/gio/gthreadedresolver.c source-new/gio/gthreadedresolver.c
--- source/gio/gthreadedresolver.c	2018-12-23 06:10:41.000000000 -0700
+++ source-new/gio/gthreadedresolver.c	2019-01-13 10:47:33.441032953 -0700
@@ -289,6 +289,12 @@
                       gpointer       task_data,
                       GCancellable  *cancellable)
 {
