aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/file
diff options
context:
space:
mode:
authorwxs <wxs@FreeBSD.org>2010-01-15 05:55:28 +0800
committerwxs <wxs@FreeBSD.org>2010-01-15 05:55:28 +0800
commita1f753aa5cea6f00880a800a974adfecd113b4f7 (patch)
tree96b3a643d84220f70d4ba346d91893e2dab18f9c /sysutils/file
parentceb505bad1579d1a3d90a81edc65bfcfcb4dc336 (diff)
downloadfreebsd-ports-gnome-a1f753aa5cea6f00880a800a974adfecd113b4f7.tar.gz
freebsd-ports-gnome-a1f753aa5cea6f00880a800a974adfecd113b4f7.tar.zst
freebsd-ports-gnome-a1f753aa5cea6f00880a800a974adfecd113b4f7.zip
- Add CrystalReports support
PR: ports/142331 Submitted by: Jason Helfman <jhelfman@e-e.com> Approved by: Jason Harris <jharris@widomaker.com> (maintainer)
Diffstat (limited to 'sysutils/file')
-rw-r--r--sysutils/file/Makefile1
-rw-r--r--sysutils/file/files/patch-src__readcdf.c11
2 files changed, 12 insertions, 0 deletions
diff --git a/sysutils/file/Makefile b/sysutils/file/Makefile
index b169274bfa2f..cc427782f12f 100644
--- a/sysutils/file/Makefile
+++ b/sysutils/file/Makefile
@@ -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/ \
diff --git a/sysutils/file/files/patch-src__readcdf.c b/sysutils/file/files/patch-src__readcdf.c
new file mode 100644
index 000000000000..1e71ca1bb0c2
--- /dev/null
+++ b/sysutils/file/files/patch-src__readcdf.c
@@ -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;