aboutsummaryrefslogtreecommitdiff
path: root/mail/opendkim/patches/020-uclibc.patch
blob: 34da7f4b53c0bc16cdd1db50edce117d39f11eec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- a/libopendkim/dkim-dns.c
+++ b/libopendkim/dkim-dns.c
@@ -163,6 +163,9 @@ int
 dkim_res_query(void *srv, int type, unsigned char *query, unsigned char *buf,
                size_t buflen, void **qh)
 {
+#ifdef __UCLIBC__
+	return DKIM_DNS_ERROR;
+#else
 	int n;
 	int ret;
 	struct dkim_res_qh *rq;
@@ -209,6 +212,7 @@ dkim_res_query(void *srv, int type, unsi
 	*qh = (void *) rq;
 
 	return DKIM_DNS_SUCCESS;
+#endif // __UCLIBC__
 }
 
 /*