summaryrefslogtreecommitdiff
path: root/net/asterisk11/files/patch-include-asterisk-astobj2.h
diff options
context:
space:
mode:
authorFlorian Smeets <flo@FreeBSD.org>2013-07-04 22:49:22 +0000
committerFlorian Smeets <flo@FreeBSD.org>2013-07-04 22:49:22 +0000
commit1e02e1f289f9896ee3208490d2247e142825bb0a (patch)
treeaf19c9405d69c553d901c4d543fce5a5ec79b07b /net/asterisk11/files/patch-include-asterisk-astobj2.h
parent- Don't force gcc, make this work with clang, too [1] (diff)
- Don't force gcc, make this work with clang, too [1]
- Don't call gmake directly [1] - Make the -p (Run as pseudo-realtime thread) work on FreeBSD [1] - Use @dirrmtry for directories that can contain files after deinstall - Fix build of guid_uuid.c [2] PR: ports/180233 [2] Submitted by: tijl [1] Kurt Jaeger <fbsd-ports@opsec.eu> [2]
Notes
Notes: svn path=/head/; revision=322296
Diffstat (limited to 'net/asterisk11/files/patch-include-asterisk-astobj2.h')
-rw-r--r--net/asterisk11/files/patch-include-asterisk-astobj2.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/net/asterisk11/files/patch-include-asterisk-astobj2.h b/net/asterisk11/files/patch-include-asterisk-astobj2.h
new file mode 100644
index 000000000000..3fda6433d941
--- /dev/null
+++ b/net/asterisk11/files/patch-include-asterisk-astobj2.h
@@ -0,0 +1,10 @@
+--- include/asterisk/astobj2.h.orig 2013-07-02 12:30:02.000000000 +0200
++++ include/asterisk/astobj2.h 2013-07-02 12:31:39.000000000 +0200
+@@ -1472,5 +1472,7 @@
+ #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 */