aboutsummaryrefslogtreecommitdiffstats
path: root/debian/patches/Ignore-custom-lib-PATH.patch
blob: 28e7db85350f097aed4cf1413e86589f14d35d14 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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 :