aboutsummaryrefslogtreecommitdiffstats
path: root/debian/patches/Ignore-custom-lib-PATH.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/Ignore-custom-lib-PATH.patch')
-rw-r--r--debian/patches/Ignore-custom-lib-PATH.patch42
1 files changed, 42 insertions, 0 deletions
diff --git a/debian/patches/Ignore-custom-lib-PATH.patch b/debian/patches/Ignore-custom-lib-PATH.patch
new file mode 100644
index 0000000..28e7db8
--- /dev/null
+++ b/debian/patches/Ignore-custom-lib-PATH.patch
@@ -0,0 +1,42 @@
+From: Guilhem Moulin <guilhem@debian.org>
+Date: Sun, 12 Jun 2016 22:42:16 +0200
+Subject: [PATCH] Ignore custom lib PATH.
+
+---
+ interimap | 1 -
+ pullimap | 1 -
+ tests/00-db-exclusive/run | 4 ++--
+ 3 files changed, 2 insertions(+), 4 deletions(-)
+
+--- a/interimap
++++ b/interimap
+@@ -32,7 +32,6 @@ use DBD::SQLite::Constants ':file_open';
+ use Fcntl qw/F_GETFD F_SETFD FD_CLOEXEC/;
+ use List::Util 'first';
+
+-use lib 'lib';
+ use Net::IMAP::InterIMAP 0.0.5 qw/xdg_basedir read_config compact_set/;
+
+ # Clean up PATH
+--- a/pullimap
++++ b/pullimap
+@@ -31,7 +31,6 @@ use Getopt::Long qw/:config posix_defaul
+ use List::Util 'first';
+ use Socket qw/PF_INET PF_INET6 SOCK_STREAM/;
+
+-use lib 'lib';
+ use Net::IMAP::InterIMAP 0.0.5 qw/xdg_basedir read_config compact_set/;
+
+ # Clean up PATH
+--- a/tests/00-db-exclusive/run
++++ b/tests/00-db-exclusive/run
+@@ -19,7 +19,7 @@ sleep .05 # wait a short while so we hav
+ # verify that subsequent runs fail as we can't acquire the exclusive lock
+ ! interimap
+
+-# line 177 is `$DBH->do("PRAGMA locking_mode = EXCLUSIVE");`
+-xgrep -Fx "DBD::SQLite::db do failed: database is locked at ./interimap line 177." <"$STDERR"
++# line 176 is `$DBH->do("PRAGMA locking_mode = EXCLUSIVE");`
++xgrep -Fx "DBD::SQLite::db do failed: database is locked at ./interimap line 176." <"$STDERR"
+
+ # vim: set filetype=sh :