aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorsumikawa <sumikawa@FreeBSD.org>2000-11-13 01:38:08 +0800
committersumikawa <sumikawa@FreeBSD.org>2000-11-13 01:38:08 +0800
commit314ad886ca48ba339ecd94377c9ddeb00b04a0a0 (patch)
tree9c78b96e9d96f110f63eca888e2cdac1497cbb53 /textproc
parent5aadadde3d0be9e66546cf84f655e7d38f4ee6ff (diff)
downloadfreebsd-ports-gnome-314ad886ca48ba339ecd94377c9ddeb00b04a0a0.tar.gz
freebsd-ports-gnome-314ad886ca48ba339ecd94377c9ddeb00b04a0a0.tar.zst
freebsd-ports-gnome-314ad886ca48ba339ecd94377c9ddeb00b04a0a0.zip
- 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
Diffstat (limited to 'textproc')
-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