summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrillig <rillig>2006-01-28 02:03:57 +0000
committerrillig <rillig>2006-01-28 02:03:57 +0000
commit81675e649e14288ee1bdb323a77a4a8e6b4654e7 (patch)
treef31e35d48c57676808f2356dc1e936d262dea7c6
parenta63e49ae16710b922999656b58287a601cf2d333 (diff)
downloadpkgsrc-81675e649e14288ee1bdb323a77a4a8e6b4654e7.tar.gz
Added a patch to support MIPSpro.
-rw-r--r--archivers/gtar-base/distinfo3
-rw-r--r--archivers/gtar-base/patches/patch-ah21
2 files changed, 23 insertions, 1 deletions
diff --git a/archivers/gtar-base/distinfo b/archivers/gtar-base/distinfo
index fef237c9a5f..bc7a0540e43 100644
--- a/archivers/gtar-base/distinfo
+++ b/archivers/gtar-base/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.15 2005/02/23 14:45:23 agc Exp $
+$NetBSD: distinfo,v 1.16 2006/01/28 02:03:57 rillig Exp $
SHA1 (tar-1.15.1.tar.gz) = 21574ae5d39b698f7f577e2cecc91a5ec89b659c
RMD160 (tar-1.15.1.tar.gz) = 83f35ee090d05f0865ebd9915bbd1b649a6555c5
@@ -10,3 +10,4 @@ SHA1 (patch-ad) = 8f109cbc150cb7db48b7a59dcba9eefb654875e0
SHA1 (patch-ae) = 6518ab82e19c831f16bc772136fafc037a592df4
SHA1 (patch-af) = be20dafd1c65db4ca60a5aedbc7a972117cd7072
SHA1 (patch-ag) = dc39d490b0085e452664b8ea7af0329f01f630d5
+SHA1 (patch-ah) = d8532a99bf2bd0c35a9d994101fbd722f52c9ead
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--)