From: Jan Rękorajski Date: Mon, 6 Aug 2018 20:08:19 +0000 (+0000) Subject: - ustat.h has been removed in glibc 2.28 X-Git-Tag: auto/th/imap-2007f-5 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=1640e95868539d4de699bf2eaf53b5249764b4fe;p=packages%2Fimap.git - ustat.h has been removed in glibc 2.28 - rel 5 --- diff --git a/imap.spec b/imap.spec index 2286a61..8e5b900 100644 --- a/imap.spec +++ b/imap.spec @@ -7,7 +7,7 @@ Summary(uk.UTF-8): Забезпечує підтримку мережевого Summary(zh_CN.UTF-8): IMAP和POP服务器 Name: imap Version: 2007f -Release: 4 +Release: 5 Epoch: 1 License: Apache v2.0 Group: Networking/Daemons @@ -32,6 +32,7 @@ Patch7: %{name}-version-pld.patch Patch8: %{name}-headers_fix.patch Patch9: %{name}-annotations.patch Patch10: %{name}-werror.patch +Patch11: no-ustat.h.patch URL: http://www.washington.edu/imap/ BuildRequires: /sbin/ldconfig BuildRequires: openssl-devel >= 0.9.7d @@ -298,6 +299,7 @@ POP/IMAP. %patch8 -p1 %patch9 -p1 %patch10 -p1 +%patch11 -p1 cd docs/rfc ls rfc* > ../INDEX.rfc diff --git a/no-ustat.h.patch b/no-ustat.h.patch new file mode 100644 index 0000000..701f71c --- /dev/null +++ b/no-ustat.h.patch @@ -0,0 +1,22 @@ +--- imap-2007f/src/osdep/unix/os_lnx.h~ 2018-08-06 20:01:34.000000000 +0000 ++++ imap-2007f/src/osdep/unix/os_lnx.h 2018-08-06 20:04:43.542554901 +0000 +@@ -36,7 +36,7 @@ + #include + #include + #include +-#include ++//#include + + /* Linux gets this wrong */ + +--- imap-2007f/src/osdep/unix/os_slx.h~ 2018-08-06 20:01:34.000000000 +0000 ++++ imap-2007f/src/osdep/unix/os_slx.h 2018-08-06 20:03:23.613729212 +0000 +@@ -36,7 +36,7 @@ + #include + #include + #include +-#include ++//#include + + /* Linux gets this wrong */ +