commit 1640e95868539d4de699bf2eaf53b5249764b4fe
Author: Jan Rękorajski <[email protected]>
Date:   Mon Aug 6 20:08:19 2018 +0000

    - ustat.h has been removed in glibc 2.28
    - rel 5

 imap.spec        |  4 +++-
 no-ustat.h.patch | 22 ++++++++++++++++++++++
 2 files changed, 25 insertions(+), 1 deletion(-)
---
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 <fcntl.h>
+ #include <syslog.h>
+ #include <sys/file.h>
+-#include <ustat.h>
++//#include <ustat.h>
+ 
+ /* 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 <fcntl.h>
+ #include <syslog.h>
+ #include <sys/file.h>
+-#include <ustat.h>
++//#include <ustat.h>
+ 
+ /* Linux gets this wrong */
+ 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/imap.git/commitdiff/1640e95868539d4de699bf2eaf53b5249764b4fe

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to