rpms/cone/devel cone-gcc43.patch,NONE,1.1 cone.spec,1.24,1.25
Christopher Aillon (caillon)
fedora-extras-commits at redhat.com
Sat Mar 29 04:19:44 UTC 2008
- Previous message (by thread): rpms/kdenetwork/devel kdenetwork-4.0.3-libidn.patch, 1.1, 1.2 kdenetwork.spec, 1.134, 1.135
- Next message (by thread): rpms/asterisk/devel asterisk-1.6.0-beta7-chanusbradiofix.patch, NONE, 1.1 .cvsignore, 1.10, 1.11 asterisk-1.6.0-beta6-chanmobile.patch, 1.2, 1.3 asterisk.spec, 1.20, 1.21 menuselect.makeopts, 1.3, 1.4 sources, 1.10, 1.11 asterisk-strip.sh, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: caillon
Update of /cvs/extras/rpms/cone/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv11695
Modified Files:
cone.spec
Added Files:
cone-gcc43.patch
Log Message:
* Sat Mar 29 2008 Christopher Aillon <caillon at redhat.com> - 0.74-3
- Add compilation patch for GCC 4.3; add proper C++ #includes
cone-gcc43.patch:
--- NEW FILE cone-gcc43.patch ---
diff -up cone-0.74/cone/nntpcommand.C.gcc43 cone-0.74/cone/nntpcommand.C
--- cone-0.74/cone/nntpcommand.C.gcc43 2008-03-28 23:58:51.000000000 -0400
+++ cone-0.74/cone/nntpcommand.C 2008-03-28 23:59:10.000000000 -0400
@@ -9,9 +9,10 @@
#include "nntpcommand.H"
#include "libmail/addmessage.H"
#include "gettext.H"
-#include <errno.h>
-#include <stdio.h>
+#include <cerrno>
+#include <cstdio>
#include <cstdlib>
+#include <cstring>
#include <sys/types.h>
#if HAVE_UNISTD_H
diff -up cone-0.74/cone/tags.C.gcc43 cone-0.74/cone/tags.C
--- cone-0.74/cone/tags.C.gcc43 2008-03-28 23:59:32.000000000 -0400
+++ cone-0.74/cone/tags.C 2008-03-28 23:59:44.000000000 -0400
@@ -9,6 +9,7 @@
#include "tags.H"
#include "gettext.H"
#include <sstream>
+#include <cstring>
using namespace std;
diff -up cone-0.74/cone/spellcheckerAspell.C.gcc43 cone-0.74/cone/spellcheckerAspell.C
--- cone-0.74/cone/spellcheckerAspell.C.gcc43 2008-03-29 00:00:31.000000000 -0400
+++ cone-0.74/cone/spellcheckerAspell.C 2008-03-29 00:00:49.000000000 -0400
@@ -9,7 +9,8 @@
#include "spellcheckerAspell.H"
#include "libmail/mail.H"
-#include <errno.h>
+#include <cerrno>
+#include <cstring>
#if HAVE_ASPELL_CONFIG_HH
#include "aspell/suggest.hh"
diff -up cone-0.74/cone/gettext.C.gcc43 cone-0.74/cone/gettext.C
--- cone-0.74/cone/gettext.C.gcc43 2008-03-28 23:57:20.000000000 -0400
+++ cone-0.74/cone/gettext.C 2008-03-28 23:57:49.000000000 -0400
@@ -6,14 +6,15 @@
*/
#include "gettext.H"
-#include <ctype.h>
-#include <stdlib.h>
+#include <cctype>
+#include <cstdlib>
#include <unistd.h>
#include <sstream>
#include <algorithm>
#include "unicode/unicode.h"
#include "libmail/mail.H"
-#include <errno.h>
+#include <cerrno>
+#include <cstring>
#if HAVE_LANGINFO_H
#include <langinfo.h>
diff -up cone-0.74/cone/spellcheckerPspell.C.gcc43 cone-0.74/cone/spellcheckerPspell.C
--- cone-0.74/cone/spellcheckerPspell.C.gcc43 2008-03-29 00:00:00.000000000 -0400
+++ cone-0.74/cone/spellcheckerPspell.C 2008-03-29 00:00:15.000000000 -0400
@@ -9,7 +9,8 @@
#include "spellcheckerPspell.H"
#include "libmail/mail.H"
-#include <errno.h>
+#include <cerrno>
+#include <cstring>
using namespace std;
diff -up cone-0.74/libmail/attachments.C.gcc43 cone-0.74/libmail/attachments.C
--- cone-0.74/libmail/attachments.C.gcc43 2008-03-28 23:46:09.000000000 -0400
+++ cone-0.74/libmail/attachments.C 2008-03-29 00:02:57.000000000 -0400
@@ -11,10 +11,11 @@
#include "rfc2045/rfc2045charset.h"
#include <sys/time.h>
#include "attachments.H"
-#include <stdio.h>
-#include <stdlib.h>
+#include <cstring>
+#include <cstdlib>
+#include <cstdio>
#include <unistd.h>
-#include <errno.h>
+#include <cerrno>
#include <sstream>
#include <iomanip>
diff -up cone-0.74/libmail/fd.C.gcc43 cone-0.74/libmail/fd.C
--- cone-0.74/libmail/fd.C.gcc43 2008-03-28 23:47:28.000000000 -0400
+++ cone-0.74/libmail/fd.C 2008-03-28 23:47:57.000000000 -0400
@@ -21,6 +21,7 @@
#include <iostream>
#include <sstream>
+#include <cstdlib>
using namespace std;
diff -up cone-0.74/libmail/mimetypes.C.gcc43 cone-0.74/libmail/mimetypes.C
--- cone-0.74/libmail/mimetypes.C.gcc43 2008-03-28 23:50:35.000000000 -0400
+++ cone-0.74/libmail/mimetypes.C 2008-03-28 23:51:28.000000000 -0400
@@ -8,7 +8,8 @@
#include "mimetypes.H"
#include "namespace.H"
#include <fstream>
-#include <ctype.h>
+#include <cctype>
+#include <cstring>
using namespace std;
diff -up cone-0.74/libmail/addmessageimport.C.gcc43 cone-0.74/libmail/addmessageimport.C
--- cone-0.74/libmail/addmessageimport.C.gcc43 2008-03-28 23:43:31.000000000 -0400
+++ cone-0.74/libmail/addmessageimport.C 2008-03-29 00:03:19.000000000 -0400
@@ -7,7 +7,8 @@
#include "libmail_config.h"
#include "addmessage.H"
#include "attachments.H"
-#include <errno.h>
+#include <cerrno>
+#include <cstring>
using namespace std;
diff -up cone-0.74/libmail/addressbookadd.C.gcc43 cone-0.74/libmail/addressbookadd.C
--- cone-0.74/libmail/addressbookadd.C.gcc43 2008-03-28 23:45:33.000000000 -0400
+++ cone-0.74/libmail/addressbookadd.C 2008-03-29 00:04:00.000000000 -0400
@@ -13,9 +13,10 @@
#include "rfcaddr.H"
#include "misc.H"
#include "unicode/unicode.h"
-#include <ctype.h>
+#include <cctype>
#include <vector>
-#include <errno.h>
+#include <cerrno>
+#include <cstring>
using namespace std;
diff -up cone-0.74/libmail/rfc2047decode.C.gcc43 cone-0.74/libmail/rfc2047decode.C
--- cone-0.74/libmail/rfc2047decode.C.gcc43 2008-03-28 23:52:50.000000000 -0400
+++ cone-0.74/libmail/rfc2047decode.C 2008-03-28 23:53:00.000000000 -0400
@@ -9,6 +9,7 @@
#include "rfc2047decode.H"
#include "rfc822/rfc2047.h"
#include "mail.H"
+#include <cstring>
using namespace std;
diff -up cone-0.74/libmail/addmessageremoveattachments.C.gcc43 cone-0.74/libmail/addmessageremoveattachments.C
--- cone-0.74/libmail/addmessageremoveattachments.C.gcc43 2008-03-28 23:44:28.000000000 -0400
+++ cone-0.74/libmail/addmessageremoveattachments.C 2008-03-29 00:04:43.000000000 -0400
@@ -8,7 +8,8 @@
#include "addmessage.H"
#include "attachments.H"
#include "headers.H"
-#include <errno.h>
+#include <cerrno>
+#include <cstring>
#include <vector>
using namespace std;
diff -up cone-0.74/libmail/sortfolders.C.gcc43 cone-0.74/libmail/sortfolders.C
--- cone-0.74/libmail/sortfolders.C.gcc43 2008-03-28 23:55:00.000000000 -0400
+++ cone-0.74/libmail/sortfolders.C 2008-03-28 23:55:11.000000000 -0400
@@ -6,6 +6,7 @@
*/
#include "libmail_config.h"
#include "mail.H"
+#include <cstring>
mail::folder::sort::sort(bool foldersFirstArg) // TRUE: sort folders first
: foldersFirst(foldersFirstArg)
diff -up cone-0.74/libmail/addressbook.C.gcc43 cone-0.74/libmail/addressbook.C
--- cone-0.74/libmail/addressbook.C.gcc43 2008-03-28 23:45:00.000000000 -0400
+++ cone-0.74/libmail/addressbook.C 2008-03-29 00:05:01.000000000 -0400
@@ -13,7 +13,8 @@
#include "addressbooksearch.H"
#include "rfc2047decode.H"
#include "misc.H"
-#include <errno.h>
+#include <cerrno>
+#include <cstring>
using namespace std;
diff -up cone-0.74/libmail/fdtls.C.gcc43 cone-0.74/libmail/fdtls.C
--- cone-0.74/libmail/fdtls.C.gcc43 2008-03-28 23:48:21.000000000 -0400
+++ cone-0.74/libmail/fdtls.C 2008-03-28 23:48:32.000000000 -0400
@@ -6,6 +6,7 @@
*/
#include "libmail_config.h"
#include "fdtls.H"
+#include <cstdlib>
#if HAVE_LIBCOURIERTLS
diff -up cone-0.74/libmail/addmessage.C.gcc43 cone-0.74/libmail/addmessage.C
--- cone-0.74/libmail/addmessage.C.gcc43 2004-06-22 20:55:25.000000000 -0400
+++ cone-0.74/libmail/addmessage.C 2008-03-29 00:05:15.000000000 -0400
@@ -7,7 +7,8 @@
#include "libmail_config.h"
#include "addmessage.H"
#include "attachments.H"
-#include <errno.h>
+#include <cerrno>
+#include <cstring>
// Default method implementation.
Index: cone.spec
===================================================================
RCS file: /cvs/extras/rpms/cone/devel/cone.spec,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -r1.24 -r1.25
--- cone.spec 20 Feb 2008 02:46:09 -0000 1.24
+++ cone.spec 29 Mar 2008 04:19:05 -0000 1.25
@@ -3,7 +3,7 @@
Summary: CONE mail reader
Name: cone
Version: 0.74
-Release: 2%{?dist}
+Release: 3%{?dist}
URL: http://www.courier-mta.org/cone/
Source0: http://dl.sf.net/courier/%{name}-%{version}.tar.bz2
@@ -23,6 +23,8 @@
Requires(post): %{__perl}
+Patch1: cone-gcc43.patch
+
%description
CONE is a simple, text-based E-mail reader and writer.
@@ -45,6 +47,7 @@
%prep
%setup -q
+%patch1 -p1 -b .gcc43
%build
CPPFLAGS="$CPPFLAGS -I%{curses_include_dir}"
@@ -104,6 +107,9 @@
%doc cone/html
%changelog
+* Sat Mar 29 2008 Christopher Aillon <caillon at redhat.com> - 0.74-3
+- Add compilation patch for GCC 4.3; add proper C++ #includes
+
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng at fedoraproject.org> - 0.74-2
- Autorebuild for GCC 4.3
- Previous message (by thread): rpms/kdenetwork/devel kdenetwork-4.0.3-libidn.patch, 1.1, 1.2 kdenetwork.spec, 1.134, 1.135
- Next message (by thread): rpms/asterisk/devel asterisk-1.6.0-beta7-chanusbradiofix.patch, NONE, 1.1 .cvsignore, 1.10, 1.11 asterisk-1.6.0-beta6-chanmobile.patch, 1.2, 1.3 asterisk.spec, 1.20, 1.21 menuselect.makeopts, 1.3, 1.4 sources, 1.10, 1.11 asterisk-strip.sh, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list