pkgsrc/lang/cint/patches/patch-ai
dholland 053674084d Fix broken 64-bit build, and patch makefile to stop on error. There
are a lot of woolly things going on here, so PKGREVISION++ as a
precaution.
2008-09-05 05:27:30 +00:00

13 lines
905 B
Text

$NetBSD: patch-ai,v 1.1 2008/09/05 05:27:31 dholland Exp $
--- lib/posix/posix.h~ 2005-05-06 04:48:49.000000000 -0400
+++ lib/posix/posix.h 2008-09-05 00:02:39.000000000 -0400
@@ -272,7 +272,7 @@ extern char *getwd(char *buf);
extern int setpgrp(pid_t _pid,pid_t _pgrp);
#elif defined(G__SUN) || defined(__sun)
extern long setpgrp(void);
-#elif defined(G__FBSD)||defined(__FreeBSD__)||defined(G__OBSD)||defined(__OpenBSD__)||((defined(G__alpha)||defined(__alpha))&&defined(G__GNUC))||((defined(G__alpha)||defined(__alpha))&&defined(G__GNUC))
+#elif defined(G__FBSD)||defined(__FreeBSD__)||defined(G__NBSD)||defined(__NetBSD__)||defined(G__OBSD)||defined(__OpenBSD__)||((defined(G__alpha)||defined(__alpha))&&defined(G__GNUC))||((defined(G__alpha)||defined(__alpha))&&defined(G__GNUC))
extern int setpgrp(pid_t _pid, pid_t _pgrp);
#elif defined(G__KCC) || defined(__KCC)
extern pid_t setpgrp(void);