update to asn1c aper branch commit 6e00cbce7304a6972e82a12bb5fa82e41fa541be
which is closes to Lev Walkins master 62913d8b8e1eb96d74315ff748475ca818b69752
diff --git a/asn1c-talloc.patch b/asn1c-talloc.patch
index 909772f..87bb44b 100644
--- a/asn1c-talloc.patch
+++ b/asn1c-talloc.patch
@@ -1,18 +1,16 @@
-diff --git a/include/asn1c/asn_internal.h b/include/asn1c/asn_internal.h
-index 67f055a..45b1adb 100644
---- a/include/asn1c/asn_internal.h
-+++ b/include/asn1c/asn_internal.h
+--- ../asn1c/skeletons/asn_internal.h 2015-08-31 09:29:45.590924282 +0200
++++ include/asn1c/asn_internal.h 2015-08-31 09:26:17.461872713 +0200
@@ -15,6 +15,8 @@
#include <assert.h> /* for assert() macro */
#endif
-+#include <osmocore/talloc.h>
++#include <osmocom/core/talloc.h>
+
#ifdef __cplusplus
extern "C" {
#endif
-@@ -23,10 +25,12 @@ extern "C" {
- #define ASN1C_ENVIRONMENT_VERSION 920 /* Compile-time version */
+@@ -23,10 +25,12 @@
+ #define ASN1C_ENVIRONMENT_VERSION 924 /* Compile-time version */
int get_asn1c_environment_version(void); /* Run-time version */
-#define CALLOC(nmemb, size) calloc(nmemb, size)
@@ -26,5 +24,5 @@
+#define REALLOC(oldptr, size) talloc_realloc_size(talloc_asn1_ctx, oldptr, size)
+#define FREEMEM(ptr) talloc_free(ptr)
- /*
- * A macro for debugging the ASN.1 internals.
+ #define asn_debug_indent 0
+ #define ASN_DEBUG_INDENT_ADD(i) do{}while(0)