telephony/net/freeswitch-stable/patches/260-mod_event_zmq-fix-build-with-fortify-headers.diff
Sebastian Kemper 98232d46cb freeswitch-stable: update COPTS fixes
- Replace main COPTS fixes patch with the updated version sent upstream.
- For the above to work we need to update DEFAULT_VARS in modmake.rules
  (new patch)
- mod_pocketsphinx and mod_radius_cdr updated, no more extra COPTS fixes
  required there.
- Now zeromq gets to use fortify headers and fails (warning about GCC
  extension turns into error), so make it drop '-pedantic'.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-07-16 21:57:07 +02:00

10 lines
534 B
Diff

--- a/src/mod/event_handlers/mod_event_zmq/Makefile.am
+++ b/src/mod/event_handlers/mod_event_zmq/Makefile.am
@@ -22,6 +22,7 @@ $(ZMQ_DIR):
$(GETLIB) $(ZMQ_BASEURL) $(ZMQ).tar.gz || $(GETLIB) $(ZMQ_BASEURL_ALT) $(ZMQ).tar.gz
sed -e 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' $(ZMQ_DIR)/configure.in > $(ZMQ_DIR)/configure.in.tmp && \
mv $(ZMQ_DIR)/configure.in.tmp $(ZMQ_DIR)/configure.in
+ sed -i '/^libzmq_pedantic="yes"/s/yes/no/' $(ZMQ_DIR)/configure.in
cd $(ZMQ_DIR) && ./autogen.sh
$(ZMQ_BUILDDIR)/Makefile: $(ZMQ_DIR)