mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-04 02:08:49 -04:00
17 lines
598 B
Plaintext
17 lines
598 B
Plaintext
$NetBSD: patch-aw,v 1.2 2014/05/09 09:19:06 wiz Exp $
|
|
|
|
DragonFlyBSD support
|
|
http://bugs.python.org/issue21459
|
|
|
|
--- Modules/nismodule.c.orig 2010-08-19 09:03:03.000000000 +0000
|
|
+++ Modules/nismodule.c
|
|
@@ -89,7 +89,7 @@ nis_mapname (char *map, int *pfix)
|
|
return map;
|
|
}
|
|
|
|
-#if defined(__APPLE__) || defined(__OpenBSD__) || defined(__FreeBSD__)
|
|
+#if defined(__APPLE__) || defined(__OpenBSD__) || defined(__FreeBSD__) || defined(__DragonFly__)
|
|
typedef int (*foreachfunc)(unsigned long, char *, int, char *, int, void *);
|
|
#else
|
|
typedef int (*foreachfunc)(int, char *, int, char *, int, char *);
|