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.patch29
1 files changed, 9 insertions, 20 deletions
diff --git a/debian/patches/Ignore-custom-lib-PATH.patch b/debian/patches/Ignore-custom-lib-PATH.patch
index 28e7db8..d621767 100644
--- a/debian/patches/Ignore-custom-lib-PATH.patch
+++ b/debian/patches/Ignore-custom-lib-PATH.patch
@@ -1,42 +1,31 @@
From: Guilhem Moulin <guilhem@debian.org>
Date: Sun, 12 Jun 2016 22:42:16 +0200
-Subject: [PATCH] Ignore custom lib PATH.
+Subject: Ignore custom lib PATH.
---
- interimap | 1 -
- pullimap | 1 -
- tests/00-db-exclusive/run | 4 ++--
- 3 files changed, 2 insertions(+), 4 deletions(-)
+ interimap | 2 +-
+ pullimap | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
--- a/interimap
+++ b/interimap
-@@ -32,7 +32,6 @@ use DBD::SQLite::Constants ':file_open';
+@@ -32,7 +32,7 @@ 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
+@@ -31,7 +31,7 @@ use Getopt::Long qw/:config posix_defaul
use List::Util 'first';
- use Socket qw/PF_INET PF_INET6 SOCK_STREAM/;
+ use Socket qw/PF_INET PF_INET6 SOCK_STREAM IPPROTO_TCP/;
-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 :