third_party/glib: disable glibc specific features

Change-Id: Icafde61cb3a273495f30165134d26665aa969cb9
Reviewed-on: https://review.monogon.dev/c/monogon/+/4407
Tested-by: Jenkins CI
Reviewed-by: Jan Schär <jan@monogon.tech>
diff --git a/third_party/glib/patches/musl-compat.patch b/third_party/glib/patches/musl-compat.patch
index 31206f2..066c3f7 100644
--- a/third_party/glib/patches/musl-compat.patch
+++ b/third_party/glib/patches/musl-compat.patch
@@ -24,7 +24,22 @@
  
  #define HAVE_LCHOWN 1
  
-@@ -258,10 +246,8 @@
+@@ -210,14 +198,8 @@
+ #define HAVE_READLINK 1
+ 
+ #define HAVE_RECVMMSG 1
+ 
+-#define HAVE_RES_NCLOSE 1
+-
+-#define HAVE_RES_NINIT 1
+-
+-#define HAVE_RES_NQUERY 1
+-
+ #define HAVE_RTLD_GLOBAL 1
+ 
+ #define HAVE_RTLD_LAZY 1
+ 
+@@ -258,10 +240,8 @@
  #define HAVE_STPCPY 1
  
  #define HAVE_STRCASECMP 1
@@ -35,7 +50,7 @@
  
  #define HAVE_STRING_H 1
  
-@@ -270,14 +256,8 @@
+@@ -270,14 +250,8 @@
  #define HAVE_STRNLEN 1
  
  #define HAVE_STRSIGNAL 1