svn commit: r382327 - head/x11-toolkits/xforms/files

John Marino marino at FreeBSD.org
Thu Mar 26 15:48:13 UTC 2015


Author: marino
Date: Thu Mar 26 15:48:12 2015
New Revision: 382327
URL: https://svnweb.freebsd.org/changeset/ports/382327
QAT: https://qat.redports.org/buildarchive/r382327/

Log:
  x11-toolkits/xforms: Add DragonFly support
  
  Bring in fix from dports (port is not maintained)

Added:
  head/x11-toolkits/xforms/files/
  head/x11-toolkits/xforms/files/patch-lib_listdir.c   (contents, props changed)

Added: head/x11-toolkits/xforms/files/patch-lib_listdir.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-toolkits/xforms/files/patch-lib_listdir.c	Thu Mar 26 15:48:12 2015	(r382327)
@@ -0,0 +1,14 @@
+--- lib/listdir.c.orig	2014-06-28 20:34:29 UTC
++++ lib/listdir.c
+@@ -970,7 +970,11 @@ tc_scandir( const char      * dirname,
+ #if defined __VMS && __VMS_VER < 70000000 || defined opennt || defined __CYGWIN__
+         total = dname_is_1 ? strlen( dentry->d_name ) : sizeof *dentry;
+ #else
++#  ifdef __DragonFly__
++        total = dname_is_1 ? _DIRENT_RECLEN(dentry->d_namlen) : sizeof *dentry;
++#  else
+         total = dname_is_1 ? dentry->d_reclen : sizeof *dentry;
++#  endif
+ #endif
+         memcpy( head[ n ] = fl_malloc( total ), dentry, total );
+     }


More information about the svn-ports-head mailing list