--- /dev/null
+--- dovecot-2.3.2.1/src/auth/mycrypt.c~ 2018-04-30 15:52:04.000000000 +0200
++++ dovecot-2.3.2.1/src/auth/mycrypt.c 2018-08-10 12:30:04.828556600 +0200
+@@ -14,6 +14,7 @@
+ # define _XPG6 /* Some Solaris versions require this, some break with this */
+ #endif
+ #include <unistd.h>
++#include <crypt.h>
+
+ #include "mycrypt.h"
+
Summary(pl.UTF-8): Serwer IMAP i POP3 pisany głównie z myślą o bezpieczeństwie
Name: dovecot
Version: 2.3.2.1
-Release: 1
+Release: 2
Epoch: 1
License: MIT (libraries), LGPL v2.1 (the rest)
Group: Networking/Daemons
Source4: %{name}.tmpfiles
Patch0: %{name}-config.patch
Patch1: %{name}-rpath.patch
+Patch2: crypt.patch
URL: http://dovecot.org/
BuildRequires: autoconf
BuildRequires: automake
%setup -q
%patch0 -p1
%patch1 -p1
+%patch2 -p1
%{__sed} -i 's,/usr/lib/dovecot,%{_libdir}/dovecot,g' doc/example-config/*.conf doc/example-config/conf.d/*.conf