[packages/nfs-utils] - include x32 (ILP32 with 64-bit time_t) fix in types patch; release 2

qboosh qboosh at pld-linux.org
Sun Dec 1 08:20:21 CET 2019


commit b9dca77b35bc0948e4b7d537d6e6153f1fd47a8f
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Dec 1 08:20:48 2019 +0100

    - include x32 (ILP32 with 64-bit time_t) fix in types patch; release 2

 nfs-utils-types.patch | 11 +++++++++++
 nfs-utils.spec        |  2 +-
 2 files changed, 12 insertions(+), 1 deletion(-)
---
diff --git a/nfs-utils.spec b/nfs-utils.spec
index 1edf900..5b78eab 100644
--- a/nfs-utils.spec
+++ b/nfs-utils.spec
@@ -11,7 +11,7 @@ Summary(ru.UTF-8):	Утилиты для NFS и демоны поддержки
 Summary(uk.UTF-8):	Утиліти для NFS та демони підтримки для NFS-сервера ядра
 Name:		nfs-utils
 Version:	2.4.2
-Release:	1
+Release:	2
 License:	GPL v2
 Group:		Networking/Daemons
 Source0:	https://www.kernel.org/pub/linux/utils/nfs-utils/%{version}/%{name}-%{version}.tar.xz
diff --git a/nfs-utils-types.patch b/nfs-utils-types.patch
index 3be2667..7a7d4ca 100644
--- a/nfs-utils-types.patch
+++ b/nfs-utils-types.patch
@@ -92,3 +92,14 @@
  		__func__, current_epoch, recovery_epoch);
  
  out:
+--- nfs-utils-2.4.2/utils/nfsdcltrack/nfsdcltrack.c.orig	2019-12-01 08:16:29.090420366 +0100
++++ nfs-utils-2.4.2/utils/nfsdcltrack/nfsdcltrack.c	2019-12-01 08:16:36.084104443 +0100
+@@ -525,7 +525,7 @@
+ 	if (*tail)
+ 		return -EINVAL;
+ 
+-	xlog(D_GENERAL, "%s: grace done. gracetime=%ld", __func__, gracetime);
++	xlog(D_GENERAL, "%s: grace done. gracetime=%lld", __func__, (uint64_t)gracetime);
+ 
+ 	ret = sqlite_remove_unreclaimed(gracetime);
+ 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/nfs-utils.git/commitdiff/b9dca77b35bc0948e4b7d537d6e6153f1fd47a8f



More information about the pld-cvs-commit mailing list