Fixing gcc 3.3 compile failures -- fix for math/topaz
Simon Barner
barner at in.tum.de
Wed Jul 23 06:14:40 PDT 2003
--- Makefile.orig Wed Jul 23 15:02:46 2003
+++ Makefile Wed Jul 23 15:03:08 2003
@@ -6,7 +6,7 @@
#
PORTNAME= topaz
-PORTVERSION= 3.38
+PORTVERSION= 3.39
CATEGORIES= math
MASTER_SITES= http://hp.vector.co.jp/authors/VA007663/topaz/bin/
DISTNAME= ${PORTNAME}-${PORTVERSION:S/./_/}-src
-------------- next part --------------
--- distinfo.orig Wed Jul 23 15:02:50 2003
+++ distinfo Wed Jul 23 15:02:55 2003
@@ -1 +1 @@
-MD5 (topaz-3_38-src.tar.gz) = b91080b08c836890232b715088d2c34f
+MD5 (topaz-3_39-src.tar.gz) = 5c6179aeb87a4809b9c78d8f1b5e3755
-------------- next part --------------
--- topaz/tpv2ps.cc.orig Fri Jun 27 14:35:40 2003
+++ topaz/tpv2ps.cc Wed Jul 23 15:12:54 2003
@@ -31,7 +31,7 @@
#include <math.h>
#include <string>
#include <time.h>
-#include <getopt.h>
+//#include <getopt.h>
//char *optarg;
extern int errno;
@@ -63,7 +63,7 @@
#define buffersize 1024
-char* entry[] = {
+const char entry[13][40] = {
{"Times-Roman-Q"},
{"Times-Bold-Q"},
{"Times-Italic-Q"},
@@ -79,7 +79,7 @@
{"Symbol"}
};
-char* kentry[] = {
+const char kentry[8][30] = {
{"Ryumin-Light-H"},
{"Ryumin-Light-H"},
{"Ryumin-Light-H"},
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: Digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20030723/87c66d1d/attachment.bin
More information about the freebsd-ports
mailing list