diff --git a/radare2-5.6.0-dec99.patch b/radare2-5.6.0-dec99.patch deleted file mode 100644 index 511b873..0000000 --- a/radare2-5.6.0-dec99.patch +++ /dev/null @@ -1,28 +0,0 @@ -Declaration of variable in the for loop requires at least c99 compatibility mode -This is specific to 5.6.0 and is already fixed in the git -diff -ru radare2-5.6.0/libr/anal/p/anal_loongarch_gnu.c radare2-5.6.0.new/libr/anal/p/anal_loongarch_gnu.c ---- radare2-5.6.0/libr/anal/p/anal_loongarch_gnu.c 2022-02-02 13:29:26.000000000 +0100 -+++ radare2-5.6.0.new/libr/anal/p/anal_loongarch_gnu.c 2022-02-12 00:24:15.787894773 +0100 -@@ -1228,7 +1228,8 @@ - ase->la_opcode_ht[LA_INSN_HASH(it->match)] = it; - } - } -- for (int i=0; ila_opcode_ht[i]){ - ase->la_opcode_ht[i]=it; - } -diff -ru radare2-5.6.0/libr/core/disasm.c radare2-5.6.0.new/libr/core/disasm.c ---- radare2-5.6.0/libr/core/disasm.c 2022-02-02 13:29:26.000000000 +0100 -+++ radare2-5.6.0.new/libr/core/disasm.c 2022-02-12 00:28:26.325298373 +0100 -@@ -5483,7 +5483,8 @@ - if (p) { - core->asmqjmps_size = R_CORE_ASMQJMPS_NUM; - core->asmqjmps = p; -- for (int i = 0; i < R_CORE_ASMQJMPS_NUM; i++) { -+ int i; -+ for (i = 0; i < R_CORE_ASMQJMPS_NUM; i++) { - core->asmqjmps[i] = UT64_MAX; - } - } diff --git a/radare2.spec b/radare2.spec index 9cffbd6..7797d1e 100644 --- a/radare2.spec +++ b/radare2.spec @@ -34,9 +34,6 @@ Release: 0.%{rel}.%{gitdate}git%{shortcommit}%{?dist} Source0: https://github.com/%{gituser}/%{gitname}/archive/%{commit}/%{name}-%{commit}.zip#/%{name}-%{version}-%{shortcommit}.zip %endif -# Declaration of variable in the for loop requires at least c99 compatibility mode -# This is specific to 5.6.0 and is already fixed in the git -Patch0: radare2-5.6.0-dec99.patch Patch1: radare2-5.6.6-use_openssl.patch Patch3: radare2-5.6.6-use_magic.patch Patch4: radare2-5.6.6-use_lz4.patch