Blame SOURCES/libgpg-error-1.42-inet_pton.patch

af0758
From 75e06a7861cb4a8479a382946217e846e9b58154 Mon Sep 17 00:00:00 2001
af0758
From: Jakub Jelen <jjelen@redhat.com>
af0758
Date: Mon, 6 Dec 2021 20:52:57 +0100
af0758
Subject: [PATCH Libgpg-error] configure: Add missing check for logging
af0758
af0758
* configure.ac: Add missing check for inet_pton to avoid using inet_addr
af0758
  in modern systems.
af0758
--
af0758
af0758
Signed-off-by: Jakub Jelen <jjelen@redhat.com>
af0758
---
af0758
 configure.ac | 2 +-
af0758
 1 file changed, 1 insertion(+), 1 deletion(-)
af0758
af0758
diff --git a/configure.ac b/configure.ac
af0758
index da013d8..3686a9c 100644
af0758
--- a/configure.ac
af0758
+++ b/configure.ac
af0758
@@ -215,7 +215,7 @@ AC_SUBST(INSTALLSHELLPATH)
af0758
 
af0758
 AC_FUNC_FORK
af0758
 AC_CHECK_FUNCS([flockfile vasprintf mmap rand strlwr stpcpy setenv stat \
af0758
-                getrlimit getpwnam getpwuid getpwnam_r getpwuid_r ])
af0758
+                getrlimit getpwnam getpwuid getpwnam_r getpwuid_r inet_pton  ])
af0758
 
af0758
 
af0758
 #
af0758
-- 
af0758
2.31.1
af0758