Drop -Werror to fix the build with clang 15
This library is lagging behind upstream and has no consumer left. Zap?
This commit is contained in:
parent
01c47fff80
commit
ad4707a639
14
net/czmq/patches/patch-configure
Normal file
14
net/czmq/patches/patch-configure
Normal file
@ -0,0 +1,14 @@
|
||||
Drop -Werror
|
||||
|
||||
Index: configure
|
||||
--- configure.orig
|
||||
+++ configure
|
||||
@@ -14091,7 +14091,7 @@ $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confde
|
||||
|
||||
# These options are GNU compiler specific.
|
||||
if test "x$GCC" = "xyes"; then
|
||||
- CPPFLAGS="-pedantic -Werror -Wall -Wc++-compat ${CPPFLAGS}"
|
||||
+ CPPFLAGS="-pedantic -Wall -Wc++-compat ${CPPFLAGS}"
|
||||
fi
|
||||
|
||||
if test "x$enable_shared" = "xyes"; then
|
12
net/czmq/patches/patch-src_zloop_c
Normal file
12
net/czmq/patches/patch-src_zloop_c
Normal file
@ -0,0 +1,12 @@
|
||||
Index: src/zloop.c
|
||||
--- src/zloop.c.orig
|
||||
+++ src/zloop.c
|
||||
@@ -582,7 +582,7 @@ zloop_timer_end (zloop_t *self, int timer_id)
|
||||
// from inside the poll loop. So, we hold the arg on the zombie
|
||||
// list, and process that list when we're done executing timers.
|
||||
// This hack lets us store an integer timer ID as a pointer
|
||||
- zlistx_add_end (self->zombies, (byte *) NULL + timer_id);
|
||||
+ zlistx_add_end (self->zombies, (void *)(uintptr_t)timer_id);
|
||||
|
||||
if (self->verbose)
|
||||
zsys_debug ("zloop: cancel timer id=%d", timer_id);
|
Loading…
Reference in New Issue
Block a user