diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-07-09 04:23:59 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-07-09 04:23:59 +0100 |
commit | 49307b439ea0ae14beb0772de83e70297ae8356c (patch) | |
tree | 02f22afc29810c4558bf87d13c56f288d43fecc3 /net-libs/udns/files | |
parent | 99b2c44c1425c7b2925846d4c44b2bf2f78dc786 (diff) |
gentoo auto-resync : 09:07:2023 - 04:23:59
Diffstat (limited to 'net-libs/udns/files')
-rw-r--r-- | net-libs/udns/files/udns-0.4-configure-pton-ntop-clang16.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/net-libs/udns/files/udns-0.4-configure-pton-ntop-clang16.patch b/net-libs/udns/files/udns-0.4-configure-pton-ntop-clang16.patch new file mode 100644 index 000000000000..5eb0010092a8 --- /dev/null +++ b/net-libs/udns/files/udns-0.4-configure-pton-ntop-clang16.patch @@ -0,0 +1,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 + |