FreeBSD Port: mime-support-3.52.1

Didier LEGRAND dleg at free.fr
Thu Oct 4 16:26:56 UTC 2012


Hello Oliver,

I am using the Perl script run-mailcap from this port to launch 
applications in accordance to my .mailcap file.
I am running this script with mutt and from firefox downloaded files dialog.
I found that run-mailcap doesn't process files with special characters 
in their filename, so i investigated why and made some modifications to 
this script.
The problem is within the 'TempFile' subroutine which doesn't work with 
FreeBSD. I corrected this by using the Perl module 'File::Temp' and now 
it works well (see enclosed).

Perhaps my modifications could help somebody else.

I'm french, so please excuse my bad English.

Sincerely yours.

-- 
Didier LEGRAND
Email : dleg at free.fr

-------------- next part --------------
A non-text attachment was scrubbed...
Name: my_run-mailcap.zip
Type: application/octet-stream
Size: 5240 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20121004/d169f010/my_run-mailcap.obj


More information about the freebsd-ports mailing list