Add new line to riscv64 patch to avoid build issue

(cherry picked from commit 3d59a8a7b8d402163cfd2a9a11ace7fdcf7dfc62)
This commit is contained in:
misaka00251 2024-03-28 15:38:51 +08:00 committed by openeuler-sync-bot
parent 4e547df424
commit 5656f1d9d4
2 changed files with 5 additions and 2 deletions

View File

@ -19,4 +19,4 @@ index ca432a6bca..2add83e2a5 100644
+#if defined(__ppc64__) || defined(__powerpc64__) || defined(__aarch64__) || defined(_M_X64) || defined(__x86_64__) || defined(__x86_64) || defined(__s390x__) || defined(__riscv) && __riscv_xlen == 64
#define stbsp__uintptr stbsp__uint64
#else
#define stbsp__uintptr stbsp__uint32
#define stbsp__uintptr stbsp__uint32

View File

@ -23,7 +23,7 @@ Name: stb
# https://github.com/nothings/stb/issues/1101
%global snapinfo .20220908git8b5f1f3
Version: 0%{snapinfo}
Release: 0.14
Release: 0.15
Summary: Single-file public domain libraries for C/C++
# See LICENSE.
@ -994,6 +994,9 @@ EOF
%changelog
* Thu Mar 28 2024 misaka00251 <liuxin@iscas.ac.cn> - 0.20220908git8b5f1f3-0.15
- Add new line to riscv64 patch to avoid build issue
* Fri Mar 22 2024 misaka00251 <liuxin@iscas.ac.cn> - 0.20220908git8b5f1f3-0.14
- Fix build on riscv64