* 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.
40 lines
1.5 KiB
Text
40 lines
1.5 KiB
Text
$NetBSD: patch-af,v 1.3 2008/11/10 14:56:16 adam Exp $
|
|
|
|
--- src/gentoo.h.orig 2008-07-07 20:09:22.000000000 +0200
|
|
+++ src/gentoo.h
|
|
@@ -13,7 +13,7 @@
|
|
|
|
#include "config.h"
|
|
|
|
-#if !(defined __osf__ && defined __alpha__) && !defined __NetBSD__ && !defined __FreeBSD__ && !defined __sgi
|
|
+#if !(defined __osf__ && defined __alpha__) && !defined __NetBSD__ && !defined __FreeBSD__ && !defined __sgi && !defined(__DragonFly__)
|
|
#if !defined __EXTENSIONS__
|
|
#define __EXTENSIONS__
|
|
#endif
|
|
@@ -46,7 +46,7 @@
|
|
#include <time.h>
|
|
#include <unistd.h>
|
|
|
|
-#if defined HAVE_STRUCT_STATVFS
|
|
+#if defined HAVE_STRUCT_STATVFS && !defined(__DragonFly__)
|
|
#include <sys/statvfs.h>
|
|
#elif defined HAVE_STRUCT_STATFS
|
|
#include <sys/statfs.h>
|
|
@@ -56,7 +56,7 @@
|
|
** and save some typing in various tests below. This should probably all
|
|
** be replaced by proper Autoconfed stuff at some point.
|
|
*/
|
|
-#if defined __OpenBSD__ || defined __FreeBSD__ || defined __NetBSD__
|
|
+#if defined __OpenBSD__ || defined __FreeBSD__ || defined __NetBSD__ || defined(__DragonFly__)
|
|
#define GENTOO_ON_BSD
|
|
#endif
|
|
|
|
@@ -464,7 +464,7 @@ typedef struct {
|
|
|
|
typedef struct { /* Some trivial file system information. Updated on rescan. */
|
|
gboolean valid; /* Set if the structure's contents are valid. */
|
|
-#if defined HAVE_STRUCT_STATVFS
|
|
+#if defined HAVE_STRUCT_STATVFS && !defined(__DragonFly__)
|
|
struct statvfs stat; /* Holds information about filesystem. */
|
|
#elif defined HAVE_STRUCT_STATFS || defined GENTOO_ON_BSD
|
|
struct statfs stat;
|