diff --git a/recipes/lely-core/all/conandata.yml b/recipes/lely-core/all/conandata.yml index 2b726a1f51200..cc7e4931e5ec2 100644 --- a/recipes/lely-core/all/conandata.yml +++ b/recipes/lely-core/all/conandata.yml @@ -1,13 +1,4 @@ sources: - "2.3.1": - url: "https://gitlab.com/lely_industries/lely-core/-/archive/v2.3.1/lely-core-v2.3.1.tar.gz" - sha256: "f5fdc60359da97a2036be885d88c1ef50e5d49b9f94e89dbc58b414395078285" "2.3.2": url: "https://gitlab.com/lely_industries/lely-core/-/archive/v2.3.2/lely-core-v2.3.2.tar.gz" sha256: "c37eb6f004ad1a1ec1f891e31a09b72f588da361fa92888e8edfcf215a1d707a" -patches: - "2.3.1": - - patch_file: "patches/0001-strncpy-to-memcpy.patch" - patch_type: "bugfix" - patch_source: "https://gitlab.com/lely_industries/lely-core/-/blob/master/src/io/addr.c#L521" - patch_description: "This patch fixes compilation bug when building in release since compilers will detect that strncpy is not necessary and hence will emit a warning which will be treated as an error." diff --git a/recipes/lely-core/all/patches/0001-strncpy-to-memcpy.patch b/recipes/lely-core/all/patches/0001-strncpy-to-memcpy.patch deleted file mode 100644 index 3cc3b11da78a0..0000000000000 --- a/recipes/lely-core/all/patches/0001-strncpy-to-memcpy.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/src/io/addr.c b/src/io/addr.c -index da38f65a..aa0f221a 100644 ---- a/src/io/addr.c -+++ b/src/io/addr.c -@@ -518,7 +518,7 @@ io_addr_set_unix(io_addr_t *addr, const char *path) - addr_un->sun_family = AF_UNIX; - - size_t n = MIN(strlen(path), sizeof(addr_un->sun_path) - 1); -- strncpy(addr_un->sun_path, path, n); -+ memcpy(addr_un->sun_path, path, n); - addr_un->sun_path[n] = '\0'; - } - diff --git a/recipes/lely-core/config.yml b/recipes/lely-core/config.yml index 73ae77ffcdd83..aee8de619ec30 100644 --- a/recipes/lely-core/config.yml +++ b/recipes/lely-core/config.yml @@ -1,5 +1,3 @@ versions: "2.3.2": folder: all - "2.3.1": - folder: all