pkgsrc/www/seamonkey/patches/patch-bb
ghen 1e320db38d Import Mozilla Seamonkey 1.0 from pkgsrc-wip (gtk2 version). Seamonkey is
the community-driven continuation of the Mozilla Suite, which is no longer
maintained by Mozilla.
2006-03-30 19:15:38 +00:00

26 lines
676 B
Text

$NetBSD: patch-bb,v 1.1.1.1 2006/03/30 19:15:49 ghen Exp $
--- nsprpub/pr/include/md/_netbsd.h.orig 2004-05-19 17:37:10.000000000 +0200
+++ nsprpub/pr/include/md/_netbsd.h
@@ -44,6 +44,8 @@
#define _PR_SI_ARCHITECTURE "x86"
#elif defined(__alpha__)
#define _PR_SI_ARCHITECTURE "alpha"
+#elif defined(__amd64__)
+#define _PR_SI_ARCHITECTURE "amd64"
#elif defined(__m68k__)
#define _PR_SI_ARCHITECTURE "m68k"
#elif defined(__powerpc__)
@@ -95,6 +97,12 @@
#define _PR_HAVE_GETPROTO_R_INT
#endif
+#if __NetBSD_Version__ >= 106370000
+/* NetBSD 1.6ZK */
+#define _PR_HAVE_GETPROTO_R
+#define _PR_HAVE_GETPROTO_R_INT
+#endif
+
#define USE_SETJMP
#ifndef _PR_PTHREADS