diff options
author | bartus | 2021-07-28 13:24:37 +0200 |
---|---|---|
committer | bartus | 2021-07-28 13:24:37 +0200 |
commit | ac8fb904f67ab25037feaf124d387de7227f7622 (patch) | |
tree | a07d451cc6a128513a7f83faf6bff66a7bbc0cdd /demangle-fix.patch | |
parent | 22fb9aa3171a447577776860fcf83a5a97c647f0 (diff) | |
download | aur-usd20.tar.gz |
Fix build agasint gcc:11
Diffstat (limited to 'demangle-fix.patch')
-rw-r--r-- | demangle-fix.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/demangle-fix.patch b/demangle-fix.patch new file mode 100644 index 000000000000..a59efc6164fd --- /dev/null +++ b/demangle-fix.patch @@ -0,0 +1,18 @@ +--- USD-21.02/pxr/base/arch/demangle.cpp.orig 2021-01-20 09:13:57.000000000 +0900 ++++ USD-21.02/pxr/base/arch/demangle.cpp 2021-02-05 16:37:27.154126908 +0900 +@@ -36,6 +36,7 @@ using std::string; + #if (ARCH_COMPILER_GCC_MAJOR == 3 && ARCH_COMPILER_GCC_MINOR >= 1) || \ + ARCH_COMPILER_GCC_MAJOR > 3 || defined(ARCH_COMPILER_CLANG) + #define _AT_LEAST_GCC_THREE_ONE_OR_CLANG ++#include <cxxabi.h> + #endif + + PXR_NAMESPACE_OPEN_SCOPE +@@ -138,7 +139,6 @@ _StripPxrInternalNamespace(string* name) + #endif + + #if defined(_AT_LEAST_GCC_THREE_ONE_OR_CLANG) +-#include <cxxabi.h> + + /* + * This routine doesn't work when you get to gcc3.4. |