diff options
Diffstat (limited to 'archivers/gtar-base/patches/patch-ah')
-rw-r--r-- | archivers/gtar-base/patches/patch-ah | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/archivers/gtar-base/patches/patch-ah b/archivers/gtar-base/patches/patch-ah new file mode 100644 index 00000000000..bbabf1ccd77 --- /dev/null +++ b/archivers/gtar-base/patches/patch-ah @@ -0,0 +1,21 @@ +$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--) |