public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Sun Haiyong <sunhaiyong@zdbr.net>
To: git-commits@fedoraproject.org
Subject: [rpms/sdl2-compat] rawhide: Add loongarch64 support.
Date: Thu, 03 Sep 2026 09:36:24 GMT [thread overview]
Message-ID: <178842818443.1.1410157939836157090.rpms-sdl2-compat-a1c0da84736a@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/sdl2-compat
Branch : rawhide
Commit : a1c0da84736a0e9c417c86bfe09cb58f0d74a368
Author : Sun Haiyong <sunhaiyong@zdbr.net>
Date : 2026-07-24T10:50:55+08:00
Stats : +8/-1 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/sdl2-compat/c/a1c0da84736a0e9c417c86bfe09cb58f0d74a368?branch=rawhide
Log:
Add loongarch64 support.
added loongarch64 support for SDL2_config.h and SDL2_revision.h wrappers
Signed-off-by: Sun Haiyong <sunhaiyong@zdbr.net>
---
diff --git a/SDL2_config.h b/SDL2_config.h
index 7862549..8eec9df 100644
--- a/SDL2_config.h
+++ b/SDL2_config.h
@@ -76,6 +76,8 @@
#include "SDL_config-mips.h"
#elif defined(__riscv) && defined(__riscv_xlen) && __riscv_xlen == 64
#include "SDL_config-riscv64.h"
+#elif defined(__loongarch_lp64)
+#include "SDL_config-loongarch64.h"
#else
#error "The SDL2-devel package is not usable with the architecture."
#endif
diff --git a/SDL2_revision.h b/SDL2_revision.h
index e43c4ec..324cdeb 100644
--- a/SDL2_revision.h
+++ b/SDL2_revision.h
@@ -76,6 +76,8 @@
#include "SDL_revision-mips.h"
#elif defined(__riscv) && defined(__riscv_xlen) && __riscv_xlen == 64
#include "SDL_revision-riscv64.h"
+#elif defined(__loongarch_lp64)
+#include "SDL_revision-loongarch64.h"
#else
#error "The SDL2-devel package is not usable with the architecture."
#endif
diff --git a/sdl2-compat.spec b/sdl2-compat.spec
index 4f035ef..bbca9d2 100644
--- a/sdl2-compat.spec
+++ b/sdl2-compat.spec
@@ -9,7 +9,7 @@
Name: sdl2-compat
Version: 2.32.70
-Release: 2%{?dist}
+Release: 3%{?dist}
SourceLicense: Zlib and Apache-2.0 and MIT and BSD-3-Clause
Summary: SDL 2.0 runtime compatibility library using SDL 3.0
License: Zlib
@@ -167,6 +167,9 @@ install -p -m 644 %{SOURCE2} %{buildroot}%{_includedir}/SDL2/SDL_revision.h
%changelog
+* Fri Jul 24 2026 Sun Haiyong <sunhaiyong@zdbr.net> - 2.32.68-3
+- added loongarch64 support for SDL2_config.h and SDL2_revision.h wrappers
+
* Fri Jul 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 2.32.70-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
reply other threads:[~2026-09-03 9:36 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178842818443.1.1410157939836157090.rpms-sdl2-compat-a1c0da84736a@fedoraproject.org \
--to=sunhaiyong@zdbr.net \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox