summaryrefslogtreecommitdiff
path: root/graphics/xv/patches
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2002-08-09 18:06:35 +0000
committerdrochner <drochner@pkgsrc.org>2002-08-09 18:06:35 +0000
commitee8f65ee2687bd9ff924f9c08f15b5085b814a5d (patch)
treea1b74bfffc1c1c7c3a79c32e42822a834c04c4f0 /graphics/xv/patches
parent577caefd40583199470fbcced4992006c9e7c72f (diff)
downloadpkgsrc-ee8f65ee2687bd9ff924f9c08f15b5085b814a5d.tar.gz
don't use filename as format string, should fix PR pkg/17750 by
Christian Biere
Diffstat (limited to 'graphics/xv/patches')
-rw-r--r--graphics/xv/patches/patch-aw15
1 files changed, 12 insertions, 3 deletions
diff --git a/graphics/xv/patches/patch-aw b/graphics/xv/patches/patch-aw
index 05d42b84110..bba52f7a553 100644
--- a/graphics/xv/patches/patch-aw
+++ b/graphics/xv/patches/patch-aw
@@ -1,7 +1,7 @@
-$NetBSD: patch-aw,v 1.1 2002/07/29 13:02:24 tron Exp $
+$NetBSD: patch-aw,v 1.2 2002/08/09 18:06:36 drochner Exp $
---- xv.c.orig Mon Jul 29 14:50:12 2002
-+++ xv.c Mon Jul 29 14:51:19 2002
+--- xv.c.orig Fri Aug 9 19:14:10 2002
++++ xv.c Fri Aug 9 19:51:18 2002
@@ -1872,11 +1872,13 @@
if (filenum == LOADPIC) {
fullname = GetDirFullName();
@@ -34,3 +34,12 @@ $NetBSD: patch-aw,v 1.1 2002/07/29 13:02:24 tron Exp $
/* if fullname doesn't start with a '/' (ie, it's a relative path),
(and it's not LOADPIC and it's not the special case '<stdin>')
+@@ -2233,7 +2239,7 @@
+ SetISTR(ISTR_INFO,formatStr);
+
+ SetInfoMode(INF_PART);
+- SetISTR(ISTR_FILENAME,
++ SetISTR(ISTR_FILENAME, "%s",
+ (filenum==DFLTPIC || filenum==GRABBED || frompipe)
+ ? "<none>" : basefname);
+