pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/f2c Pull in system prototypes instead of defining...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3a46a095dd03
branches:  trunk
changeset: 568870:3a46a095dd03
user:      asau <asau%pkgsrc.org@localhost>
date:      Wed Dec 23 00:48:20 2009 +0000

description:
Pull in system prototypes instead of defining own ones.
>From <joerg>.

diffstat:

 lang/f2c/distinfo         |   3 ++-
 lang/f2c/patches/patch-ak |  15 +++++++++++++++
 2 files changed, 17 insertions(+), 1 deletions(-)

diffs (32 lines):

diff -r 25cfb49e28c3 -r 3a46a095dd03 lang/f2c/distinfo
--- a/lang/f2c/distinfo Wed Dec 23 00:32:17 2009 +0000
+++ b/lang/f2c/distinfo Wed Dec 23 00:48:20 2009 +0000
@@ -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 -r 25cfb49e28c3 -r 3a46a095dd03 lang/f2c/patches/patch-ak
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/f2c/patches/patch-ak Wed Dec 23 00:48:20 2009 +0000
@@ -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



Home | Main Index | Thread Index | Old Index