pkgsrc/lang/python31/patches/patch-aw
reed 0952b2bd73 Add python3.1 version 3.1.4.
I will commit some additional changes for this separately.
2011-06-17 00:10:18 +00:00

13 lines
547 B
Text

$NetBSD: patch-aw,v 1.1.1.1 2011/06/17 00:10:19 reed Exp $
--- 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 *);