rpms/xosview/devel xosview-1.8.3-gcc44.patch, NONE, 1.1 xosview.spec, 1.3, 1.4

Terje Røsten terjeros at fedoraproject.org
Thu Feb 26 22:08:09 UTC 2009


Author: terjeros

Update of /cvs/extras/rpms/xosview/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv22049

Modified Files:
	xosview.spec 
Added Files:
	xosview-1.8.3-gcc44.patch 
Log Message:
* Thu Feb 26 2009 Terje Rosten <terje.rosten at ntnu.no> - 1.8.3-16.20080301cvs
- Add patch to build with gcc 4.4


xosview-1.8.3-gcc44.patch:

--- NEW FILE xosview-1.8.3-gcc44.patch ---
--- xosview-1.8.3-20080301/linux/lmstemp.cc.~1.5.~	2008-02-29 00:52:31.000000000 +0100
+++ xosview-1.8.3-20080301/linux/lmstemp.cc	2009-02-26 22:32:10.000000000 +0100
@@ -33,7 +33,7 @@
 	    parent_->done(1);
 	}
     }
-    char *p;
+    const char *p;
     if ((p = strrchr(caption,'/')) != 0)
       _highest = atoi(p+1);
     else


Index: xosview.spec
===================================================================
RCS file: /cvs/extras/rpms/xosview/devel/xosview.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- xosview.spec	26 Feb 2009 11:46:29 -0000	1.3
+++ xosview.spec	26 Feb 2009 22:07:39 -0000	1.4
@@ -3,7 +3,7 @@
 Name:          xosview
 Summary:       An X Window System utility for monitoring system resources
 Version:       1.8.3
-Release:       15.%{date}cvs%{?dist}
+Release:       16.%{date}cvs%{?dist}
 
 Group:         Applications/System
 # The netbsd/swapinternal.{cc,h} source files are BSD only (with 
@@ -27,6 +27,7 @@
 
 Patch0:        xosview-1.8.3-app-defaults.patch
 Patch1:        xosview-1.8.3-disable-flags.patch
+Patch2:        xosview-1.8.3-gcc44.patch 
 BuildRoot:     %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires: autoconf libXpm-devel libX11-devel desktop-file-utils
@@ -41,6 +42,7 @@
 %setup -q -n %{name}-%{version}-%{date}
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 %build
 ./autogen.sh
@@ -92,6 +94,9 @@
 %{_datadir}/applications/%{name}.desktop
 
 %changelog
+* Thu Feb 26 2009 Terje Rosten <terje.rosten at ntnu.no> - 1.8.3-16.20080301cvs
+- Add patch to build with gcc 4.4
+
 * Thu Feb 26 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.8.3-15.20080301cvs
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
 




More information about the scm-commits mailing list