diff --git a/SDL.spec b/SDL.spec index 6d5fc84..6fc9aef 100644 --- a/SDL.spec +++ b/SDL.spec @@ -1,7 +1,7 @@ Name: SDL Summary: A cross-platform multimedia library Version: 1.2.15 -Release: 39 +Release: 40 License: LGPLv2+ URL: http://www.libsdl.org/ @@ -107,6 +107,9 @@ rm -f %{buildroot}%{_libdir}/*.la %{_mandir}/man3/SDL*.3* %changelog +* Fri Nov 18 2022 Wenlong Zhang - 1.2.15-40 +- add loongarch support SDL + * Fri Nov 5 2021 yixiangzhike - 1.2.15-39 - DESC: fix CVE-2019-7572 CVE-2019-7574 CVE-2019-7575 diff --git a/SDL_config.h b/SDL_config.h index 84eb112..8a35923 100644 --- a/SDL_config.h +++ b/SDL_config.h @@ -73,6 +73,8 @@ #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" #else #error "The SDL-devel package is not usable with the architecture." #endif