Browse code

Commit made by the Bioconductor Git-SVN bridge. Consists of 2 commit(s).

Commit information:

Commit id: 40e7aa54c0a3970d7183b38b439456e717691670
Commit message:
Fixed issue with Rgraphviz on Ubuntu 12.04 uncovered by the agressive compiler settings used on this platform
Committed by Kasper Daniel Hansen <kasperdanielhansen at gmail.com>
Commit date: 2014-04-29T11:07:51-04:00

Commit id: 64183ff598f2f9c5c4561892d167007c638fe4ce
Commit message:
Merge branch 'master' of github.com:kasperdanielhansen/Rgraphviz
Committed by Kasper Daniel Hansen <kasperdanielhansen at gmail.com>
Commit date: 2014-04-29T11:07:59-04:00

From: Bioconductor Git-SVN Bridge <bioc-sync@bioconductor.org>

git-svn-id: file:///home/git/hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/Rgraphviz@89633 bc3139a8-67e5-0310-9ffc-ced21a209358

Kasper D. Hansen authored on 29/04/2014 15:08:12
Showing3 changed files

... ...
@@ -2,7 +2,7 @@ Package: Rgraphviz
2 2
 Title: Provides plotting capabilities for R graph objects
3 3
 Description: Interfaces R with the AT and T graphviz library for
4 4
         plotting R graph objects from the graph package.
5
-Version: 2.9.0
5
+Version: 2.9.1
6 6
 Authors@R: c(person(c("Kasper", "Daniel"), "Hansen", role = c("cre", "aut"),
7 7
                     email = "kasperdanielhansen@gmail.com"),
8 8
              person("Jeff", "Gentry", role = "aut"),
... ...
@@ -2,6 +2,17 @@
2 2
 \title{Rgraphviz News}
3 3
 \encoding{UTF-8}
4 4
 
5
+\section{Version 2.9.x}{
6
+  \itemize{
7
+    \item Fixed a bug in the C code of Graphviz which manifests itself
8
+    when the following options are given to GCC
9
+    "-Wformat -Wformat-security -Werror=format-security -D_FORTIFY_SOURCE=2",
10
+    this is the case for Ubuntu 12.04.
11
+    Reported by Vladimir Zhurov <vzhurov2@uwo.ca>, Venkat Seshan
12
+    <veseshan@gmail.com> and Chong Tang <tangc3@unr.edu>.
13
+  }
14
+}
15
+
5 16
 \section{Version 2.7.x}{
6 17
   \itemize{
7 18
     \item Fixed include statements in Graphviz code.
... ...
@@ -1520,7 +1520,7 @@ emitGraph (FILE* fp, maze* mp, int n_edges, route* route_list, epair_t es[])
1520 1520
     absbb.LL.x = absbb.LL.y = MAXDOUBLE;
1521 1521
     absbb.UR.x = absbb.UR.y = -MAXDOUBLE;
1522 1522
 
1523
-    fprintf (fp, prolog2);
1523
+    fprintf (fp, "%s", prolog2);
1524 1524
     fprintf (fp, "%d %d translate\n", TRANS, TRANS);
1525 1525
 
1526 1526
     fputs ("0 0 1 setrgbcolor\n", fp);