pkgsrc/devel/xulrunner17/patches/patch-ad
ryoon 27af90c8a6 Import xulrunner17-17.0.2 as devel/xulrunner17.
XULRunner is a runtime environment for applications using the
XML User Interface Language, XUL. It is the successor of the "Gecko"
runtime environment.

This package tracks 17.0.x extended support release.
2013-01-10 16:17:09 +00:00

13 lines
437 B
Text

$NetBSD: patch-ad,v 1.1 2013/01/10 16:17:10 ryoon Exp $
--- xpcom/io/nsLocalFileUnix.h.orig 2012-08-24 22:56:10.000000000 +0000
+++ xpcom/io/nsLocalFileUnix.h
@@ -52,7 +52,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>