View | Details | Raw Unified | Return to bug 230879
Collapse All | Expand All

(-)Makefile (+1 lines)
Lines 3-8 Link Here
3
3
4
PORTNAME=	mbox2mdir
4
PORTNAME=	mbox2mdir
5
PORTVERSION=	1.4
5
PORTVERSION=	1.4
6
PORTREVISION=	1
6
CATEGORIES=	mail
7
CATEGORIES=	mail
7
MASTER_SITES=	http://sageshome.net/downloads/oss/
8
MASTER_SITES=	http://sageshome.net/downloads/oss/
8
9
(-)files/patch-mbox2mdir.cpp (+17 lines)
Line 0 Link Here
1
/mbox2mdir.cpp:181:52: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal]
2
    printf("Mailbox to Maildir Converter, Version "VERSION" built: "__DATE__" Copyright(C) Sergey A. Galin.\n"
3
                                                   ^
4
5
Also get rid of the embedded build date which will break reproducable builds.
6
7
--- mbox2mdir.cpp.orig	2018-08-25 02:02:51 UTC
8
+++ mbox2mdir.cpp
9
@@ -178,7 +178,7 @@ int main(int argc, char *argv[]){
10
   //const char *ifile="Mailbox", *odir="/home/sergey/Maildir/cur";
11
   const char *ifile, *odir;
12
   if(argc<3){
13
-    printf("Mailbox to Maildir Converter, Version "VERSION" built: "__DATE__" Copyright(C) Sergey A. Galin.\n"
14
+    printf("Mailbox to Maildir Converter, Version " VERSION " Copyright(C) Sergey A. Galin.\n"
15
 	   "This program is distibuted under GNU General Public License v.2 or later.\n"
16
 	   "Homepage: http://sageshome.net/oss/\n"
17
 	   "\n"

Return to bug 230879