diff options
author | minskim <minskim@pkgsrc.org> | 2004-12-08 03:51:54 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2004-12-08 03:51:54 +0000 |
commit | 445ec02112ff91f9719d7175b335bbf2d56533f2 (patch) | |
tree | 7e5c8ce698a2687ed64d719928ba664543ab0457 /print/gv/patches/patch-aa | |
parent | 61f12b892b0fb58f6223792febee50af362ab0c1 (diff) | |
download | pkgsrc-445ec02112ff91f9719d7175b335bbf2d56533f2.tar.gz |
Make this package build on NetBSD 1.6.2.
Patch provided by Bernhard "Burnhard" Riedel in private email.
- Remove C99-ism.
- Force to use texinfo>=4.2.
Diffstat (limited to 'print/gv/patches/patch-aa')
-rw-r--r-- | print/gv/patches/patch-aa | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/print/gv/patches/patch-aa b/print/gv/patches/patch-aa new file mode 100644 index 00000000000..82199b0fce7 --- /dev/null +++ b/print/gv/patches/patch-aa @@ -0,0 +1,20 @@ +$NetBSD: patch-aa,v 1.11 2004/12/08 03:51:54 minskim Exp $ + +--- src/main.c.orig Mon Nov 15 22:34:31 2004 ++++ src/main.c +@@ -256,6 +256,7 @@ int main(argc, argv) + Dimension maximum_width,maximum_height; + unsigned int gwidth=0,gheight=0; + int dim_forced; ++ int c; + + /*### initializing global variables ####################################*/ + +@@ -284,7 +285,6 @@ int main(argc, argv) + #endif + + /*### Manage GNU command line arguments ########################*/ +- int c; + while ((c = getopt_long (argc, argv, "vhu", GNU_longOptions, NULL)) + != -1) + { |