diff --git a/SDL.spec b/SDL.spec index 9500320..9c0aa6d 100644 --- a/SDL.spec +++ b/SDL.spec @@ -1,7 +1,7 @@ Name: SDL Summary: A cross-platform multimedia library Version: 1.2.15 -Release: 38 +Release: 39 License: LGPLv2+ URL: http://www.libsdl.org/ @@ -107,6 +107,9 @@ rm -f %{buildroot}%{_libdir}/*.la %{_mandir}/man3/SDL*.3* %changelog +* Mon Aug 7 2023 panchenbo - 1.2.15-39 +- add support for loongarch64 sw_64 + * Fri Nov 5 2021 yixiangzhike - 1.2.15-38 - DESC: fix CVE-2019-7572 CVE-2019-7574 CVE-2019-7575 diff --git a/SDL_config.h b/SDL_config.h index 84eb112..53df3ae 100644 --- a/SDL_config.h +++ b/SDL_config.h @@ -73,6 +73,10 @@ #include "SDL_config-mips.h" #elif defined(__riscv) && defined(__riscv_xlen) && __riscv_xlen == 64 #include "SDL_config-riscv64.h" +#elif defined(__loongarch64) +#include "SDL_config-loongarch64.h" +#elif defined(__sw_64) +#include "SDL_config-sw_64.h" #else #error "The SDL-devel package is not usable with the architecture." #endif