aboutsummaryrefslogtreecommitdiffstats
path: root/main/sudo/fix-tests.patch
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2017-11-29 01:09:03 +0100
committerSören Tempel <soeren+git@soeren-tempel.net>2017-12-01 08:57:40 +0100
commitd66aded03be3f197d1d35a6aacf78872b4b2f9d4 (patch)
tree59e17a6fa4c442d24ebb2667052c90e36d606af3 /main/sudo/fix-tests.patch
parentd896987384814e70c95e60ce08d295915d050bc3 (diff)
downloadaports-d66aded03be3f197d1d35a6aacf78872b4b2f9d4.tar.bz2
aports-d66aded03be3f197d1d35a6aacf78872b4b2f9d4.tar.xz
main/sudo: add check
Diffstat (limited to 'main/sudo/fix-tests.patch')
-rw-r--r--main/sudo/fix-tests.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/main/sudo/fix-tests.patch b/main/sudo/fix-tests.patch
new file mode 100644
index 0000000000..5e14c71135
--- /dev/null
+++ b/main/sudo/fix-tests.patch
@@ -0,0 +1,12 @@
+diff -upr sudo-1.8.21p2.orig/plugins/sudoers/regress/env_match/check_env_pattern.c sudo-1.8.21p2/plugins/sudoers/regress/env_match/check_env_pattern.c
+--- sudo-1.8.21p2.orig/plugins/sudoers/regress/env_match/check_env_pattern.c 2017-11-29 01:10:35.358774973 +0100
++++ sudo-1.8.21p2/plugins/sudoers/regress/env_match/check_env_pattern.c 2017-11-29 01:11:13.399217545 +0100
+@@ -27,6 +27,8 @@
+ #include <time.h> /* for sudo_compat.h */
+ #include <grp.h> /* for sudo_compat.h */
+
++#include <sys/stat.h>
++
+ #include "sudoers.h"
+
+ __dso_public int main(int argc, char *argv[]);