openbsd-ports/lang/python/2.4/patches/patch-Modules_nismodule_c
alek 65a7f47309 Import python 2.4
Python is an interpreted, interactive, object-oriented
programming language that combines remarkable power with
very clear syntax.

tested by djm@ and mpech@ (but more tests are needed!)
mbalmer@ and xsa@ want it to go in
2005-06-07 01:12:54 +00:00

13 lines
443 B
Plaintext

$OpenBSD: patch-Modules_nismodule_c,v 1.1.1.1 2005/06/07 01:12:58 alek Exp $
--- Modules/nismodule.c.orig Sat Jul 10 02:57:37 2004
+++ Modules/nismodule.c Thu Dec 30 22:51:58 2004
@@ -68,7 +68,7 @@ nis_mapname (char *map, int *pfix)
return map;
}
-#ifdef __APPLE__
+#ifdef __OpenBSD__
typedef int (*foreachfunc)(unsigned long, char *, int, char *, int, void *);
#else
typedef int (*foreachfunc)(int, char *, int, char *, int, char *);