pkgsrc/devel/xulrunner192/patches/patch-ai
tnn ff57234978 Re-import previous version of Firefox, because firefox-4.0 won't
work for some users (sparc64 support, for example, is busted and
won't appear again until firefox-5.0).
2011-04-19 11:16:02 +00:00

13 lines
444 B
Text

$NetBSD: patch-ai,v 1.1.1.1 2011/04/19 11:16:07 tnn Exp $
--- dbm/src/mktemp.c.orig 2009-06-29 18:14:43.000000000 +0200
+++ dbm/src/mktemp.c
@@ -90,7 +90,7 @@ mktemp(char *path)
static int
_gettemp(char *path, register int *doopen, int extraFlags)
{
-#if !defined(_WINDOWS) || defined(_WIN32)
+#if (!defined(_WINDOWS) || defined(_WIN32)) && !defined(errno)
extern int errno;
#endif
register char *start, *trv;