mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-06-06 04:47:12 +02:00
properly build with new openssl cpm mechanism
This commit is contained in:
parent
abdb1c23cf
commit
e4b3786688
9 changed files with 44 additions and 12 deletions
13
.patch/openssl/0002-fix-gnu-openorbis.patch
Normal file
13
.patch/openssl/0002-fix-gnu-openorbis.patch
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
diff --git a/crypto/o_str.c b/crypto/o_str.c
|
||||
index 8aadff5..ba427c9 100644
|
||||
--- a/crypto/o_str.c
|
||||
+++ b/crypto/o_str.c
|
||||
@@ -385,7 +385,7 @@ int openssl_strerror_r(int errnum, char *buf, size_t buflen)
|
||||
* It can return a pointer to some (immutable) static string in which case
|
||||
* buf is left unused.
|
||||
*/
|
||||
- err = strerror_r(errnum, buf, buflen);
|
||||
+ err = (char *)strerror_r(errnum, buf, buflen);
|
||||
if (err == NULL || buflen == 0)
|
||||
return 0;
|
||||
/*
|
||||
Loading…
Add table
Add a link
Reference in a new issue