[packages] add strongswan4 (closes: #2538)
[openwrt/svn-archive/archive.git] / net / strongswan4 / patches / 202-clone.patch
1 --- a/src/libstrongswan/utils/identification.c
2 +++ b/src/libstrongswan/utils/identification.c
3 @@ -798,7 +798,7 @@ int identification_printf_hook(char *dst
4 return print_in_hook(dst, len, "%*s", spec->width, buf);
5 }
6
7 -METHOD(identification_t, clone, identification_t*,
8 +METHOD(identification_t, clone_, identification_t*,
9 private_identification_t *this)
10 {
11 private_identification_t *clone = malloc_thing(private_identification_t);
12 @@ -830,7 +830,7 @@ static private_identification_t *identif
13 .get_encoding = _get_encoding,
14 .get_type = _get_type,
15 .create_part_enumerator = _create_part_enumerator,
16 - .clone = _clone,
17 + .clone = _clone_,
18 .destroy = _destroy,
19 },
20 .type = type,