void-packages/srcpkgs/sysdig/patches/c-ares.patch
2019-05-06 10:17:09 +02:00

11 lines
523 B
Diff

--- CMakeLists.txt 2019-03-27 18:30:07.000000000 +0100
+++ CMakeLists.txt 2019-05-03 15:31:41.838936214 +0200
@@ -422,7 +422,7 @@
if(NOT WIN32 AND NOT APPLE)
option(USE_BUNDLED_CARES "Enable building of the bundled c-ares" ${USE_BUNDLED_DEPS})
if(NOT USE_BUNDLED_CARES)
- find_path(CARES_INCLUDE NAMES cares/ares.h)
+ find_path(CARES_INCLUDE NAMES ares.h)
find_library(CARES_LIB NAMES libcares.a)
if(CARES_INCLUDE AND CARES_LIB)
message(STATUS "Found c-ares: include: ${CARES_INCLUDE}, lib: ${CARES_LIB}")