summaryrefslogtreecommitdiff
path: root/print/gv/patches/patch-aa
diff options
context:
space:
mode:
authorsnj <snj@pkgsrc.org>2004-12-30 21:04:25 +0000
committersnj <snj@pkgsrc.org>2004-12-30 21:04:25 +0000
commitead14399fe1c7ca32c232d916b833c0161b8a89e (patch)
treeb27af1bc4a34c10d4c80b87bdfec207580a2f113 /print/gv/patches/patch-aa
parenta48e262dc63b411ccecb19cb10fcacdcfeb3e5fd (diff)
downloadpkgsrc-ead14399fe1c7ca32c232d916b833c0161b8a89e.tar.gz
Update to 3.6.1, based on a patch sent by "pancake" in PR pkg/28816. While
here, do some sorting and take maintainership. Changes: * configure.ac: Change reference source file on AC_INIT * src/gv_message.h (displayed\n\): Fixed a typo on the help message. * src/gv_misc_res.dat: Changed the Reopen label to Reload for the File menu. * src/Makefile.am ($(srcdir)/gv_intern_res_unix.dat): Fix GV.gsCmdConvPDF in order to work. * src/main.c (main): Process GNU arguments after X initialization * configure.ac: Changed the scratch dir from ~/ to /tmp/
Diffstat (limited to 'print/gv/patches/patch-aa')
-rw-r--r--print/gv/patches/patch-aa22
1 files changed, 11 insertions, 11 deletions
diff --git a/print/gv/patches/patch-aa b/print/gv/patches/patch-aa
index 82199b0fce7..7f519751c4c 100644
--- a/print/gv/patches/patch-aa
+++ b/print/gv/patches/patch-aa
@@ -1,8 +1,8 @@
-$NetBSD: patch-aa,v 1.11 2004/12/08 03:51:54 minskim Exp $
+$NetBSD: patch-aa,v 1.12 2004/12/30 21:04:25 snj Exp $
---- src/main.c.orig Mon Nov 15 22:34:31 2004
-+++ src/main.c
-@@ -256,6 +256,7 @@ int main(argc, argv)
+--- src/main.c.orig 2004-12-06 15:36:57.000000000 -0800
++++ src/main.c 2004-12-30 12:32:38.000000000 -0800
+@@ -321,6 +321,7 @@ int main(argc, argv)
Dimension maximum_width,maximum_height;
unsigned int gwidth=0,gheight=0;
int dim_forced;
@@ -10,11 +10,11 @@ $NetBSD: patch-aa,v 1.11 2004/12/08 03:51:54 minskim Exp $
/*### initializing global variables ####################################*/
-@@ -284,7 +285,6 @@ int main(argc, argv)
- #endif
+@@ -420,7 +421,6 @@ int main(argc, argv)
- /*### Manage GNU command line arguments ########################*/
-- int c;
- while ((c = getopt_long (argc, argv, "vhu", GNU_longOptions, NULL))
- != -1)
- {
+ /*### Manage GNU command line arguments ########################*/
+ int opt_counter = 0;
+- int c;
+ while ((c = getopt_long (argc, argv, "vhu", GNU_longOptions, NULL))
+ != -1)
+ {