Skip to content

Commit c60cc72

Browse files
felipeqq2peterhoeg
authored andcommitted
isync: 1.4.4 -> 1.5.0
Buffer too small can now be fixed by defining QPRINTF_BUFF. Patch on unexpected EOF is part of new version. `QPRINT_BUFF` fix discussed at https://sourceforge.net/p/isync/mailman/isync-devel/thread/87fsevvebj.fsf%40steelpick.2x.cz/#msg37731590. Release notes: https://sourceforge.net/projects/isync/files/isync/1.5.0/
1 parent cdce953 commit c60cc72

File tree

3 files changed

+5
-119
lines changed

3 files changed

+5
-119
lines changed

pkgs/tools/networking/isync/0001-Increase-imap_vprintf-buffer-size.patch

Lines changed: 0 additions & 34 deletions
This file was deleted.

pkgs/tools/networking/isync/default.nix

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,16 @@
88

99
stdenv.mkDerivation rec {
1010
pname = "isync";
11-
version = "1.4.4";
11+
version = "1.5.0";
1212

1313
src = fetchurl {
1414
url = "mirror://sourceforge/isync/${pname}-${version}.tar.gz";
15-
sha256 = "1zq0wwvmqsl9y71546dr0aygzn9gjjfiw19hlcq87s929y4p6ckw";
15+
sha256 = "oMgeEJOHvyedoWFFMQM5nneUav7PXFH5QTxedzVX940=";
1616
};
1717

18-
patches = [
19-
# Fixes "Fatal: buffer too small" error
20-
./0001-Increase-imap_vprintf-buffer-size.patch
21-
# Fix #202595: SSL error "Socket error: ... unexpected eof while reading"
22-
# Source: https://sourceforge.net/p/isync/isync/ci/b6c36624f04cd388873785c0631df3f2f9ac4bf0/
23-
./work-around-unexpected-EOF-error-messages-at-end-of-SSL-connections.patch
24-
];
18+
19+
# Fixes "Fatal: buffer too small" error
20+
env.NIX_CFLAGS_COMPILE = "-DQPRINTF_BUFF=4000";
2521

2622
nativeBuildInputs = [ pkg-config perl ]
2723
++ lib.optionals withCyrusSaslXoauth2 [ makeWrapper ];

pkgs/tools/networking/isync/work-around-unexpected-EOF-error-messages-at-end-of-SSL-connections.patch

Lines changed: 0 additions & 76 deletions
This file was deleted.

0 commit comments

Comments
 (0)