rpms/sunbird/devel sunbird-0.9-gcc44.patch, NONE, 1.1 sunbird.spec, 1.20, 1.21

Lubomir Rintel lkundrak at fedoraproject.org
Sun Mar 1 12:47:50 UTC 2009


Author: lkundrak

Update of /cvs/pkgs/rpms/sunbird/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv20175

Modified Files:
	sunbird.spec 
Added Files:
	sunbird-0.9-gcc44.patch 
Log Message:
* Sun Mar 1 2009 Lubomir Rintel <lkundrak at v3.sk> 0.9-6
- Fix build with GCC 4.4


sunbird-0.9-gcc44.patch:

--- NEW FILE sunbird-0.9-gcc44.patch ---
Fix build with GCC 4.4.

Lubomir Rintel <lkundrak at v3.sk>

diff -up mozilla/toolkit/xre/nsAppRunner.cpp.gcc44 mozilla/toolkit/xre/nsAppRunner.cpp
--- mozilla/toolkit/xre/nsAppRunner.cpp.gcc44	2009-03-01 13:35:21.000000000 +0100
+++ mozilla/toolkit/xre/nsAppRunner.cpp	2009-03-01 13:35:44.000000000 +0100
@@ -1370,7 +1370,7 @@ XRE_GetBinaryPath(const char* argv0, nsI
   if (NS_FAILED(rv))
     return rv;
 
-#elif
+#else
 #error Oops, you need platform-specific code here
 #endif
 


Index: sunbird.spec
===================================================================
RCS file: /cvs/pkgs/rpms/sunbird/devel/sunbird.spec,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- sunbird.spec	26 Feb 2009 04:06:04 -0000	1.20
+++ sunbird.spec	1 Mar 2009 12:47:20 -0000	1.21
@@ -15,7 +15,7 @@
 
 Name:           sunbird
 Version:        0.9
-Release:        5%{?dist}
+Release:        6%{?dist}
 Summary:        Calendar application built upon Mozilla toolkit
 
 Group:          Applications/Productivity
@@ -34,6 +34,7 @@
 # build patches
 Patch2:         sunbird-0.7-path.patch
 Patch3:         sunbird-0.7-uilocale.patch
+Patch4:         sunbird-0.9-gcc44.patch
    
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
@@ -96,6 +97,7 @@
 %patch0 -p1 -b .libical
 %patch2 -p1 -b .path
 %patch3 -p1 -b .uilocale
+%patch4 -p1 -b .gcc44
 # Fix source perms to avoid errors in the debuginfo RPM (bug 357661)
 find . -type f \( -name "*.cpp" -o -name "*.h" \) -exec chmod -x '{}' \;
 
@@ -301,6 +303,9 @@
 
 
 %changelog
+* Sun Mar 1 2009 Lubomir Rintel <lkundrak at v3.sk> 0.9-6
+- Fix build with GCC 4.4
+
 * Wed Feb 25 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.9-5
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
 




More information about the fedora-extras-commits mailing list