summaryrefslogtreecommitdiff
path: root/net/asterisk13/files/patch-include-asterisk-config.h
diff options
context:
space:
mode:
authorGuido Falsi <madpilot@FreeBSD.org>2014-12-15 14:46:25 +0000
committerGuido Falsi <madpilot@FreeBSD.org>2014-12-15 14:46:25 +0000
commit8962a0c995f536bdf7c495333fe2463b1113fab8 (patch)
treec77ea663141f2f8ae238f15729c86904e862740d /net/asterisk13/files/patch-include-asterisk-config.h
parentPJSIP is a free and open source multimedia communication library (diff)
Add asterisk13 port.
Fix CONFLICTS for asterisk ports and remove long deleted entries references. Upstream announce: http://blogs.digium.com/2014/10/28/asterisk-13-0-0-now-available/
Diffstat (limited to 'net/asterisk13/files/patch-include-asterisk-config.h')
-rw-r--r--net/asterisk13/files/patch-include-asterisk-config.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/net/asterisk13/files/patch-include-asterisk-config.h b/net/asterisk13/files/patch-include-asterisk-config.h
new file mode 100644
index 000000000000..09f86867546d
--- /dev/null
+++ b/net/asterisk13/files/patch-include-asterisk-config.h
@@ -0,0 +1,11 @@
+--- include/asterisk/config.h.orig 2014-10-16 17:30:39 UTC
++++ include/asterisk/config.h
+@@ -674,6 +674,8 @@ struct ast_variable *ast_variables_rever
+ * This function frees a list of variables.
+ */
+ void ast_variables_destroy(struct ast_variable *var);
++static inline void ast_variables_destroy_cleanup(struct ast_variable **var)
++ { ast_variables_destroy(*var); }
+
+ /*!
+ * \brief Register config engine