- Add CrystalReports support

PR:		ports/142331
Submitted by:	Jason Helfman <jhelfman@e-e.com>
Approved by:	Jason Harris <jharris@widomaker.com> (maintainer)
This commit is contained in:
Wesley Shields 2010-01-14 21:55:28 +00:00
parent 8956038f78
commit a6361327b4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=247885
2 changed files with 12 additions and 0 deletions

View file

@ -7,6 +7,7 @@
PORTNAME= file
PORTVERSION= 5.03
PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= ftp://ftp.astron.com/pub/file/ \
ftp://ftp.gw.com/mirrors/unix/file/ \

View file

@ -0,0 +1,11 @@
--- ./src/readcdf.c.orig 2010-01-14 16:30:22.699632246 -0500
+++ ./src/readcdf.c 2010-01-14 16:30:27.240264949 -0500
@@ -100,6 +100,8 @@
str = "vnd.ms-excel";
else if (strstr(s, "Powerpoint"))
str = "vnd.ms-powerpoint";
+ else if (strstr(s, "Crystal Reports"))
+ str = "x-rpt";
}
}
break;