diff options
author | joerg <joerg@pkgsrc.org> | 2011-09-25 19:44:08 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2011-09-25 19:44:08 +0000 |
commit | 875924d13c84115a1beb2dc4b8ca0235853d3d22 (patch) | |
tree | 8168daac34281c0a89304daeb5ca3125ea2eb05f /devel/fortran-utils | |
parent | 31eff76ca5f38f772821a4644338f811124aa341 (diff) | |
download | pkgsrc-875924d13c84115a1beb2dc4b8ca0235853d3d22.tar.gz |
Fix getline conflict.
Diffstat (limited to 'devel/fortran-utils')
-rw-r--r-- | devel/fortran-utils/distinfo | 3 | ||||
-rw-r--r-- | devel/fortran-utils/patches/patch-fsplit-fsplit.c | 31 |
2 files changed, 33 insertions, 1 deletions
diff --git a/devel/fortran-utils/distinfo b/devel/fortran-utils/distinfo index b417ad2c3f1..ac5eace302a 100644 --- a/devel/fortran-utils/distinfo +++ b/devel/fortran-utils/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.5 2007/12/31 08:05:41 obache Exp $ +$NetBSD: distinfo,v 1.6 2011/09/25 19:44:08 joerg Exp $ SHA1 (fortran-utils-1.1.tar.gz) = 587f55857876b9447326faa1074d6d8b6b1a058e RMD160 (fortran-utils-1.1.tar.gz) = e286108ce7eb0a8062b6f624bea28c71be759109 Size (fortran-utils-1.1.tar.gz) = 7566 bytes SHA1 (patch-ac) = 43f7683cb7d4a2b06db447a3f28c34c57c2252a7 +SHA1 (patch-fsplit-fsplit.c) = 78dddf494e55cdf493677215a33c063973df0b85 diff --git a/devel/fortran-utils/patches/patch-fsplit-fsplit.c b/devel/fortran-utils/patches/patch-fsplit-fsplit.c new file mode 100644 index 00000000000..86bbb35fb39 --- /dev/null +++ b/devel/fortran-utils/patches/patch-fsplit-fsplit.c @@ -0,0 +1,31 @@ +$NetBSD: patch-fsplit-fsplit.c,v 1.1 2011/09/25 19:44:08 joerg Exp $ + +--- fsplit/fsplit.c.orig 2011-09-25 09:50:22.000000000 +0000 ++++ fsplit/fsplit.c +@@ -97,7 +97,7 @@ struct stat sbuf; + + #define trim(p) while (*p == ' ' || *p == '\t') p++ + +-int getline __P((void)); ++int my_getline __P((void)); + void get_name __P((char *, int)); + char *functs __P((char *)); + int lend __P((void)); +@@ -171,7 +171,7 @@ char **argv; + errx(1, "can not open %s", x); + nflag = 0; + rv = 0; +- while (getline() > 0) { ++ while (my_getline() > 0) { + rv = 1; + fprintf(ofp, "%s", buf); + if (lend()) /* look for an 'end' statement */ +@@ -263,7 +263,7 @@ int letters; + } + + int +-getline() ++my_getline() + { + register char *ptr; + |