packages/net/frr/patches/098-fix_mips_libyang.patch
Lucian Cristian e908defbba frr: update to 8.1.0
Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2022-01-19 06:43:32 +00:00

15 lines
352 B
Diff

--- a/lib/northbound.h
+++ b/lib/northbound.h
@@ -592,11 +592,7 @@ struct frr_yang_module_info {
/* Priority - lower priorities are processed first. */
uint32_t priority;
-#if defined(__GNUC__) && ((__GNUC__ - 0) < 5) && !defined(__clang__)
} nodes[YANG_MODULE_MAX_NODES + 1];
-#else
- } nodes[];
-#endif
};
/* Northbound error codes. */