Warning, /graphics/krita/3rdparty/ext_googleangle/02-patches_krita/0011-Fix-MinGW-build.patch is written in an unsupported language. File is not indexed.

0001 From a0d2c402d6d122132b10e65e667af0f93feec7d2 Mon Sep 17 00:00:00 2001
0002 From: Alvin Wong <alvinhochun@gmail.com>
0003 Date: Thu, 10 Mar 2022 16:25:34 +0800
0004 Subject: [PATCH 11/17] Fix MinGW build
0005 
0006 ---
0007  src/common/mathutil.h | 4 ++--
0008  1 file changed, 2 insertions(+), 2 deletions(-)
0009 
0010 diff --git a/src/common/mathutil.h b/src/common/mathutil.h
0011 index 85243bc4a..1ac3b6b49 100644
0012 --- a/src/common/mathutil.h
0013 +++ b/src/common/mathutil.h
0014 @@ -1106,7 +1106,7 @@ inline int BitCount(uint64_t bits)
0015  #    endif  // defined(_M_IX86) || defined(_M_X64)
0016  #endif      // defined(_MSC_VER) && !defined(__clang__)
0017  
0018 -#if defined(ANGLE_PLATFORM_POSIX) || defined(__clang__)
0019 +#if defined(ANGLE_PLATFORM_POSIX) || defined(__clang__) || defined(__GNUC__)
0020  inline int BitCount(uint32_t bits)
0021  {
0022      return __builtin_popcount(bits);
0023 @@ -1116,7 +1116,7 @@ inline int BitCount(uint64_t bits)
0024  {
0025      return __builtin_popcountll(bits);
0026  }
0027 -#endif  // defined(ANGLE_PLATFORM_POSIX) || defined(__clang__)
0028 +#endif  // defined(ANGLE_PLATFORM_POSIX) || defined(__clang__) || defined(__GNUC__)
0029  
0030  inline int BitCount(uint8_t bits)
0031  {
0032 -- 
0033 2.24.1.windows.2
0034