Skip to content

Commit

Permalink
c-ares: remove custom patches
Browse files Browse the repository at this point in the history
Current patch is breaking the library dependencies added by cmake
especially when you are static linking.

Applications need the ws2_32 library to be linked for mingw32
and with the existing patch this is not getting passed to the users.

Current patch seems to address this issue:
c-ares/c-ares#373

Both issues are resolved in 1.17.2:

1.17.2-r0/git $ find . | grep c-ares-config.cmake.in
./c-ares-config.cmake.in
1.17.2-r0/git $ find . | grep libcares.pc.cmake
./libcares.pc.cmake

Signed-off-by: Sinan Kaya <[email protected]>
Signed-off-by: Khem Raj <[email protected]>
  • Loading branch information
Sinan Kaya authored and kraj committed Aug 24, 2021
1 parent 7b68cad commit 621bdc1
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 108 deletions.

This file was deleted.

This file was deleted.

5 changes: 1 addition & 4 deletions meta-oe/recipes-support/c-ares/c-ares_1.17.2.bb
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,7 @@ SECTION = "libs"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE.md;md5=fb997454c8d62aa6a47f07a8cd48b006"

SRC_URI = "git://github.com/c-ares/c-ares.git;branch=main \
file://cmake-install-libcares.pc.patch \
file://0001-fix-configure-error-mv-libcares.pc.cmakein-to-libcar.patch \
"
SRC_URI = "git://github.com/c-ares/c-ares.git;branch=main"
SRCREV = "6654436a307a5a686b008c1d4c93b0085da6e6d8"

UPSTREAM_CHECK_GITTAGREGEX = "cares-(?P<pver>\d+_(\d_?)+)"
Expand Down

0 comments on commit 621bdc1

Please sign in to comment.