File extern_te_assert_t.patch of Package checkpolicy
Index: checkpolicy-2.9/checkpolicy.h
===================================================================
--- checkpolicy-2.9.orig/checkpolicy.h 2019-03-15 10:32:30.000000000 +0000
+++ checkpolicy-2.9/checkpolicy.h 2020-01-15 14:23:04.742118559 +0000
@@ -13,7 +13,7 @@ typedef struct te_assert {
struct te_assert *next;
} te_assert_t;
-te_assert_t *te_assertions;
+extern te_assert_t *te_assertions;
extern unsigned int policyvers;