From 4813e6cca79836a61c8db7d5a46f45434cd8ba46 Mon Sep 17 00:00:00 2001 From: panchenbo Date: Mon, 24 Apr 2023 13:44:43 +0800 Subject: [PATCH] add sw_64 support --- SDL2.spec | 5 ++++- SDL_config.h | 2 ++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/SDL2.spec b/SDL2.spec index 5bb5674..6a94d4d 100644 --- a/SDL2.spec +++ b/SDL2.spec @@ -1,6 +1,6 @@ Name: SDL2 Version: 2.0.12 -Release: 6 +Release: 7 Summary: Cross-platform multimedia library License: zlib and MIT URL: http://www.libsdl.org/ @@ -98,6 +98,9 @@ rm -vf %{buildroot}%{_libdir}/*.la %{_libdir}/lib*.a %changelog +* Mon Apr 24 2023 panchenbo - 2.0.12-7 +- add sw_64 support + * Tue Jan 10 2023 jiangpeng - 2.0.12-6 - fix CVE-2022-4743 diff --git a/SDL_config.h b/SDL_config.h index a91c02d..e03ae47 100644 --- a/SDL_config.h +++ b/SDL_config.h @@ -60,6 +60,8 @@ #include "SDL_config-arm.h" #elif defined(__alpha__) #include "SDL_config-alpha.h" +#elif defined(__sw_64__) +#include "SDL_config-sw_64.h" #elif defined(__sparc__) && defined (__arch64__) #include "SDL_config-sparc64.h" #elif defined(__sparc__) -- Gitee