[58188] trunk/dports/xfce/Thunar

afb at macports.org afb at macports.org
Wed Sep 23 14:59:13 PDT 2009


Revision: 58188
          http://trac.macports.org/changeset/58188
Author:   afb at macports.org
Date:     2009-09-23 14:59:11 -0700 (Wed, 23 Sep 2009)
Log Message:
-----------
use readdir on darwin10

Modified Paths:
--------------
    trunk/dports/xfce/Thunar/Portfile

Added Paths:
-----------
    trunk/dports/xfce/Thunar/files/patch-configure-snow.diff

Modified: trunk/dports/xfce/Thunar/Portfile
===================================================================
--- trunk/dports/xfce/Thunar/Portfile	2009-09-23 21:53:52 UTC (rev 58187)
+++ trunk/dports/xfce/Thunar/Portfile	2009-09-23 21:59:11 UTC (rev 58188)
@@ -4,6 +4,7 @@
 
 name		Thunar
 version		1.0.1
+revision	1
 categories	xfce
 platforms	darwin
 maintainers	afb
@@ -28,3 +29,7 @@
 platform darwin {
 	configure.args-append --disable-visibility
 }
+
+platform darwin 10 {
+	patchfiles-append patch-configure-snow.diff
+}

Added: trunk/dports/xfce/Thunar/files/patch-configure-snow.diff
===================================================================
--- trunk/dports/xfce/Thunar/files/patch-configure-snow.diff	                        (rev 0)
+++ trunk/dports/xfce/Thunar/files/patch-configure-snow.diff	2009-09-23 21:59:11 UTC (rev 58188)
@@ -0,0 +1,17 @@
+GETDIRENTRIES(2):
+"As of Mac OS X 10.6, getdirentries() is deprecated, and it is recommended
+ that applications use readdir(3) rather than using getdirentries() directly.
+ Due to limitations with the system call, getdirentries() will not work with
+ 64-bit inodes; in order to use getdirentries(), _DARWIN_NO_64_BIT_INODE must
+ be defined."
+--- configure.orig	2009-04-18 16:41:11.000000000 +0200
++++ configure	2009-09-22 18:07:10.000000000 +0200
+@@ -21169,7 +21169,7 @@
+     { echo "$as_me:$LINENO: checking for operating system support" >&5
+ echo $ECHO_N "checking for operating system support... $ECHO_C" >&6; }
+   case "$target_os" in
+-  dragonfly*|freebsd*|netbsd*|openbsd*|darwin*)
++  dragonfly*|freebsd*|netbsd*|openbsd*)
+         ac_bm_thunar_vfs_os_impl=bsd
+     ;;
+ 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090923/7d4e49a0/attachment.html>


More information about the macports-changes mailing list