summaryrefslogtreecommitdiff
path: root/net/asterisk13/files/patch-include-asterisk-astobj2.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-astobj2.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-astobj2.h')
-rw-r--r--net/asterisk13/files/patch-include-asterisk-astobj2.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/net/asterisk13/files/patch-include-asterisk-astobj2.h b/net/asterisk13/files/patch-include-asterisk-astobj2.h
new file mode 100644
index 000000000000..4eb941a019a2
--- /dev/null
+++ b/net/asterisk13/files/patch-include-asterisk-astobj2.h
@@ -0,0 +1,11 @@
+--- include/asterisk/astobj2.h.orig 2014-07-18 17:55:38 UTC
++++ include/asterisk/astobj2.h
+@@ -1546,6 +1546,8 @@ void ao2_container_unregister(const char
+ #define ao2_link_flags(container, obj, flags) __ao2_link((container), (obj), (flags))
+
+ #endif
++static inline void ao2_cleanup_cleanup(void *obj)
++ { ao2_cleanup(*(void **)obj); }
+
+ int __ao2_link_debug(struct ao2_container *c, void *obj_new, int flags, const char *tag, const char *file, int line, const char *func);
+ int __ao2_link(struct ao2_container *c, void *obj_new, int flags);