summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMunechika SUMIKAWA <sumikawa@FreeBSD.org>2000-11-12 17:38:08 +0000
committerMunechika SUMIKAWA <sumikawa@FreeBSD.org>2000-11-12 17:38:08 +0000
commit851dccbf6c749eef92e8cd6ab9fd0e9e25d2f7c1 (patch)
tree159916e9b86987e41a6bb74d0b946a3d5f3c537c
parentUpdate to version 3.0.2. (diff)
- Made friendly wirh libwmf-0.1.20
- Change Maintainer's mail address PR: ports/22782 Submitted by: mzaki@e-mail.ne.jp Approved by: maintainer
Notes
Notes: svn path=/head/; revision=35047
-rw-r--r--textproc/mswordview/Makefile3
-rw-r--r--textproc/mswordview/files/patch-aa17
-rw-r--r--textproc/mswordview/pkg-descr2
3 files changed, 14 insertions, 8 deletions
diff --git a/textproc/mswordview/Makefile b/textproc/mswordview/Makefile
index 54577f7a0270..20fd438b6592 100644
--- a/textproc/mswordview/Makefile
+++ b/textproc/mswordview/Makefile
@@ -7,11 +7,12 @@
PORTNAME= mswordview
PORTVERSION= 0.5.14.6
+PORTREVISION= 1
CATEGORIES= textproc
MASTER_SITES= http://www.csn.ul.ie/~caolan/publink/mswordview/
DISTNAME= ${PORTNAME}-0.5.14-bw6
-MAINTAINER= sumikawa@kame.net
+MAINTAINER= sumikawa@FreeBSD.org
LIB_DEPENDS= wmf.1:${PORTSDIR}/graphics/libwmf
diff --git a/textproc/mswordview/files/patch-aa b/textproc/mswordview/files/patch-aa
index 25e511c54e56..f1db5543d575 100644
--- a/textproc/mswordview/files/patch-aa
+++ b/textproc/mswordview/files/patch-aa
@@ -1,5 +1,5 @@
---- support.c Mon May 17 15:27:00 1999
-+++ support.c.new Sun Jul 2 22:24:08 2000
+--- support.c.orig Tue May 18 07:27:00 1999
++++ support.c Sun Nov 12 16:26:39 2000
@@ -36,6 +36,7 @@
#include "utf.h"
#ifdef HAVE_WMF
@@ -26,7 +26,7 @@
wmfinit(cstruct);
wmffunctions = &gd_wmffunctions;
-@@ -1252,7 +1253,7 @@
+@@ -1252,18 +1253,18 @@
return;
}
@@ -34,10 +34,15 @@
+ error(erroroutput,"3 converting wmf to png, via libwmf\n");
cstruct->preparse = 1;
- PlayMetaFile((void *)cstruct,file);
-@@ -1263,7 +1264,7 @@
+- PlayMetaFile((void *)cstruct,file);
++ PlayMetaFile((void *)cstruct,file,!0,NULL);
+
+ gdstruct.im_out = gdImageCreate(cstruct->realwidth, cstruct->realheight);
+ gdImageColorResolve(gdstruct.im_out, 0xff, 0xff, 0xff);
+
cstruct->preparse = 0;
- PlayMetaFile((void *)cstruct,file);
+- PlayMetaFile((void *)cstruct,file);
++ PlayMetaFile((void *)cstruct,file,!0,NULL);
- strcat(filename,".gif");
+ strcat(filename,".png");
diff --git a/textproc/mswordview/pkg-descr b/textproc/mswordview/pkg-descr
index 1a25d23d3cdb..50753c58e5bd 100644
--- a/textproc/mswordview/pkg-descr
+++ b/textproc/mswordview/pkg-descr
@@ -5,4 +5,4 @@ It is also capable of converting Japanese MS Word document
WWW: http://www.csn.ul.ie/~caolan/docs/MSWordView.html
-port made by: sumikawa@kame.net
+port made by: sumikawa@FreeBSD.org