From f70eafaff9e362b5c1b21aaf08f5f9fab2a7fd2e Mon Sep 17 00:00:00 2001 From: Marian Buschsieweke Date: Thu, 10 Nov 2022 16:20:17 +0100 Subject: [PATCH] pkg/wolfssl: fix compilation with GCC >= 12.x This fixes a signature mismatch between forward declaration and implementation, which in turn fixes the following error during compilation: /home/maribu/Repos/software/RIOT/build/pkg/wolfssl/wolfcrypt/src/ge_low_mem.c:179:30: error: argument 1 of type 'unsigned char[64]' with mismatched bound [-Werror=array-parameter=] 179 | void sc_reduce(unsigned char x[64]) | ~~~~~~~~~~~~~~^~~~~ In file included from /home/maribu/Repos/software/RIOT/build/pkg/wolfssl/wolfcrypt/src/ge_low_mem.c:34: /home/maribu/Repos/software/RIOT/build/pkg/wolfssl/wolfssl/wolfcrypt/ge_operations.h:81:36: note: previously declared as 'byte *' {aka 'unsigned char *'} 81 | WOLFSSL_LOCAL void sc_reduce(byte* s); | ~~~~~~^ --- ...rypt-fix-signature-mismatch-to-compile-.patch | Bin 0 -> 1905 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 pkg/wolfssl/patches/0001-wolfssl-wolfcrypt-fix-signature-mismatch-to-compile-.patch diff --git a/pkg/wolfssl/patches/0001-wolfssl-wolfcrypt-fix-signature-mismatch-to-compile-.patch b/pkg/wolfssl/patches/0001-wolfssl-wolfcrypt-fix-signature-mismatch-to-compile-.patch new file mode 100644 index 0000000000000000000000000000000000000000..150eb4d932fc7d4d6ed1a59cabfe135bcc5849b2 GIT binary patch literal 1905 zcmb_cZExE)5dN-Tao_S{%aUwGwzQ>4mmzI|v>BQJ{Sc%EMV>4!k|>ap9i!cTdyjIA zT6TwY*aShsk-X>bp67U1T9puIB4qv4{4bP3l6+R;TT6T-0bZ7BGEf?)b;49~M)?fm6 zc{_x_hYxB=aN{uqQ9`dD!N3oE-??qmKan>H-2d_V?(*#etW=R1Q+W2z^}435Og@2; zi;6X^Mku8zS;KQ^6mV76vOrkLCWkkdmkzu-hhRKjF!xn$BSet6Wkllp&hLaey8#S0#FunzZ#k zVy%p4RMt=|^gh13x%1Li7Q(9^7hR3LT0Nt=x4?O!R`U|e5l@0?oJ{-#P-~?VV0zKo z=n#O)pjp=lM{Q-ZL;*Z!`aTLDjyCykiK3lUwUvN-_frRR&a`H0x2CE~Y*3#+bcq9L zAH!EzDk;G5xkk})Jnq56lMQh4eBPG()qZxLzkAPTYjwxpRYVhMB`aREf|AN?fBwI0 zO~T~AXwcV!bWk;JI>U_eWELcoD1l1ZzOFScrD{#Fer_Nth#5Fa*A2qy5qx2fY)=|m z{%cFzEFj`O-CSSY-d@kIZ!TY7@6&F9PQje~vUMSj54hgt9biNJXUBD2=kOlczS^ya z(8e&Jlfgz8>Yi$Wf^I8GWKi1+aXdJ&w!i{A(>-w_LA?z7P-okl@0iD+#2Q5f2CekPJL7!2TNqFr2oJDm-uFzCKy_Jxpiy@1NF{b^M& z^9mO<%;rl*q?C9}d-ViPhg?;rf&TqCwSxT^PpCF6aBeuGc~iDU(*qp;6X0;C0s49$ zTAPgiWq#d#C!d|fQf6K*)9shJH#WZa@8HFAV7jStz}yy+$YMeqKSK^_>|5eDChME& kOLXn}@5NB{*(h+FZ}>1_+yDRo literal 0 HcmV?d00001