summaryrefslogtreecommitdiff
path: root/debian/patches
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches')
-rw-r--r--debian/patches/configure-bashism.patch31
-rw-r--r--debian/patches/series1
2 files changed, 32 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 @@
1Description: Fix a bashism in configure
2Author: Colin Watson <cjwatson@debian.org>
3Forwarded: https://bugzilla.mindrot.org/show_bug.cgi?id=2010
4Last-Update: 2012-05-18
5
6Index: 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" && \
19Index: 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" && \
diff --git a/debian/patches/series b/debian/patches/series
index 2c3fdb668..772dadb61 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -38,6 +38,7 @@ doc-hash-tab-completion.patch
38# Miscellaneous bug fixes 38# Miscellaneous bug fixes
39auth-log-verbosity.patch 39auth-log-verbosity.patch
40cross-pkg-config.patch 40cross-pkg-config.patch
41configure-bashism.patch
41 42
42# Debian-specific configuration 43# Debian-specific configuration
43gnome-ssh-askpass2-icon.patch 44gnome-ssh-askpass2-icon.patch