rpms/ccache/devel ccache-2.4-coverage-231462.patch, NONE, 1.1 ccache.spec, 1.14, 1.15

Ville Skytta (scop) fedora-extras-commits at redhat.com
Thu Mar 15 10:41:27 UTC 2007


Author: scop

Update of /cvs/extras/rpms/ccache/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv8896

Modified Files:
	ccache.spec 
Added Files:
	ccache-2.4-coverage-231462.patch 
Log Message:
* Thu Mar 15 2007 Ville Skyttä <ville.skytta at iki.fi> - 2.4-8
- Bypass cache with --coverage, -fprofile-arcs and -ftest-coverage
  (upstream CVS and Matt Fago, #231462).


ccache-2.4-coverage-231462.patch:

--- NEW FILE ccache-2.4-coverage-231462.patch ---
--- ccache.c~	2004-09-13 13:38:30.000000000 +0300
+++ ccache.c	2007-03-15 12:31:41.000000000 +0200
@@ -640,6 +640,9 @@
 
 		/* these are too hard */
 		if (strcmp(argv[i], "-fbranch-probabilities")==0 ||
+		    strcmp(argv[i], "--coverage") == 0 ||
+		    strcmp(argv[i], "-fprofile-arcs") == 0 ||
+		    strcmp(argv[i], "-ftest-coverage") == 0 ||
 		    strcmp(argv[i], "-M") == 0 ||
 		    strcmp(argv[i], "-MM") == 0 ||
 		    strcmp(argv[i], "-x") == 0) {


Index: ccache.spec
===================================================================
RCS file: /cvs/extras/rpms/ccache/devel/ccache.spec,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- ccache.spec	10 Nov 2006 20:10:10 -0000	1.14
+++ ccache.spec	15 Mar 2007 10:40:54 -0000	1.15
@@ -3,7 +3,7 @@
 
 Name:           ccache
 Version:        2.4
-Release:        7%{?dist}
+Release:        8%{?dist}
 Summary:        C/C++ compiler cache
 
 Group:          Development/Tools
@@ -11,6 +11,7 @@
 URL:            http://ccache.samba.org/
 Source0:        http://ccache.samba.org/ftp/ccache/%{name}-%{version}.tar.gz
 Patch0:         %{name}-html-links.patch
+Patch1:         %{name}-2.4-coverage-231462.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 Requires(triggerin): coreutils
@@ -26,6 +27,7 @@
 %prep
 %setup -q
 %patch0 -p0
+%patch1 -p0
 
 
 %build
@@ -86,6 +88,10 @@
 
 
 %changelog
+* Thu Mar 15 2007 Ville Skyttä <ville.skytta at iki.fi> - 2.4-8
+- Bypass cache with --coverage, -fprofile-arcs and -ftest-coverage
+  (upstream CVS and Matt Fago, #231462).
+
 * Fri Nov 10 2006 Ville Skyttä <ville.skytta at iki.fi> - 2.4-7
 - Require coreutils for triggers (#215030).
 




More information about the fedora-extras-commits mailing list