diff options
author | wiz <wiz@pkgsrc.org> | 2007-01-27 10:38:22 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2007-01-27 10:38:22 +0000 |
commit | b7cc0b34f1aa0732e656235d47b74d044f99c720 (patch) | |
tree | 53166b3fe2fd1ae2798fa5b67109e7f55e943e9d /devel/acme | |
parent | 5204f830139761e194ec85c62c33813b942c8fca (diff) | |
download | pkgsrc-b7cc0b34f1aa0732e656235d47b74d044f99c720.tar.gz |
Fix build with gcc4. From Hans Rosenfeld in PR 35497.
Diffstat (limited to 'devel/acme')
-rw-r--r-- | devel/acme/distinfo | 3 | ||||
-rw-r--r-- | devel/acme/patches/patch-ac | 24 |
2 files changed, 26 insertions, 1 deletions
diff --git a/devel/acme/distinfo b/devel/acme/distinfo index f9ec2966b55..4a7ae0dad0c 100644 --- a/devel/acme/distinfo +++ b/devel/acme/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.2 2005/02/23 22:24:09 agc Exp $ +$NetBSD: distinfo,v 1.3 2007/01/27 10:38:22 wiz Exp $ SHA1 (acme085_linux.tar.gz) = 8eb698e839eecea631b1eb3404071c02d2915474 RMD160 (acme085_linux.tar.gz) = 7be4e179e18509c6fad6617433d8681e4107ee85 @@ -8,3 +8,4 @@ RMD160 (lib002.zip) = bf3c4d84ece0897a79bac0799027774cab0a0819 Size (lib002.zip) = 18197 bytes SHA1 (patch-aa) = b0131874ccfd8f7b43e9d25b363b6a7fdda502e3 SHA1 (patch-ab) = ef30221626d8145cf8f8e67be3a0eb3e0495d006 +SHA1 (patch-ac) = 666ef25503fac52de69c4867ed490b9fa6e7a7e5 diff --git a/devel/acme/patches/patch-ac b/devel/acme/patches/patch-ac new file mode 100644 index 00000000000..0da99c53f60 --- /dev/null +++ b/devel/acme/patches/patch-ac @@ -0,0 +1,24 @@ +$NetBSD: patch-ac,v 1.1 2007/01/27 10:38:22 wiz Exp $ + +--- context.h.orig 2001-03-22 17:34:46.000000000 +0000 ++++ context.h +@@ -11,6 +11,8 @@ + #ifndef context_H + #define context_H + ++#include "config.h" ++ + /* Number of "global zone" */ + #define ZONE_GLOBAL 0 + +@@ -42,8 +44,8 @@ struct context { + extern zone Context_CurrentZone;/* current zone value */ + extern zone Zone_Max;/* Highest zone number yet */ + extern int nContext;/* Number of saved contexts */ +-extern context Context[]; +-extern byte pTitle[][]; ++extern context Context[MAXCONTEXTS]; ++extern byte pTitle[MAXCONTEXTS][LSMAX + 1]; + extern int Context_CodeTable;/* Current translation table and its values */ + enum { + CODETABLE_RAW, |