pkgsrc/filesystems/fuse-wdfs/patches/patch-ab
bjs 5be0cf5d57 Update to version 1.4.2. While here, support <stdbool.h> if it exists.
I'm not sure about FUSE_VERSION vs. FUSE_USE_VERSION in different
implementations, so define FUSE_USE_VERSION from FUSE_VERSION if it
does not exist and use that.


2007-04-17 CHANGES:

	 - fixed a stupid bug that avoids mounting the root of a server
	 - documented the optional port for mounting a webdav server
	 - improved attribute caching for some special cases
2008-01-28 02:56:46 +00:00

21 lines
359 B
Text

$NetBSD: patch-ab,v 1.2 2008/01/28 02:56:46 bjs Exp $
--- src/wdfs-main.h.orig 2007-03-28 16:53:21.000000000 -0400
+++ src/wdfs-main.h
@@ -29,10 +29,16 @@
esac
*/
+#if defined(HAVE_STDBOOL_H)
+#include <stdbool.h>
+typedef bool bool_t;
+#else
typedef enum {
true = 1,
false = 0
} bool_t;
+#endif
+
/* used as mode for unify_path() */
enum {