rev 14167 - in trunk/packages/kdelibs/debian: . patches

Aurelien Jarno aurel32 at alioth.debian.org
Wed Apr 1 19:40:52 UTC 2009


Author: aurel32
Date: 2009-04-01 19:40:52 +0000 (Wed, 01 Apr 2009)
New Revision: 14167

Modified:
   trunk/packages/kdelibs/debian/changelog
   trunk/packages/kdelibs/debian/patches/15_kfreebsd_support.diff
Log:
  * Update 15_kfreebsd.diff (Closes #520123).



Modified: trunk/packages/kdelibs/debian/changelog
===================================================================
--- trunk/packages/kdelibs/debian/changelog	2009-04-01 18:26:31 UTC (rev 14166)
+++ trunk/packages/kdelibs/debian/changelog	2009-04-01 19:40:52 UTC (rev 14167)
@@ -10,6 +10,10 @@
   +++ Changes by Ana Beatriz Guerrero Lopez:
 
   * Remove 01_kcmdlineargs_decoding_svn934640.diff, merged upstream.
+  
+  +++ Changes by Aurelien Jarno:
+  
+  * Update 15_kfreebsd.diff (Closes #520123).
 
  -- Debian Qt/KDE Maintainers <debian-qt-kde at lists.debian.org>  Tue, 31 Mar 2009 05:44:42 +0200
 

Modified: trunk/packages/kdelibs/debian/patches/15_kfreebsd_support.diff
===================================================================
--- trunk/packages/kdelibs/debian/patches/15_kfreebsd_support.diff	2009-04-01 18:26:31 UTC (rev 14166)
+++ trunk/packages/kdelibs/debian/patches/15_kfreebsd_support.diff	2009-04-01 19:40:52 UTC (rev 14167)
@@ -90,3 +90,27 @@
  
      // Determine the mimetype of the file to be retrieved, and emit it.
      // This is mandatory in all slaves (for KRun/BrowserRun to work)
+--- a/kioslave/file/file_unix.cpp
++++ b/kioslave/file/file_unix.cpp
+@@ -129,8 +129,10 @@
+     }
+ 
+ #ifdef HAVE_FADVISE
++#ifdef POSIX_FADV_SEQUENTIAL
+     posix_fadvise(src_fd,0,0,POSIX_FADV_SEQUENTIAL);
+ #endif
++#endif
+     // WABA: Make sure that we keep writing permissions ourselves,
+     // otherwise we can be in for a surprise on NFS.
+     mode_t initialMode;
+@@ -152,8 +154,10 @@
+     }
+ 
+ #ifdef HAVE_FADVISE
++#ifdef POSIX_FADV_SEQUENTIAL
+     posix_fadvise(dest_fd,0,0,POSIX_FADV_SEQUENTIAL);
+ #endif
++#endif
+ 
+ #ifdef HAVE_POSIX_ACL
+     acl = acl_get_fd(src_fd);




More information about the pkg-kde-commits mailing list