diff options
Diffstat (limited to 'x11/xview-clients/patches/patch-aa')
-rw-r--r-- | x11/xview-clients/patches/patch-aa | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/x11/xview-clients/patches/patch-aa b/x11/xview-clients/patches/patch-aa index bf7fa7cf5b1..17cb2f2e88a 100644 --- a/x11/xview-clients/patches/patch-aa +++ b/x11/xview-clients/patches/patch-aa @@ -1,8 +1,8 @@ -$NetBSD: patch-aa,v 1.4 2001/12/28 14:58:02 tron Exp $ +$NetBSD: patch-aa,v 1.5 2009/12/10 20:37:36 abs Exp $ ---- cmdtool/cmdtool.c.orig Tue Jun 29 07:12:08 1993 -+++ cmdtool/cmdtool.c Fri Dec 28 15:55:42 2001 -@@ -123,7 +123,6 @@ +--- cmdtool/cmdtool.c.orig 1993-06-29 05:12:08.000000000 +0000 ++++ cmdtool/cmdtool.c +@@ -123,7 +123,6 @@ main(argc,argv) int cmdline_count = 0; char cmdline2[50]; Server_image cmd_pixmap, cmd_mask_pixmap; @@ -10,7 +10,7 @@ $NetBSD: patch-aa,v 1.4 2001/12/28 14:58:02 tron Exp $ #ifdef GPROF if (argc > 1 && strcmp(argv[argc-1], "-gprof") == 0) { -@@ -141,6 +140,8 @@ +@@ -141,6 +140,8 @@ main(argc,argv) #endif /* This is required to initialize correctly */ @@ -19,11 +19,11 @@ $NetBSD: patch-aa,v 1.4 2001/12/28 14:58:02 tron Exp $ xv_init(XV_INIT_ARGC_PTR_ARGV, &argc, argv, XV_USE_LOCALE, TRUE, 0); -@@ -286,6 +287,7 @@ - strcat( cmdline2, argv[0] ); +@@ -287,6 +288,7 @@ main(argc,argv) argv[0] = cmdline2; } -+ ++ /* If FRAME_LABEL wasn't set by cmdline argument, set it */ if ((tmp_label1 = (char *)xv_get(base_frame, FRAME_LABEL)) == NULL) { + (void)strncpy(frame_label, |