rpms/davfs2/devel davfs2-1.4.5-sys_stat_h.patch, NONE, 1.1 davfs2.spec, 1.6, 1.7

Will Woods wwoods at fedoraproject.org
Mon Feb 15 19:11:46 UTC 2010


Author: wwoods

Update of /cvs/pkgs/rpms/davfs2/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv30664

Modified Files:
	davfs2.spec 
Added Files:
	davfs2-1.4.5-sys_stat_h.patch 
Log Message:
Add sys/stat.h patch to fix building from source

davfs2-1.4.5-sys_stat_h.patch:
 dav_coda.c         |    3 +++
 dav_fuse.c         |    4 ++++
 kernel_interface.c |    3 +++
 webdav.c           |    3 +++
 4 files changed, 13 insertions(+)

--- NEW FILE davfs2-1.4.5-sys_stat_h.patch ---
diff -up davfs2-1.4.5/src/dav_coda.c.sys_stat_h davfs2-1.4.5/src/dav_coda.c
--- davfs2-1.4.5/src/dav_coda.c.sys_stat_h	2009-06-04 14:30:32.000000000 -0400
+++ davfs2-1.4.5/src/dav_coda.c	2010-02-15 13:59:21.597561162 -0500
@@ -46,6 +46,9 @@
 #include <unistd.h>
 #endif
 
+#ifdef HAVE_SYS_STAT_H
+#include <sys/stat.h>
+#endif
 #ifdef HAVE_SYS_TIME_H
 #include <sys/time.h>
 #endif
diff -up davfs2-1.4.5/src/dav_fuse.c.sys_stat_h davfs2-1.4.5/src/dav_fuse.c
--- davfs2-1.4.5/src/dav_fuse.c.sys_stat_h	2009-06-30 14:06:44.000000000 -0400
+++ davfs2-1.4.5/src/dav_fuse.c	2010-02-15 13:59:21.599558270 -0500
@@ -42,6 +42,10 @@
 #include <unistd.h>
 #endif
 
+#ifdef HAVE_SYS_STAT_H
+#include <sys/stat.h>
+#endif
+
 #include "defaults.h"
 #include "mount_davfs.h"
 #include "cache.h"
diff -up davfs2-1.4.5/src/kernel_interface.c.sys_stat_h davfs2-1.4.5/src/kernel_interface.c
--- davfs2-1.4.5/src/kernel_interface.c.sys_stat_h	2010-02-15 14:01:07.313559350 -0500
+++ davfs2-1.4.5/src/kernel_interface.c	2010-02-15 14:01:30.555811422 -0500
@@ -45,6 +45,9 @@
 #include <unistd.h>
 #endif
 
+#ifdef HAVE_SYS_STAT_H
+#include <sys/stat.h>
+#endif
 #ifdef HAVE_SYS_MOUNT_H
 #include <sys/mount.h>
 #endif
diff -up davfs2-1.4.5/src/webdav.c.sys_stat_h davfs2-1.4.5/src/webdav.c
--- davfs2-1.4.5/src/webdav.c.sys_stat_h	2010-02-15 14:01:17.835561499 -0500
+++ davfs2-1.4.5/src/webdav.c	2010-02-15 14:02:14.358818283 -0500
@@ -47,6 +47,9 @@
 #ifdef HAVE_UNISTD_H
 #include <unistd.h>
 #endif
+#ifdef HAVE_SYS_STAT_H
+#include <sys/stat.h>
+#endif
 
 #include <ne_alloc.h>
 #include <ne_auth.h>


Index: davfs2.spec
===================================================================
RCS file: /cvs/pkgs/rpms/davfs2/devel/davfs2.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -p -r1.6 -r1.7
--- davfs2.spec	13 Jan 2010 18:39:03 -0000	1.6
+++ davfs2.spec	15 Feb 2010 19:11:46 -0000	1.7
@@ -6,6 +6,7 @@ Group:          System Environment/Base
 License:        GPLv2+
 URL:            http://savannah.nongnu.org/projects/davfs2
 Source0:        http://download.savannah.gnu.org/releases/davfs2/davfs2-1.4.5.tar.gz 
+Patch1:		davfs2-1.4.5-sys_stat_h.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  neon-devel gettext
@@ -22,6 +23,7 @@ as a disk drive.
 
 %prep
 %setup -q
+%patch1 -p1 -b .sys_stat_h
 
 %build
 %configure



More information about the scm-commits mailing list