Fix invalid integer to pointer conversion, fatal with clang 15.
Already fixed upstream but the commit didn't make the 0.5.10 release.
This commit is contained in:
parent
7bbe599ca2
commit
13164ef000
@ -5,7 +5,7 @@ COMMENT-ldap= LDAP module for c-icap
|
||||
|
||||
V= 0.5.10
|
||||
REVISION-db= 0
|
||||
REVISION-main= 0
|
||||
REVISION-main= 1
|
||||
REVISION-ldap= 1
|
||||
DISTNAME= c_icap-$V
|
||||
PKGNAME-main= c-icap-$V
|
||||
|
15
www/c-icap/c-icap/patches/patch-mpmt_server_c
Normal file
15
www/c-icap/c-icap/patches/patch-mpmt_server_c
Normal file
@ -0,0 +1,15 @@
|
||||
Invalid integer/pointer conversion. Already fixed upstream:
|
||||
https://github.com/c-icap/c-icap-server/commit/8ef8966237865ec699ab16d208ff56edaac4ff7b
|
||||
|
||||
Index: mpmt_server.c
|
||||
--- mpmt_server.c.orig
|
||||
+++ mpmt_server.c
|
||||
@@ -75,7 +75,7 @@ typedef struct server_decl {
|
||||
|
||||
ci_thread_mutex_t threads_list_mtx;
|
||||
server_decl_t **threads_list = NULL;
|
||||
-ci_thread_t listener_thread_id = -1;
|
||||
+ci_thread_t listener_thread_id;
|
||||
int listener_running = 0;
|
||||
|
||||
ci_thread_cond_t free_server_cond;
|
Loading…
x
Reference in New Issue
Block a user