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

Pierre Habouzit madcoder at costa.debian.org
Thu Jul 27 08:37:32 UTC 2006


Author: madcoder
Date: 2006-07-27 08:37:31 +0000 (Thu, 27 Jul 2006)
New Revision: 4193

Added:
   trunk/packages/kdelibs/debian/patches/40_kio_kfile_kfreebsd.diff
Modified:
   trunk/packages/kdelibs/debian/changelog
Log:
add patch for kfreeBSD



Modified: trunk/packages/kdelibs/debian/changelog
===================================================================
--- trunk/packages/kdelibs/debian/changelog	2006-07-27 08:12:11 UTC (rev 4192)
+++ trunk/packages/kdelibs/debian/changelog	2006-07-27 08:37:31 UTC (rev 4193)
@@ -19,6 +19,10 @@
 
   * Apply a GNU/kFreeBSD build patch from Petr Salinger. (Closes: #377213)
 
+  +++ Changes by Pierre Habouzit:
+
+  * Add patch to fix FTBFS on GNU/kFreeBSD. (Closes: #377213)
+
  -- Debian Qt/KDE Maintainers <debian-qt-kde at lists.debian.org>  Thu, 27 Jul 2006 10:14:08 +0200
 
 kdelibs (4:3.5.3-1) unstable; urgency=low

Added: trunk/packages/kdelibs/debian/patches/40_kio_kfile_kfreebsd.diff
===================================================================
--- trunk/packages/kdelibs/debian/patches/40_kio_kfile_kfreebsd.diff	2006-07-27 08:12:11 UTC (rev 4192)
+++ trunk/packages/kdelibs/debian/patches/40_kio_kfile_kfreebsd.diff	2006-07-27 08:37:31 UTC (rev 4193)
@@ -0,0 +1,18 @@
+--- kio/kfile/kpropertiesdialog.cpp.ORIG	2006-07-07 13:05:00.000000000 +0200
++++ kio/kfile/kpropertiesdialog.cpp	2006-07-07 13:05:53.000000000 +0200
+@@ -1860,7 +1860,14 @@
+     fileSystemSupportsACLs = ( statfs( pathCString.data(), &buf ) == 0 ) && ( buf.f_flags & MNT_ACLS );
+ #else
+     fileSystemSupportsACLs =
+-      getxattr( pathCString.data(), "system.posix_acl_access", NULL, 0 ) >= 0 || errno == ENODATA;
++      getxattr( pathCString.data(), "system.posix_acl_access", NULL, 0 ) >= 0 
++#ifdef ENODATA      
++			|| (errno == ENODATA)
++#endif
++#ifdef ENOATTR      
++			|| (errno == ENOATTR)
++#endif
++			;
+ #endif
+     return fileSystemSupportsACLs;
+ }




More information about the pkg-kde-commits mailing list