Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:rhabacker:branches:windows:mingw:win64
mingw64-kdelibs4support
0001-Fix-bug-not-been-not-find-able-to-find-ine...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-Fix-bug-not-been-not-find-able-to-find-inet_xxx-func.patch of Package mingw64-kdelibs4support
From 308bf2113060f8d71559b3b9bcd6e630190dd862 Mon Sep 17 00:00:00 2001 From: Ralf Habacker <ralf.habacker@freenet.de> Date: Mon, 12 Jul 2021 10:22:26 +0200 Subject: [PATCH] Fix bug not been not find able to find inet_xxx functions --- src/ConfigureChecks.cmake | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/ConfigureChecks.cmake b/src/ConfigureChecks.cmake index 9edbff7e..424d2d33 100644 --- a/src/ConfigureChecks.cmake +++ b/src/ConfigureChecks.cmake @@ -43,8 +43,9 @@ if(NOT APPLE) check_function_exists(fdatasync HAVE_FDATASYNC) # kdecore, kate endif(NOT APPLE) -check_function_exists(inet_pton HAVE_INET_PTON) -check_function_exists(inet_ntop HAVE_INET_NTOP) +set(CMAKE_REQUIRED_LIBRARIES ws2_32) +CHECK_C_SOURCE_COMPILES("#include <ws2tcpip.h>\n int main() { inet_ntop(0,0,0,0); }" HAVE_INET_NTOP) +CHECK_C_SOURCE_COMPILES("#include <ws2tcpip.h>\n int main() { inet_pton(0,0,0); }" HAVE_INET_PTON) check_function_exists(getprotobyname_r HAVE_GETPROTOBYNAME_R) check_function_exists(poll HAVE_POLL) check_function_exists(getservbyname_r HAVE_GETSERVBYNAME_R) -- 2.26.2
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor