!22 add loongarch support SDL

From: @zhangwenlong01 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
This commit is contained in:
openeuler-ci-bot 2022-11-21 08:37:10 +00:00 committed by Gitee
commit c76618847b
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 6 additions and 1 deletions

View File

@ -1,7 +1,7 @@
Name: SDL Name: SDL
Summary: A cross-platform multimedia library Summary: A cross-platform multimedia library
Version: 1.2.15 Version: 1.2.15
Release: 39 Release: 40
License: LGPLv2+ License: LGPLv2+
URL: http://www.libsdl.org/ URL: http://www.libsdl.org/
@ -107,6 +107,9 @@ rm -f %{buildroot}%{_libdir}/*.la
%{_mandir}/man3/SDL*.3* %{_mandir}/man3/SDL*.3*
%changelog %changelog
* Fri Nov 18 2022 Wenlong Zhang<zhangwenlong@loongson.cn> - 1.2.15-40
- add loongarch support SDL
* Fri Nov 5 2021 yixiangzhike <yixiangzhike007@163.com> - 1.2.15-39 * Fri Nov 5 2021 yixiangzhike <yixiangzhike007@163.com> - 1.2.15-39
- DESC: fix CVE-2019-7572 CVE-2019-7574 CVE-2019-7575 - DESC: fix CVE-2019-7572 CVE-2019-7574 CVE-2019-7575

View File

@ -73,6 +73,8 @@
#include "SDL_config-mips.h" #include "SDL_config-mips.h"
#elif defined(__riscv) && defined(__riscv_xlen) && __riscv_xlen == 64 #elif defined(__riscv) && defined(__riscv_xlen) && __riscv_xlen == 64
#include "SDL_config-riscv64.h" #include "SDL_config-riscv64.h"
#elif defined(__loongarch64)
#include "SDL_config-loongarch64.h"
#else #else
#error "The SDL-devel package is not usable with the architecture." #error "The SDL-devel package is not usable with the architecture."
#endif #endif