summaryrefslogtreecommitdiff
path: root/www/w3m/patches
diff options
context:
space:
mode:
authoradrianp <adrianp>2006-12-28 22:08:35 +0000
committeradrianp <adrianp>2006-12-28 22:08:35 +0000
commit95c5896a4f326586872cfce5a9f0e411393ee69f (patch)
treec6fd59dfe49a633db29561bcd37c8cb031b1a658 /www/w3m/patches
parent249ca99d52df5e3a6eb072c79424d4c34c485594 (diff)
downloadpkgsrc-95c5896a4f326586872cfce5a9f0e411393ee69f.tar.gz
Add a patch for a recent format string bug from the w3m CVS
Bump PKGREVISION
Diffstat (limited to 'www/w3m/patches')
-rw-r--r--www/w3m/patches/patch-ac13
1 files changed, 13 insertions, 0 deletions
diff --git a/www/w3m/patches/patch-ac b/www/w3m/patches/patch-ac
new file mode 100644
index 00000000000..fb65aa5ef27
--- /dev/null
+++ b/www/w3m/patches/patch-ac
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.12 2006/12/28 22:08:35 adrianp Exp $
+
+--- file.c.orig 2004-04-16 19:47:19.000000000 +0100
++++ file.c
+@@ -7799,7 +7799,7 @@ inputAnswer(char *prompt)
+ ans = inputChar(prompt);
+ }
+ else {
+- printf(prompt);
++ printf("%s", prompt);
+ fflush(stdout);
+ ans = Strfgets(stdin)->ptr;
+ }