fe3bc7f79f
Doesn't work, just shows an empty Alert dialog on startup. Might need some additional files installed, but the installation framework is strange. The Sunbird Project is a redesign of the Calendar component. The goal is to produce a cross platform standalone calendar application based on Mozilla's XUL user interface language. At the moment the Sunbird name is a project name. It is not official and may change in the future. The intended user is someone who uses Mozilla Firefox and Mozilla Thunderbird and wants a calendar application based on Mozilla.
40 lines
1.2 KiB
Text
40 lines
1.2 KiB
Text
$NetBSD: patch-dr,v 1.1.1.1 2008/11/06 11:50:47 thomasklausner Exp $
|
|
|
|
--- nsprpub/pr/include/md/_freebsd.h.orig 2006-06-26 14:27:03.000000000 +0000
|
|
+++ nsprpub/pr/include/md/_freebsd.h
|
|
@@ -40,7 +40,7 @@
|
|
|
|
#include "prthread.h"
|
|
|
|
-#if __FreeBSD__ >= 2
|
|
+#if defined(__FreeBSD__) && __FreeBSD__ >= 2
|
|
#include <osreldate.h> /* for __FreeBSD_version */
|
|
#endif
|
|
#include <sys/syscall.h>
|
|
@@ -79,7 +79,7 @@
|
|
#define _PR_NO_LARGE_FILES
|
|
|
|
#if defined(_PR_PTHREADS)
|
|
-#if __FreeBSD_version >= 400008
|
|
+#if defined(__DragonFly__) || defined(__FreeBSD__) &&__FreeBSD_version >= 400008
|
|
/*
|
|
* libc_r before this version of FreeBSD doesn't have poll().
|
|
* Although libc has poll(), it is not thread-safe so we can't
|
|
@@ -88,7 +88,7 @@
|
|
#define _PR_POLL_AVAILABLE
|
|
#endif
|
|
#else
|
|
-#if __FreeBSD_version >= 300000
|
|
+#if defined(__DragonFly__) || __FreeBSD_version >= 300000
|
|
#define _PR_POLL_AVAILABLE
|
|
#define _PR_USE_POLL
|
|
#endif
|
|
@@ -97,7 +97,7 @@
|
|
#define _PR_HAVE_SYSV_SEMAPHORES
|
|
#define PR_HAVE_SYSV_NAMED_SHARED_MEMORY
|
|
|
|
-#if __FreeBSD_version >= 400014
|
|
+#if defined(__DragonFly__) || __FreeBSD_version >= 400014
|
|
#define _PR_INET6
|
|
#define _PR_HAVE_INET_NTOP
|
|
#define _PR_HAVE_GETHOSTBYNAME2
|