diff options
author | David Spencer <baildon.research@googlemail.com> | 2016-05-31 21:13:40 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-06-01 23:54:53 +0700 |
commit | d0573bcd0860e2ccf9eb895a32c8385f05be83fb (patch) | |
tree | 2551032490e0032fd008267d9960877018487d99 /graphics/graphviz/format-string.patch | |
parent | 85ca1f46ca4f9354542a948cafdb007a2b10d77d (diff) | |
download | slackbuilds-d0573bcd0860e2ccf9eb895a32c8385f05be83fb.tar.gz |
graphics/graphviz: Fixed build with ghostscript-9.19.
Signed-off-by: David Spencer <baildon.research@googlemail.com>
Diffstat (limited to 'graphics/graphviz/format-string.patch')
-rw-r--r-- | graphics/graphviz/format-string.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/graphics/graphviz/format-string.patch b/graphics/graphviz/format-string.patch new file mode 100644 index 0000000000..1cc586739c --- /dev/null +++ b/graphics/graphviz/format-string.patch @@ -0,0 +1,21 @@ +diff -Naur old/lib/cgraph/scan.l new/lib/cgraph/scan.l +--- old/lib/cgraph/scan.l 2014-04-13 10:40:25.000000000 -1000 ++++ new/lib/cgraph/scan.l 2014-12-02 08:54:21.285050735 -1000 +@@ -149,7 +149,7 @@ + agxbput(&xb,buf); + agxbput(&xb,fname); + agxbput(&xb, " splits into two tokens\n"); +- agerr(AGWARN,agxbuse(&xb)); ++ agerr(AGWARN, "%s", agxbuse(&xb)); + + agxbfree(&xb); + return 1; +@@ -225,7 +225,7 @@ + agxbput (&xb, buf); + agxbput (&xb, yytext); + agxbput (&xb,"'\n"); +- agerr(AGERR,agxbuse(&xb)); ++ agerr(AGERR, "%s", agxbuse(&xb)); + agxbfree(&xb); + } + /* must be here to see flex's macro defns */ |