Package: ogre-1.9 Severity: serious File: ogre Tags: upstream patch ftbfs loong64 Justification: fails to build from source X-Debbugs-Cc: zhangjial...@loongson.cn
Dear Maintainer, This package need support for loongarch64,Please help.
--- ogre-1.9-1.9.0+dfsg1.orig/OgreMain/include/OgrePlatform.h +++ ogre-1.9-1.9.0+dfsg1/OgreMain/include/OgrePlatform.h @@ -166,7 +166,7 @@ namespace Ogre { #endif /* Find the arch type */ -#if defined(__x86_64__) || defined(_M_X64) || defined(__powerpc64__) || defined(__alpha__) || defined(__ia64__) || defined(__s390__) || defined(__s390x__) || defined(__arm64__) || defined(__aarch64__) || defined(__mips64) || defined(__mips64_) || (defined(__riscv) && (__riscv_xlen == 64)) +#if defined(__x86_64__) || defined(_M_X64) || defined(__powerpc64__) || defined(__alpha__) || defined(__ia64__) || defined(__s390__) || defined(__s390x__) || defined(__arm64__) || defined(__aarch64__) || defined(__mips64) || defined(__mips64_) || (defined(__riscv) && (__riscv_xlen == 64)) || defined(__loongarch64) # define OGRE_ARCH_TYPE OGRE_ARCHITECTURE_64 #else # define OGRE_ARCH_TYPE OGRE_ARCHITECTURE_32