pkgsrc/archivers/gtar-base/patches/patch-ah
2006-01-28 02:03:57 +00:00

21 lines
758 B
Text

$NetBSD: patch-ah,v 1.3 2006/01/28 02:03:58 rillig Exp $
MIPSpro does not like non-constant initializers.
--- lib/argp-help.c.orig 2004-10-04 11:36:16.000000000 +0200
+++ lib/argp-help.c 2006-01-28 02:58:23.000000000 +0100
@@ -1055,7 +1055,13 @@ hol_entry_help (struct hol_entry *entry,
int old_wm = __argp_fmtstream_wmargin (stream);
/* PEST is a state block holding some of our variables that we'd like to
share with helper functions. */
- struct pentry_state pest = { entry, stream, hhstate, 1, state };
+ struct pentry_state pest;
+
+ pest.entry = entry;
+ pest.stream = stream;
+ pest.hhstate = hhstate;
+ pest.first = 1;
+ pest.state = state;
if (! odoc (real))
for (opt = real, num = entry->num; num > 0; opt++, num--)