pkgsrc/audio/abcmidi/patches/patch-ac
ryoon bb97d802fe Update to 20110101.
Changelog is too long to include.
See CHANGES file.
2011-02-17 13:54:12 +00:00

13 lines
453 B
Text

$NetBSD: patch-ac,v 1.2 2011/02/17 13:54:12 ryoon Exp $
--- yapstree.c.orig 2010-12-12 15:18:56.000000000 +0000
+++ yapstree.c
@@ -1485,7 +1485,7 @@ char *str; /* string following first wor
};
};
if (strcmp(p, "vskip") == 0) {
- count = sscanf(s, "%lf%s", &vspace, units);
+ count = sscanf(s, "%lf%79s", &vspace, units);
if (count > 0) {
if ((count >= 2) && (strncmp(units, "cm", 2) == 0)) {
vspace = vspace*28.3;