Source: libsmdev Version: 20190315-2.1 Severity: normal Tags: sid patch X-Debbugs-Cc: wuruil...@loongson.cn User: debian-loonga...@lists.debian.org Usertags: loong64
Dear Maintainer, Please support loongarch architecture. The upstream has merged the attached patch. The merged PR link is as follows: https://github.com/libyal/libsmdev/pull/6/files. The attached patch has been tested locally. wuruilong
--- libsmdev-20190315.orig/tests/smdev_test_memory.h +++ libsmdev-20190315/tests/smdev_test_memory.h @@ -28,7 +28,7 @@ extern "C" { #endif -#if defined( HAVE_GNU_DL_DLSYM ) && defined( __GNUC__ ) && !defined( LIBSMDEV_DLL_IMPORT ) && !defined( __arm__ ) && !defined( __clang__ ) && !defined( __CYGWIN__ ) && !defined( __hppa__ ) && !defined( __mips__ ) && !defined( __sparc__ ) && !defined( __riscv ) && !defined( HAVE_ASAN ) +#if defined( HAVE_GNU_DL_DLSYM ) && defined( __GNUC__ ) && !defined( LIBSMDEV_DLL_IMPORT ) && !defined( __arm__ ) && !defined( __clang__ ) && !defined( __CYGWIN__ ) && !defined( __hppa__ ) && !defined( __mips__ ) && !defined( __sparc__ ) && !defined( __riscv ) && !defined( HAVE_ASAN ) && !defined(__loongarch__) #define HAVE_SMDEV_TEST_MEMORY 1 #endif