summaryrefslogtreecommitdiff
blob: 5eb0010092a8a7183d846781d025c6e401604607 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Bug: https://bugs.gentoo.org/883285

From e39b749619191226ccbf8730084c0d2dcadc9065 Mon Sep 17 00:00:00 2001
From: Violet Purcell <vimproved@inventati.org>
Date: Sat, 8 Jul 2023 18:34:11 +0000
Subject: [PATCH] Fix detection of dns_pton and dns_ntop with clang 16

--- a/configure
+++ b/configure
@@ -94,7 +94,8 @@ int main() {
   char buf[64];
   long x = 0;
   inet_pton(AF_INET, &x, buf);
-  return inet_ntop(AF_INET, &x, buf, sizeof(buf));
+  inet_ntop(AF_INET, &x, buf, sizeof(buf));
+  return 0;
 } 
 EOF
 
-- 
2.41.0