1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-27 10:03:20 +00:00

Remove uneeded patches.

These have been superceded when upstream made asterisk versions 11
and newer buildable with clang.

PR:		203212
Submitted by:	dmitry2004 at yandex.ru
This commit is contained in:
Guido Falsi 2015-09-20 21:35:49 +00:00
parent c6e3397f1f
commit ae7a950a83
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=397465
4 changed files with 0 additions and 43 deletions

View File

@ -1,10 +0,0 @@
--- include/asterisk/astobj2.h.orig 2015-07-24 22:06:05 UTC
+++ include/asterisk/astobj2.h
@@ -1520,5 +1520,7 @@ void __ao2_cleanup_debug(void *obj, cons
#else
#define ao2_cleanup(obj) __ao2_cleanup(obj)
#endif
+static inline void ao2_cleanup_cleanup(void *obj)
+ { ao2_cleanup(*(void **)obj); }
void ao2_iterator_cleanup(struct ao2_iterator *iter);
#endif /* _ASTERISK_ASTOBJ2_H */

View File

@ -1,11 +0,0 @@
--- include/asterisk/config.h.orig 2015-07-24 22:06:05 UTC
+++ include/asterisk/config.h
@@ -491,6 +491,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

View File

@ -1,11 +0,0 @@
--- 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);

View File

@ -1,11 +0,0 @@
--- include/asterisk/config.h.orig 2015-07-24 22:20:17 UTC
+++ include/asterisk/config.h
@@ -714,6 +714,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