telephony/net/freeswitch/patches/410-mod_rayo_enable-f-no-common-compilation.patch
Rosen Penev 03415d1b87
freeswitch: fix compilation with CentOS 7
Fix patch 230 as it's a patch of a patch with fuzz and wrong offsets.
It seems something on CentOS 7 doesn't like fuzz.

The AC_TRY_RUN section was removed as upstream added a check whether or
not cross compilation is being done, making it no/op.

Refresh other patches.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-01-01 13:58:27 -08:00

18 lines
626 B
Diff

commit 9c01bd4c78c678e989ac77522145d3bd46352f6f
Author: Ciprian <ciprian.dosoftei@gmail.com>
Date: Tue Sep 1 12:13:28 2020 -0400
[mod_rayo] Enable -fno-common compilation
--- a/src/mod/event_handlers/mod_rayo/iks_helpers.h
+++ b/src/mod/event_handlers/mod_rayo/iks_helpers.h
@@ -51,8 +51,7 @@ struct xmpp_error {
#undef XMPP_ERROR
#define XMPP_ERROR(def_name, name, type) \
- SWITCH_DECLARE(const struct xmpp_error) def_name##_val; \
- SWITCH_DECLARE(const struct xmpp_error *) def_name;
+ extern const struct xmpp_error *def_name;
#include "xmpp_errors.def"
/* See RFC-3920 XMPP core for error definitions */