summaryrefslogtreecommitdiff
path: root/graphics/graphopt/files/patch-src_classes_psExporter.cc
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/graphopt/files/patch-src_classes_psExporter.cc')
-rw-r--r--graphics/graphopt/files/patch-src_classes_psExporter.cc19
1 files changed, 0 insertions, 19 deletions
diff --git a/graphics/graphopt/files/patch-src_classes_psExporter.cc b/graphics/graphopt/files/patch-src_classes_psExporter.cc
deleted file mode 100644
index 56bdb6a2ee65..000000000000
--- a/graphics/graphopt/files/patch-src_classes_psExporter.cc
+++ /dev/null
@@ -1,19 +0,0 @@
---- src/classes/psExporter.cc.orig 2003-04-18 04:47:40 UTC
-+++ src/classes/psExporter.cc
-@@ -1,5 +1,6 @@
- #include "psExporter.h"
--
-+#include <cstdlib>
-+#include <cstring>
-
- psExporter::psExporter(char *what_file, nodes *what_nodes) {
- filename = strdup(what_file);
-@@ -26,7 +27,7 @@ void psExporter::do_export() {
-
- void psExporter::write_headers(FILE *outfile) {
- char *line = new char[200];
-- sprintf(line, "\%!PS-Adobe-1.0\n%%%%BoundingBox: 0 0 %d %d\n%%%%DocumentFonts: Helvetica\n%%%%Pages: 1\n",
-+ sprintf(line, "%%!PS-Adobe-1.0\n%%%%BoundingBox: 0 0 %d %d\n%%%%DocumentFonts: Helvetica\n%%%%Pages: 1\n",
- translatexcoord((double) biggest_x) + 2 * margin,
- translateycoord((double) biggest_y) + 2 * margin);
- fwrite(line, strlen(line), 1, outfile);