Import of pkgsrc-2014Q1

This commit is contained in:
2014-04-17 16:38:45 +02:00
parent 785076ae39
commit 9a8c06dafb
19365 changed files with 828089 additions and 278039 deletions

View File

@@ -0,0 +1,17 @@
$NetBSD: patch-main_format.c,v 1.1 2013/12/23 01:34:03 jnemeth Exp $
--- main/format.c.orig 2013-06-12 02:25:23.000000000 +0000
+++ main/format.c
@@ -914,9 +914,11 @@ int init_framer(void)
return 0;
}
+RAII_DECL(struct ast_format_list *, entry, ao2_cleanup);
+
static int format_list_add_custom(struct ast_format_list *new)
{
- RAII_VAR(struct ast_format_list *, entry, NULL, ao2_cleanup);
+ RAII_VAR(struct ast_format_list *, entry, NULL);
if (!(entry = ao2_alloc(sizeof(*entry), NULL))) {
return -1;
}