pkgsrc/sysutils/gnome-vfs/patches/patch-ah
gavan a32c0f87c9 #undef truncate and tell in appropriate places. Workaround for Solaris
redefining them in unistd.h. Also reorder two includes to allow building on
Solaris.
2003-12-30 12:18:56 +00:00

13 lines
378 B
Text

$NetBSD: patch-ah,v 1.3 2003/12/30 12:18:56 gavan Exp $
--- libgnomevfs/gnome-vfs-cancellable-ops.c.orig 2001-07-16 19:21:06.000000000 +0100
+++ libgnomevfs/gnome-vfs-cancellable-ops.c
@@ -32,6 +32,8 @@
#include "gnome-vfs.h"
#include "gnome-vfs-private.h"
+#undef truncate
+
GnomeVFSResult
gnome_vfs_open_uri_cancellable (GnomeVFSHandle **handle,
GnomeVFSURI *uri,