diff options
Diffstat (limited to 'debian/patches/configure-bashism.patch')
-rw-r--r-- | debian/patches/configure-bashism.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/debian/patches/configure-bashism.patch b/debian/patches/configure-bashism.patch new file mode 100644 index 000000000..09f878376 --- /dev/null +++ b/debian/patches/configure-bashism.patch | |||
@@ -0,0 +1,31 @@ | |||
1 | Description: Fix a bashism in configure | ||
2 | Author: Colin Watson <cjwatson@debian.org> | ||
3 | Forwarded: https://bugzilla.mindrot.org/show_bug.cgi?id=2010 | ||
4 | Last-Update: 2012-05-18 | ||
5 | |||
6 | Index: b/configure | ||
7 | =================================================================== | ||
8 | --- a/configure | ||
9 | +++ b/configure | ||
10 | @@ -11918,7 +11918,7 @@ | ||
11 | |||
12 | elif test "x$sandbox_arg" = "xseccomp_filter" || \ | ||
13 | ( test -z "$sandbox_arg" && \ | ||
14 | - test "x$have_seccomp_filter" == "x1" && \ | ||
15 | + test "x$have_seccomp_filter" = "x1" && \ | ||
16 | test "x$ac_cv_header_linux_audit_h" = "xyes" && \ | ||
17 | test "x$have_seccomp_audit_arch" = "x1" && \ | ||
18 | test "x$have_linux_no_new_privs" = "x1" && \ | ||
19 | Index: b/configure.ac | ||
20 | =================================================================== | ||
21 | --- a/configure.ac | ||
22 | +++ b/configure.ac | ||
23 | @@ -2615,7 +2615,7 @@ | ||
24 | AC_DEFINE([SANDBOX_DARWIN], [1], [Sandbox using Darwin sandbox_init(3)]) | ||
25 | elif test "x$sandbox_arg" = "xseccomp_filter" || \ | ||
26 | ( test -z "$sandbox_arg" && \ | ||
27 | - test "x$have_seccomp_filter" == "x1" && \ | ||
28 | + test "x$have_seccomp_filter" = "x1" && \ | ||
29 | test "x$ac_cv_header_linux_audit_h" = "xyes" && \ | ||
30 | test "x$have_seccomp_audit_arch" = "x1" && \ | ||
31 | test "x$have_linux_no_new_privs" = "x1" && \ | ||