devel/ecryptfs-utils ecryptfs-utils-38-pathmax.patch, NONE, 1.1 ecryptfs-utils.spec, 1.14, 1.15

Karsten Hopp (karsten) fedora-extras-commits at redhat.com
Wed Feb 13 15:42:02 UTC 2008


Author: karsten

Update of /cvs/extras/devel/ecryptfs-utils
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv27166

Modified Files:
	ecryptfs-utils.spec 
Added Files:
	ecryptfs-utils-38-pathmax.patch 
Log Message:
- make it build with our current headers. 
  "error: 'PATH_MAX' undeclared here (not in a function)"


ecryptfs-utils-38-pathmax.patch:

--- NEW FILE ecryptfs-utils-38-pathmax.patch ---
diff -up ecryptfs-utils-38/src/include/ecryptfs.h.pathmax ecryptfs-utils-38/src/include/ecryptfs.h
--- ecryptfs-utils-38/src/include/ecryptfs.h.pathmax	2008-02-13 16:37:50.000000000 +0100
+++ ecryptfs-utils-38/src/include/ecryptfs.h	2008-02-13 16:37:59.000000000 +0100
@@ -29,6 +29,7 @@
 
 #include <stdint.h>
 #include <netdb.h>
+#include <limits.h>
 #ifndef S_SPLINT_S
 #include <stdio.h>
 #include <syslog.h>


Index: ecryptfs-utils.spec
===================================================================
RCS file: /cvs/extras/devel/ecryptfs-utils/ecryptfs-utils.spec,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- ecryptfs-utils.spec	8 Jan 2008 16:42:53 -0000	1.14
+++ ecryptfs-utils.spec	13 Feb 2008 15:41:27 -0000	1.15
@@ -1,11 +1,12 @@
 Name: ecryptfs-utils
 Version: 38
-Release: 0%{?dist}
+Release: 1%{?dist}
 Summary: The eCryptfs mount helper and support libraries
 Group: System Environment/Base
 License: GPL
 URL: http://ecryptfs.sourceforge.net
 Source0: http://downloads.sourceforge.net/ecryptfs/ecryptfs-utils-%{version}.tar.bz2
+Patch0: ecryptfs-utils-38-pathmax.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires: libgcrypt-devel keyutils-libs-devel openssl-devel pam-devel
 Conflicts: kernel < 2.6.19
@@ -29,6 +30,7 @@
 %prep
 
 %setup -q
+%patch0 -p1
 
 %build
 %configure --disable-opencryptoki --disable-rpath
@@ -84,6 +86,9 @@
 %{_includedir}/ecryptfs.h
 
 %changelog
+* Wed Feb 13 2008 Karsten Hopp <karsten at redhat.com> 38-1
+- fix includes
+
 * Tue Jan 8 2008 Mike Halcrow <mhalcrow at us.ibm.com> 38-0
  - Fix passthrough mount option prompt
  - Clarify man page




More information about the fedora-extras-commits mailing list