aboutsummaryrefslogtreecommitdiff
path: root/math/topaz
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@FreeBSD.org>2003-07-29 19:32:12 +0000
committerChristian Weisgerber <naddy@FreeBSD.org>2003-07-29 19:32:12 +0000
commit20bbe6a2b9e9643f52406751db7e22c92d963aab (patch)
tree7cd17b453892d99bdb33815da05cfa71b56ce6c9 /math/topaz
parent84361df012beb0464e78d0346ba2efafa3a77a15 (diff)
downloadports-20bbe6a2b9e9643f52406751db7e22c92d963aab.tar.gz
ports-20bbe6a2b9e9643f52406751db7e22c92d963aab.zip
Fix gcc 3.3 compile failure.
Submitted by: Simon Barner <barner@in.tum.de>
Notes
Notes: svn path=/head/; revision=85875
Diffstat (limited to 'math/topaz')
-rw-r--r--math/topaz/files/patch-topaz::tpv2ps.cc65
1 files changed, 60 insertions, 5 deletions
diff --git a/math/topaz/files/patch-topaz::tpv2ps.cc b/math/topaz/files/patch-topaz::tpv2ps.cc
index dab9c65b2fc7..5177744ef353 100644
--- a/math/topaz/files/patch-topaz::tpv2ps.cc
+++ b/math/topaz/files/patch-topaz::tpv2ps.cc
@@ -1,11 +1,66 @@
---- topaz/tpv2ps.cc.orig Wed Dec 4 23:02:28 2002
-+++ topaz/tpv2ps.cc Fri Dec 27 04:51:06 2002
-@@ -31,7 +31,7 @@
+--- topaz/tpv2ps.cc.orig Fri Jun 27 14:35:40 2003
++++ topaz/tpv2ps.cc Thu Jul 24 02:50:11 2003
+@@ -31,8 +31,6 @@
#include <math.h>
#include <string>
#include <time.h>
-#include <getopt.h>
-+//#include <getopt.h>
- //char *optarg;
+-//char *optarg;
extern int errno;
+ #include "vectdefs.h"
+@@ -63,31 +61,31 @@
+
+ #define buffersize 1024
+
+-char* entry[] = {
+- {"Times-Roman-Q"},
+- {"Times-Bold-Q"},
+- {"Times-Italic-Q"},
+- {"Times-BoldItalic-Q"},
+- {"Helvetica-Q"},
+- {"Helvetica-Bold-Q"},
+- {"Helvetica-Oblique-Q"},
+- {"Helvetica-BoldOblique-Q"},
+- {"Courier-Q"},
+- {"Courier-Bold-Q"},
+- {"Courier-Oblique-Q"},
+- {"Courier-BoldOblique-Q"},
+- {"Symbol"}
++static const char *entry[] = {
++ "Times-Roman-Q",
++ "Times-Bold-Q",
++ "Times-Italic-Q",
++ "Times-BoldItalic-Q",
++ "Helvetica-Q",
++ "Helvetica-Bold-Q",
++ "Helvetica-Oblique-Q",
++ "Helvetica-BoldOblique-Q",
++ "Courier-Q",
++ "Courier-Bold-Q",
++ "Courier-Oblique-Q",
++ "Courier-BoldOblique-Q",
++ "Symbol"
+ };
+
+-char* kentry[] = {
+- {"Ryumin-Light-H"},
+- {"Ryumin-Light-H"},
+- {"Ryumin-Light-H"},
+- {"Ryumin-Light-H"},
+- {"GothicBBB-Medium-H"},
+- {"GothicBBB-Medium-H"},
+- {"GothicBBB-Medium-H"},
+- {"GothicBBB-Medium-H"},
++static const char *kentry[] = {
++ "Ryumin-Light-H",
++ "Ryumin-Light-H",
++ "Ryumin-Light-H",
++ "Ryumin-Light-H",
++ "GothicBBB-Medium-H",
++ "GothicBBB-Medium-H",
++ "GothicBBB-Medium-H",
++ "GothicBBB-Medium-H",
+ };
+
+ double papery;