FreeBSD Bugzilla – Attachment 141039 Details for
Bug 187757
converters/ytnef: Fix build on -current
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 3.43 KB, created by
tkato432
on 2014-03-19 18:40:06 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
tkato432
Created:
2014-03-19 18:40:06 UTC
Size:
3.43 KB
patch
obsolete
>diff -urN /usr/ports/converters/ytnef/Makefile converters/ytnef/Makefile >--- /usr/ports/converters/ytnef/Makefile 2014-03-01 06:21:17.000000000 +0900 >+++ converters/ytnef/Makefile 2014-03-20 00:00:00.000000000 +0900 >@@ -10,24 +10,27 @@ > MAINTAINER= ports@FreeBSD.org > COMMENT= Unpack data in MS Outlook TNEF format > >-OPTIONS_DEFINE= DOCS >+LICENSE= GPLv2 > > LIB_DEPENDS= libytnef.so:${PORTSDIR}/devel/libytnef > RUN_DEPENDS= p5-MIME-Tools>=0:${PORTSDIR}/mail/p5-MIME-Tools > >-USES= perl5 >+USES= perl5 shebangfix >+SHEBANG_FILES= src/ytnef/*.pl > USE_PERL5= run > GNU_CONFIGURE= yes > >-CFLAGS+= -I${LOCALBASE}/include >+CPPFLAGS+= -I${LOCALBASE}/include > LDFLAGS+= -L${LOCALBASE}/lib > >-PLIST_FILES= bin/ytnef bin/ytnefprocess.pl bin/ytnefprint > PORTDOCS= AUTHORS NEWS README >+PLIST_FILES= bin/ytnef bin/ytnefprint bin/ytnefprocess.pl >+ >+OPTIONS_DEFINE= DOCS > > post-patch: >- @${REINPLACE_CMD} -e 's|^#!/usr/bin/perl|#!${PERL}|' \ >- ${WRKSRC}/src/ytnef/ytnefprocess.pl >+ @${REINPLACE_CMD} -e \ >+ 's|/usr/local/share|${PREFIX}/share|' ${WRKSRC}/src/ytnef/*.pl > > post-install: > @${MKDIR} ${STAGEDIR}${DOCSDIR} >diff -urN /usr/ports/converters/ytnef/files/patch-src__ytnef__main.c converters/ytnef/files/patch-src__ytnef__main.c >--- /usr/ports/converters/ytnef/files/patch-src__ytnef__main.c 1970-01-01 09:00:00.000000000 +0900 >+++ converters/ytnef/files/patch-src__ytnef__main.c 2014-03-20 00:00:00.000000000 +0900 >@@ -0,0 +1,25 @@ >+--- src/ytnef/main.c.orig >++++ src/ytnef/main.c >+@@ -68,7 +68,7 @@ >+ case 'v': verbose++; >+ break; >+ case 'h': PrintHelp(); >+- return; >++ return 0; >+ case 'f': savefiles = 1; >+ filepath = argv[i+1]; >+ i++; >+@@ -103,11 +103,12 @@ >+ TNEF.Debug = verbose; >+ if (TNEFParseFile(argv[i], &TNEF) == -1) { >+ printf("ERROR processing file\n"); >+- continue; >++ return 1; >+ } >+ ProcessTNEF(TNEF); >+ TNEFFree(&TNEF); >+ } >++ return 0; >+ } >+ >+ void ProcessTNEF(TNEFStruct TNEF) { >diff -urN /usr/ports/converters/ytnef/pkg-descr converters/ytnef/pkg-descr >--- /usr/ports/converters/ytnef/pkg-descr 2014-01-23 03:00:23.000000000 +0900 >+++ converters/ytnef/pkg-descr 2014-03-20 00:00:00.000000000 +0900 >@@ -1,15 +1,15 @@ >-This program decodes those annoying application/ms-tnef MIME attachments that >-Microsoft mail servers helpfully use to encapsulate your already MIME encoded >-attachments. >+This program decodes those annoying application/ms-tnef MIME >+attachments that Microsoft mail servers helpfully use to encapsulate >+your already MIME encoded attachments. > >-Due to the proliferation of Microsoft Outlook and Exchange mail servers, >-more and more mail is encapsulated into this format. >+Due to the proliferation of Microsoft Outlook and Exchange mail >+servers, more and more mail is encapsulated into this format. > >-The YTNEF program allows one to unpack the attachments which were encapsulated >-into the YTNEF attachment. Thus alleviating the need to use Microsoft Outlook >-to view them. >+The YTNEF program allows one to unpack the attachments which were >+encapsulated into the YTNEF attachment. Thus alleviating the need to >+use Microsoft Outlook to view them. > > Now supports winmail.dat Outlook files > > Author: Randall Hand <randall.hand@gmail.com> >-WWW: http://ytnef.sourceforge.net/ >+WWW: http://ytnef.sourceforge.net/
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 187757
: 141039 |
141040