pkgsrc/www/firefox/patches/patch-bq
ghen 800ce59e41 Update to Firefox 2.0.0.3 (nb1), from www/firefox2* (see there for history
and change notes).  Firefox 1.5.0.x will be maintained in www/firefox15*,
as discussed on tech-pkg.
2007-05-12 13:53:07 +00:00

14 lines
567 B
Text

$NetBSD: patch-bq,v 1.7 2007/05/12 13:53:09 ghen Exp $
diff -ruN ../Orig/mozilla/xpcom/io/nsLocalFileUnix.h ./xpcom/io/nsLocalFileUnix.h
--- ../Orig/mozilla/xpcom/io/nsLocalFileUnix.h 2004-04-18 23:18:14.000000000 +0900
+++ ./xpcom/io/nsLocalFileUnix.h 2005-12-04 19:18:04.000000000 +0900
@@ -73,7 +73,7 @@
#endif
// so we can statfs on freebsd
-#if defined(__FreeBSD__)
+#if defined(__FreeBSD__) || ((defined(__DragonFly__) || defined(__NetBSD__)) && !defined(HAVE_STATVFS))
#define HAVE_SYS_STATFS_H
#define STATFS statfs
#include <sys/param.h>