rpms/ecryptfs-utils/devel ecryptfs-utils-75-werror.patch,1.2,1.3

Michal Hlavinka mhlavink at fedoraproject.org
Tue Jul 21 06:31:55 UTC 2009


Author: mhlavink

Update of /cvs/extras/rpms/ecryptfs-utils/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv1911

Modified Files:
	ecryptfs-utils-75-werror.patch 
Log Message:
fix Werror build issues


ecryptfs-utils-75-werror.patch:
 libecryptfs/ecryptfs-stat.c |    2 +-
 pam_ecryptfs/pam_ecryptfs.c |   31 ++-----------------------------
 2 files changed, 3 insertions(+), 30 deletions(-)

Index: ecryptfs-utils-75-werror.patch
===================================================================
RCS file: /cvs/extras/rpms/ecryptfs-utils/devel/ecryptfs-utils-75-werror.patch,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- ecryptfs-utils-75-werror.patch	20 Jul 2009 13:25:26 -0000	1.2
+++ ecryptfs-utils-75-werror.patch	21 Jul 2009 06:31:52 -0000	1.3
@@ -1,6 +1,18 @@
+diff -up ecryptfs-utils_76.orig/src/libecryptfs/ecryptfs-stat.c.werror ecryptfs-utils_76.orig/src/libecryptfs/ecryptfs-stat.c
+--- ecryptfs-utils_76.orig/src/libecryptfs/ecryptfs-stat.c.werror	2009-07-17 01:24:18.000000000 +0200
++++ ecryptfs-utils_76.orig/src/libecryptfs/ecryptfs-stat.c	2009-07-21 08:10:43.516946733 +0200
+@@ -146,7 +146,7 @@ int ecryptfs_parse_stat(struct ecryptfs_
+ 	if (buf_size < (ECRYPTFS_FILE_SIZE_BYTES
+ 			+ MAGIC_ECRYPTFS_MARKER_SIZE_BYTES
+ 			+ 4)) {
+-		printf("%s: Invalid metadata size; must have at least [%lu] "
++		printf("%s: Invalid metadata size; must have at least [%zu] "
+ 		       "bytes; there are only [%zu] bytes\n", __FUNCTION__,
+ 		       (ECRYPTFS_FILE_SIZE_BYTES
+ 			+ MAGIC_ECRYPTFS_MARKER_SIZE_BYTES
 diff -up ecryptfs-utils_76.orig/src/pam_ecryptfs/pam_ecryptfs.c.werror ecryptfs-utils_76.orig/src/pam_ecryptfs/pam_ecryptfs.c
---- ecryptfs-utils_76.orig/src/pam_ecryptfs/pam_ecryptfs.c.werror	2009-07-20 15:17:30.013884686 +0200
-+++ ecryptfs-utils_76.orig/src/pam_ecryptfs/pam_ecryptfs.c	2009-07-20 15:19:17.111071710 +0200
+--- ecryptfs-utils_76.orig/src/pam_ecryptfs/pam_ecryptfs.c.werror	2009-07-17 01:24:18.000000000 +0200
++++ ecryptfs-utils_76.orig/src/pam_ecryptfs/pam_ecryptfs.c	2009-07-21 08:10:07.068947047 +0200
 @@ -42,31 +42,6 @@
  
  #define PRIVATE_DIR "Private"




More information about the fedora-extras-commits mailing list