tools/pkgconf: update to 1.9.5
[openwrt/staging/jow.git] / tools / cpio / patches / 010-clang.patch
1 --- a/gnu/xalloc-oversized.h
2 +++ b/gnu/xalloc-oversized.h
3 @@ -52,7 +52,7 @@ typedef size_t __xalloc_count_type;
4 #elif ((5 <= __GNUC__ \
5 || (__has_builtin (__builtin_mul_overflow) \
6 && __has_builtin (__builtin_constant_p))) \
7 - && !__STRICT_ANSI__)
8 + && !__STRICT_ANSI__) && !defined(__clang__)
9 # define xalloc_oversized(n, s) \
10 (__builtin_constant_p (n) && __builtin_constant_p (s) \
11 ? __xalloc_oversized (n, s) \