projects
/
feed
/
packages.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64aee7b
)
cshark: fix compilation with GCC12
author
Rosen Penev
<rosenp@gmail.com>
Thu, 9 Jun 2022 01:10:04 +0000
(18:10 -0700)
committer
Rosen Penev
<rosenp@gmail.com>
Fri, 10 Jun 2022 21:09:35 +0000
(14:09 -0700)
Signed-off-by: Rosen Penev <rosenp@gmail.com>
net/cshark/patches/010-gcc12.patch
[new file with mode: 0644]
patch
|
blob
diff --git a/net/cshark/patches/010-gcc12.patch
b/net/cshark/patches/010-gcc12.patch
new file mode 100644
(file)
index 0000000..
c36b3e7
--- /dev/null
+++ b/
net/cshark/patches/010-gcc12.patch
@@ -0,0
+1,11
@@
+--- a/src/uclient.c
++++ b/src/uclient.c
+@@ -150,7 +150,7 @@ static void cshark_ustream_ssl_init(void
+
+ ssl_ctx = ssl_ops->context_new(false);
+
+- if (config.ca)
++ if (strlen(config.ca))
+ ssl_ops->context_add_ca_crt_file(ssl_ctx, config.ca);
+ }
+