FreeBSD Bugzilla – Attachment 196514 Details for
Bug 230879
mail/mbox2mdir: Fix build with Clang 6
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
mbox2mdir.diff
mbox2mdir.diff (text/plain), 1.78 KB, created by
Tobias Kortkamp
on 2018-08-25 02:11:30 UTC
(
hide
)
Description:
mbox2mdir.diff
Filename:
MIME Type:
Creator:
Tobias Kortkamp
Created:
2018-08-25 02:11:30 UTC
Size:
1.78 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 477931) >+++ Makefile (working copy) >@@ -3,6 +3,7 @@ > > PORTNAME= mbox2mdir > PORTVERSION= 1.4 >+PORTREVISION= 1 > CATEGORIES= mail > MASTER_SITES= http://sageshome.net/downloads/oss/ > >Index: files/patch-mbox2mdir.cpp >=================================================================== >--- files/patch-mbox2mdir.cpp (nonexistent) >+++ files/patch-mbox2mdir.cpp (working copy) >@@ -0,0 +1,17 @@ >+/mbox2mdir.cpp:181:52: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal] >+ printf("Mailbox to Maildir Converter, Version "VERSION" built: "__DATE__" Copyright(C) Sergey A. Galin.\n" >+ ^ >+ >+Also get rid of the embedded build date which will break reproducable builds. >+ >+--- mbox2mdir.cpp.orig 2018-08-25 02:02:51 UTC >++++ mbox2mdir.cpp >+@@ -178,7 +178,7 @@ int main(int argc, char *argv[]){ >+ //const char *ifile="Mailbox", *odir="/home/sergey/Maildir/cur"; >+ const char *ifile, *odir; >+ if(argc<3){ >+- printf("Mailbox to Maildir Converter, Version "VERSION" built: "__DATE__" Copyright(C) Sergey A. Galin.\n" >++ printf("Mailbox to Maildir Converter, Version " VERSION " Copyright(C) Sergey A. Galin.\n" >+ "This program is distibuted under GNU General Public License v.2 or later.\n" >+ "Homepage: http://sageshome.net/oss/\n" >+ "\n" > >Property changes on: files/patch-mbox2mdir.cpp >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
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 230879
: 196514