From 2df3268b4d36c727f725353b5afd6cbedbc58175 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Wed, 6 Aug 2025 12:10:25 +0000 Subject: automatic import of vtk --- 9000-fix-build-error-for-aarch64.patch | 74 ++++++++++++++++++++++++++++++++++ 1 file changed, 74 insertions(+) create mode 100644 9000-fix-build-error-for-aarch64.patch (limited to '9000-fix-build-error-for-aarch64.patch') diff --git a/9000-fix-build-error-for-aarch64.patch b/9000-fix-build-error-for-aarch64.patch new file mode 100644 index 0000000..84d3e9d --- /dev/null +++ b/9000-fix-build-error-for-aarch64.patch @@ -0,0 +1,74 @@ +From e88134e5a7fc83c82e4a38618dc6d0cb30ef9a18 Mon Sep 17 00:00:00 2001 +From: panchenbo +Date: Sat, 19 Apr 2025 16:56:02 +0800 +Subject: [PATCH] fix build error for aarch64 + +--- + Utilities/KWIML/vtkkwiml/include/kwiml/abi.h | 22 +++++++++++++++++--- + 1 file changed, 19 insertions(+), 3 deletions(-) + +diff --git a/Utilities/KWIML/vtkkwiml/include/kwiml/abi.h b/Utilities/KWIML/vtkkwiml/include/kwiml/abi.h +index 0437854d..f9aa495f 100644 +--- a/Utilities/KWIML/vtkkwiml/include/kwiml/abi.h ++++ b/Utilities/KWIML/vtkkwiml/include/kwiml/abi.h +@@ -153,38 +153,54 @@ suppression macro KWIML_ABI_NO_VERIFY was defined. + #endif + + #if !defined(KWIML_ABI_CHAR_IS_UNSIGNED) && !defined(KWIML_ABI_CHAR_IS_SIGNED) +-# if defined(__CHAR_UNSIGNED__) /* GNU, some IBM XL, others? */ ++# if defined(__GNUC__) /* GNU default */ ++# define KWIML_ABI_CHAR_IS_SIGNED 1 ++# pragma message("888") ++# elif defined(__CHAR_UNSIGNED__) /* GNU, some IBM XL, others? */ + # define KWIML_ABI_CHAR_IS_UNSIGNED 1 ++# pragma message("111") + # elif defined(_CHAR_UNSIGNED) /* Intel, IBM XL, MSVC, Borland, others? */ + # define KWIML_ABI_CHAR_IS_UNSIGNED 1 ++# pragma message("222") + # elif defined(_CHAR_SIGNED) /* IBM XL, others? */ + # define KWIML_ABI_CHAR_IS_SIGNED 1 ++# pragma message("333") + # elif defined(__CHAR_SIGNED__) /* IBM XL, Watcom, others? */ + # define KWIML_ABI_CHAR_IS_SIGNED 1 ++# pragma message("444") + # elif defined(__SIGNED_CHARS__) /* EDG, Intel, SGI MIPSpro */ + # define KWIML_ABI_CHAR_IS_SIGNED 1 ++# pragma message("555") + # elif defined(_CHAR_IS_SIGNED) /* Some SunPro, others? */ + # define KWIML_ABI_CHAR_IS_SIGNED 1 ++# pragma message("666") + # elif defined(_CHAR_IS_UNSIGNED) /* SunPro, others? */ + # define KWIML_ABI_CHAR_IS_UNSIGNED 1 +-# elif defined(__GNUC__) /* GNU default */ +-# define KWIML_ABI_CHAR_IS_SIGNED 1 ++# pragma message("777") + # elif defined(__SUNPRO_C) || defined(__SUNPRO_CC) /* SunPro default */ + # define KWIML_ABI_CHAR_IS_SIGNED 1 ++# pragma message("999") + # elif defined(__HP_cc) || defined(__HP_aCC) /* HP default (unless +uc) */ + # define KWIML_ABI_CHAR_IS_SIGNED 1 ++# pragma message("1111") + # elif defined(_SGI_COMPILER_VERSION) /* SGI MIPSpro default */ + # define KWIML_ABI_CHAR_IS_UNSIGNED 1 ++# pragma message("2222") + # elif defined(__PGIC__) /* PGI default */ + # define KWIML_ABI_CHAR_IS_SIGNED 1 ++# pragma message("3333") + # elif defined(_MSC_VER) /* MSVC default */ + # define KWIML_ABI_CHAR_IS_SIGNED 1 ++# pragma message("4444") + # elif defined(__WATCOMC__) /* Watcom default */ + # define KWIML_ABI_CHAR_IS_UNSIGNED 1 ++# pragma message("5555") + # elif defined(__BORLANDC__) /* Borland default */ + # define KWIML_ABI_CHAR_IS_SIGNED 1 ++# pragma message("6666") + # elif defined(__hpux) /* Old HP: no __HP_cc/__HP_aCC/__GNUC__ above */ + # define KWIML_ABI_CHAR_IS_SIGNED 1 /* (unless +uc) */ ++# pragma message("7777") + # endif + #endif + #if !defined(KWIML_ABI_CHAR_IS_UNSIGNED) && !defined(KWIML_ABI_CHAR_IS_SIGNED) \ +-- +2.27.0 + -- cgit v1.2.3