diff options
author | Tycho Andersen <tycho@docker.com> | 2017-03-22 15:04:45 +0000 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2017-03-23 01:55:04 +0100 |
commit | 195ce013b398ccd7d8815142e2dda146e7daf0e0 (patch) | |
tree | 9770f8ae5e816f48520a8720529a2401116ebfa8 /testing/checkpolicy/0001-remove-apple-ifdef.patch | |
parent | 9e029de2c6353726de596359af6b42ae65a13f93 (diff) | |
download | aports-195ce013b398ccd7d8815142e2dda146e7daf0e0.tar.bz2 aports-195ce013b398ccd7d8815142e2dda146e7daf0e0.tar.xz |
testing/checkpolicy: new aport
http://www.selinuxproject.org
SELinux policy checker
Diffstat (limited to 'testing/checkpolicy/0001-remove-apple-ifdef.patch')
-rw-r--r-- | testing/checkpolicy/0001-remove-apple-ifdef.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/testing/checkpolicy/0001-remove-apple-ifdef.patch b/testing/checkpolicy/0001-remove-apple-ifdef.patch new file mode 100644 index 0000000000..7f50510be2 --- /dev/null +++ b/testing/checkpolicy/0001-remove-apple-ifdef.patch @@ -0,0 +1,16 @@ +--- a/checkpolicy.c ++++ b/checkpolicy.c +@@ -71,13 +71,11 @@ + #include <fcntl.h> + #include <stdio.h> + #include <errno.h> + #include <sys/mman.h> + +-#ifdef __APPLE__ + #include <ctype.h> +-#endif + + #include <sepol/module_to_cil.h> + #include <sepol/policydb/policydb.h> + #include <sepol/policydb/services.h> + #include <sepol/policydb/conditional.h> |