pkgsrc/sysutils/gentoo/patches/patch-ah
adam b317104bf6 Changes 0.11.57:
* Updated to automake/autoconf/aclocal/a* 1.10.x, with the usual
  pains. I hope it builds for people other than me ...
* Updated to a new included version of GNU gettext (0.16.1).
* Made gentoo's start-up more friendly to GTK+, so that standard
  options supported by the toolkit (like --sync) work, now.
* Added new Mexican Spanish translation.
* Added a "Case" page to the RenameRE command, with options to
  easily convert filenames to all-lower or all-upper case. Far
  easier than manually entering all characters for "Map". Also
  refactored code of RenameRE quite a bit, it is shorter now.
* Fixed bugs where the GTK+ event-flushing loop used in various
  places in the code generated a spurious error 11
  ("Resource temporarily unavailable").
* Added a new setting ("Buffer Size for mmap()" under Commands/
  Options/ViewText) that controls how much data is passed from
  the mmap()ed text file to the GTK+ text widget at a time. Before
  this release, this was always "all of it", which seems to cause
  problems sometimes. If you get an empty viewer when you try
  looking at a large-ish (>64 KB) text file and you use mmap(),
  lower this setting.
2008-11-10 14:56:16 +00:00

13 lines
459 B
Text

$NetBSD: patch-ah,v 1.2 2008/11/10 14:56:16 adam Exp $
--- src/dirpane.c.orig 2008-07-07 20:09:22.000000000 +0200
+++ src/dirpane.c
@@ -1393,7 +1393,7 @@ static void update_fs_info(DirPane *dp)
{
gint old_errno = errno;
-#if defined HAVE_STRUCT_STATVFS
+#if defined HAVE_STRUCT_STATVFS && !defined(__DragonFly__)
dp->dir.fs.valid = statvfs(dp->dir.path, &dp->dir.fs.stat) == 0;
#else
dp->dir.fs.valid = statfs(dp->dir.path, &dp->dir.fs.stat) == 0;