SHA256
1
0
forked from pool/checkpolicy
checkpolicy/extern_te_assert_t.patch
Johannes Segitz 1f573b48d3 Accepting request 764693 from home:jsegitz:branches:security:SELinux
- Add extern_te_assert_t.patch to mark te_assert_t as extern. 
  Prevents build failures on gcc10 (bsc#1160259)

OBS-URL: https://build.opensuse.org/request/show/764693
OBS-URL: https://build.opensuse.org/package/show/security:SELinux/checkpolicy?expand=0&rev=49
2020-01-15 14:40:03 +00:00

14 lines
441 B
Diff

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;