diff options
author | minskim <minskim@pkgsrc.org> | 2009-07-17 06:55:14 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2009-07-17 06:55:14 +0000 |
commit | 86f0794050fae9927e59f53bdf53056a59459938 (patch) | |
tree | 0adbd696826adb510bf9196e554b25b8d6b2c32b /print | |
parent | 064347246523dca8670a943c4688bb98d60a8efe (diff) | |
download | pkgsrc-86f0794050fae9927e59f53bdf53056a59459938.tar.gz |
Make web2c build on systems with native getline().
Diffstat (limited to 'print')
-rw-r--r-- | print/web2c/distinfo | 3 | ||||
-rw-r--r-- | print/web2c/patches/patch-au | 17 |
2 files changed, 19 insertions, 1 deletions
diff --git a/print/web2c/distinfo b/print/web2c/distinfo index b185b78a7ef..3a0d358cdb8 100644 --- a/print/web2c/distinfo +++ b/print/web2c/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.3 2009/06/09 21:32:03 minskim Exp $ +$NetBSD: distinfo,v 1.4 2009/07/17 06:55:14 minskim Exp $ SHA1 (texlive-20080816-source.tar.lzma) = 730986c628bd658b5062face9e400f61203d6b8d RMD160 (texlive-20080816-source.tar.lzma) = 629784b111c0d4bc9fac9f9131f63203d6e1dd38 @@ -23,3 +23,4 @@ SHA1 (patch-aq) = 6be32b638b283924b5ff70ebd9e653f821bea3a0 SHA1 (patch-ar) = 58dcc0263b7347d7dfbf10370bcad3ed46849414 SHA1 (patch-as) = b676605ce6f599d75ef9076316f60a5679656a16 SHA1 (patch-at) = 590c83e0decf5603a75970e33d8028d794d920d2 +SHA1 (patch-au) = acc255d4e4eacd960d4b9a9807ca4b0cff37d000 diff --git a/print/web2c/patches/patch-au b/print/web2c/patches/patch-au new file mode 100644 index 00000000000..8d783bc52fc --- /dev/null +++ b/print/web2c/patches/patch-au @@ -0,0 +1,17 @@ +$NetBSD: patch-au,v 1.1 2009/07/17 06:55:14 minskim Exp $ + +--- cpascal.h.orig 2008-05-24 16:56:44.000000000 -0700 ++++ cpascal.h +@@ -272,6 +272,12 @@ typedef struct option getoptstruct; + #undef getname + #define getname vms_getname + #endif ++ ++#ifdef getline ++#undef getline ++#endif ++#define getline web2c_getline ++ + + /* Declarations for the routines we provide ourselves in lib/. */ + |