diff options
author | asau <asau@pkgsrc.org> | 2009-12-23 00:48:20 +0000 |
---|---|---|
committer | asau <asau@pkgsrc.org> | 2009-12-23 00:48:20 +0000 |
commit | cad8d8f1991e422828ed112b5c9cf99624169cfd (patch) | |
tree | 635550d57f05ee3934d2c8b531130e741eb82021 /lang/f2c | |
parent | eedc014736c24a0df9d3d6704c226f4c0ffd945d (diff) | |
download | pkgsrc-cad8d8f1991e422828ed112b5c9cf99624169cfd.tar.gz |
Pull in system prototypes instead of defining own ones.
From <joerg>.
Diffstat (limited to 'lang/f2c')
-rw-r--r-- | lang/f2c/distinfo | 3 | ||||
-rw-r--r-- | lang/f2c/patches/patch-ak | 15 |
2 files changed, 17 insertions, 1 deletions
diff --git a/lang/f2c/distinfo b/lang/f2c/distinfo index 86532bb4f63..8e3f402baf2 100644 --- a/lang/f2c/distinfo +++ b/lang/f2c/distinfo @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.24 2009/12/03 12:39:59 asau Exp $ +$NetBSD: distinfo,v 1.25 2009/12/23 00:48:20 asau Exp $ SHA1 (f2c-20090411.tar.gz) = 949e832b84aaa912a99471a95c6fd449898d50e0 RMD160 (f2c-20090411.tar.gz) = e86ff3de4564267a57f508a5a68e81af2b1a9468 Size (f2c-20090411.tar.gz) = 1045385 bytes SHA1 (patch-aa) = f1224ff17cdc96f083a247dce88b690e8b939eb0 SHA1 (patch-ad) = 7f204a45891e3632589ea8fb0e4e379a0a792dea +SHA1 (patch-ak) = 8652a54df300ddd60d9b1a9594d312349b782cf4 diff --git a/lang/f2c/patches/patch-ak b/lang/f2c/patches/patch-ak new file mode 100644 index 00000000000..01a5d188615 --- /dev/null +++ b/lang/f2c/patches/patch-ak @@ -0,0 +1,15 @@ +$NetBSD: patch-ak,v 1.3 2009/12/23 00:48:20 asau Exp $ + +--- src/sysdep.c.orig 2009-12-22 11:45:47.000000000 +0100 ++++ src/sysdep.c +@@ -80,8 +80,8 @@ extern "C" { + #define Cextern extern + #endif + +-Cextern int unlink Argdcl((const char *)); +-Cextern int fork Argdcl((void)), getpid Argdcl((void)), wait Argdcl((int*)); ++#include <sys/wait.h> ++#include <unistd.h> + + void + #ifdef KR_headers |