diff options
author | dholland <dholland@pkgsrc.org> | 2010-04-29 00:22:02 +0000 |
---|---|---|
committer | dholland <dholland@pkgsrc.org> | 2010-04-29 00:22:02 +0000 |
commit | 70ae301ed6b49465de73d5e37a42c956a2b75ad2 (patch) | |
tree | c8dde858fb5faeb67bf1b894cbc832aa5baa0adf /lang | |
parent | 776408971e581d5519f35688db7f04d9d1640e0b (diff) | |
download | pkgsrc-70ae301ed6b49465de73d5e37a42c956a2b75ad2.tar.gz |
patch getline() -> get_line() for -current (thank you PSOIX)
Diffstat (limited to 'lang')
-rw-r--r-- | lang/focal/distinfo | 7 | ||||
-rw-r--r-- | lang/focal/patches/patch-aa | 13 | ||||
-rw-r--r-- | lang/focal/patches/patch-ab | 13 | ||||
-rw-r--r-- | lang/focal/patches/patch-ac | 13 |
4 files changed, 39 insertions, 7 deletions
diff --git a/lang/focal/distinfo b/lang/focal/distinfo index b730684044f..788687d4b3c 100644 --- a/lang/focal/distinfo +++ b/lang/focal/distinfo @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.3 2006/01/09 22:14:32 joerg Exp $ +$NetBSD: distinfo,v 1.4 2010/04/29 00:22:02 dholland Exp $ SHA1 (focal.tar.gz) = 704d1411365085fb47ff25c1a77ae1f8e7fa601e RMD160 (focal.tar.gz) = 6b06cc08b2761035c315ae13b80d64a5e7a6004b Size (focal.tar.gz) = 12561 bytes -SHA1 (patch-aa) = f37f7271b0a7fe508bee1bf1630229096efb21d0 -SHA1 (patch-ab) = f42b9f219bfee5a0deaae5d030989a6bc4ae2e77 +SHA1 (patch-aa) = 632a2ff83f744865a154712ce31092e1435af6f2 +SHA1 (patch-ab) = b2795472241ef1d1cc554e7c13bf35dc4b39b330 +SHA1 (patch-ac) = 17d1d5e2895d45c76782dfa79b97f583efa5346d diff --git a/lang/focal/patches/patch-aa b/lang/focal/patches/patch-aa index 4c1182a1c02..66f4c973e38 100644 --- a/lang/focal/patches/patch-aa +++ b/lang/focal/patches/patch-aa @@ -1,6 +1,6 @@ -$NetBSD: patch-aa,v 1.1.1.1 2003/09/11 17:15:02 drochner Exp $ +$NetBSD: patch-aa,v 1.2 2010/04/29 00:22:02 dholland Exp $ ---- focal0.c.orig 1995-04-17 15:03:43.000000000 +0200 +--- focal0.c.orig 1995-04-17 13:03:43.000000000 +0000 +++ focal0.c @@ -13,6 +13,7 @@ $(ATOD) = 1 @@ -18,3 +18,12 @@ $NetBSD: patch-aa,v 1.1.1.1 2003/09/11 17:15:02 drochner Exp $ #include "focal.h" #ifdef vms +@@ -649,7 +651,7 @@ register int c; + } + + +-int getline(cp, fp) ++int get_line(cp, fp) + register char *cp; + register FILE *fp; + { diff --git a/lang/focal/patches/patch-ab b/lang/focal/patches/patch-ab index 73c196e45fa..18e2eeec29e 100644 --- a/lang/focal/patches/patch-ab +++ b/lang/focal/patches/patch-ab @@ -1,7 +1,16 @@ -$NetBSD: patch-ab,v 1.1 2006/01/09 22:14:32 joerg Exp $ +$NetBSD: patch-ab,v 1.2 2010/04/29 00:22:02 dholland Exp $ ---- focal2.c.orig 2006-01-09 22:06:20.000000000 +0000 +--- focal2.c.orig 1995-04-17 13:03:46.000000000 +0000 +++ focal2.c +@@ -71,7 +71,7 @@ void library() + } + line = NULL; + sctp = ctp; +- while (getline(abuf, fp) != 0) { ++ while (get_line(abuf, fp) != 0) { + ctp = abuf; + if ((c=getnb()) != 0) { + if (isdigit(c) == 0) @@ -138,7 +138,7 @@ void library() || strcmp(de->d_name, ".") == 0 || strcmp(de->d_name, "..") == 0) diff --git a/lang/focal/patches/patch-ac b/lang/focal/patches/patch-ac new file mode 100644 index 00000000000..1b79e633cf0 --- /dev/null +++ b/lang/focal/patches/patch-ac @@ -0,0 +1,13 @@ +$NetBSD: patch-ac,v 1.1 2010/04/29 00:22:02 dholland Exp $ + +--- proto.h~ 1995-04-17 13:03:41.000000000 +0000 ++++ proto.h +@@ -17,7 +17,7 @@ void popdo ARG((void)); + void popfor ARG((void)); + void clearfors ARG((struct sym *sp)); + void inject ARG((int c)); +-int getline ARG((char *cp, FILE *fp)); ++int get_line ARG((char *cp, FILE *fp)); + void type ARG((void)); + void save ARG((struct lno *lnop, FILE *fp)); + void erasesyms ARG((void)); |