rpms/cone/F-11 cone-gcc44.patch,NONE,1.1 cone.spec,1.28,1.29

Miloš Jakubíček mjakubicek at fedoraproject.org
Sun Apr 19 00:23:56 UTC 2009


Author: mjakubicek

Update of /cvs/pkgs/rpms/cone/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv3950/F-11

Modified Files:
	cone.spec 
Added Files:
	cone-gcc44.patch 
Log Message:
- Fix FTBFS: added cone-gcc44.patch



cone-gcc44.patch:

--- NEW FILE cone-gcc44.patch ---
--- libmail/maildiradd.C.orig	2009-04-18 20:28:15.000000000 +0200
+++ libmail/maildiradd.C	2009-04-18 20:28:33.000000000 +0200
@@ -165,7 +165,7 @@
 	if (flags.size() > 0)
 	{
 		newname = newname + MDIRSEP "2," + flags;
-		memcpy(strrchr(newname.c_str(), '/')-3, "cur", 3);
+		memcpy((void *) strrchr(newname.c_str(), '/')-3, "cur", 3);
 		// We go into the cur directory, now
 	}
 
--- libmail/qp.C.orig	2009-04-18 21:50:00.000000000 +0200
+++ libmail/qp.C	2009-04-18 21:50:03.000000000 +0200
@@ -16,7 +16,7 @@
 {
 	static const char xdigits[]="0123456789ABCDEFabcdef";
 
-	char *p=strchr(xdigits, c);
+	char *p=strchr((char *) xdigits, c);
 
 	if (p == NULL)
 		return -1;


Index: cone.spec
===================================================================
RCS file: /cvs/pkgs/rpms/cone/F-11/cone.spec,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -r1.28 -r1.29
--- cone.spec	24 Feb 2009 08:53:51 -0000	1.28
+++ cone.spec	19 Apr 2009 00:23:26 -0000	1.29
@@ -3,13 +3,15 @@
 Summary:        CONE mail reader
 Name:           cone
 Version:        0.75
-Release:        3%{?dist}
+Release:        4%{?dist}
 
 URL:            http://www.courier-mta.org/cone/
 Source0:        http://dl.sf.net/courier/%{name}-%{version}.tar.bz2
 Source1:        http://dl.sf.net/courier/%{name}-%{version}.tar.bz2.sig
 #Source0:        http://www.courier-mta.org/beta/cone/cone-%{version}.tar.bz2
 #Source1:        http://www.courier-mta.org/beta/cone/cone-%{version}.tar.bz2.sig
+Patch0:         %{name}-gcc44.patch
+# This patch has been sent on 2009/04/19 to courier-cone at lists.sourceforge.net.
 License:        GPLv3
 Group:          Applications/Internet
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-buildroot
@@ -45,6 +47,7 @@
 
 %prep
 %setup -q
+%patch0
 
 %build
 CPPFLAGS="$CPPFLAGS -I%{curses_include_dir}"
@@ -52,7 +55,7 @@
 
 # Note: The build breaks with --disable-static
 CFLAGS="$RPM_OPT_FLAGS" %configure --with-devel --enable-shared
-%{__make} %{?_smp_mflags}
+%{__make} -k %{?_smp_mflags}
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -104,6 +107,9 @@
 %doc cone/html
 
 %changelog
+* Sat Apr 18 2009 Milos Jakubicek <xjakub at fi.muni.cz> - 0.75-4
+- Fix FTBFS: added cone-gcc44.patch
+
 * Tue Feb 24 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.75-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
 




More information about the scm-commits mailing list