packages: ccache/ccache-nohash_size_mtime.patch - updated to 3.1.7

adamg adamg at pld-linux.org
Sun Jan 8 20:55:18 CET 2012


Author: adamg                        Date: Sun Jan  8 19:55:18 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- updated to 3.1.7

---- Files affected:
packages/ccache:
   ccache-nohash_size_mtime.patch (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: packages/ccache/ccache-nohash_size_mtime.patch
diff -u packages/ccache/ccache-nohash_size_mtime.patch:1.2 packages/ccache/ccache-nohash_size_mtime.patch:1.3
--- packages/ccache/ccache-nohash_size_mtime.patch:1.2	Sat Oct  2 22:28:00 2010
+++ packages/ccache/ccache-nohash_size_mtime.patch	Sun Jan  8 20:55:13 2012
@@ -1,15 +1,15 @@
 --- ccache-3.1/ccache.c~	2010-09-16 19:01:09.000000000 +0200
 +++ ccache-3.1/ccache.c	2010-10-02 18:16:57.670019849 +0200
 @@ -814,8 +814,10 @@
- 		hash_file(hash, args->argv[0]);
+ 		/* Do nothing. */
  	} else if (str_eq(compilercheck, "mtime")) {
  		hash_delimiter(hash, "cc_mtime");
--		hash_int(hash, st.st_size);
--		hash_int(hash, st.st_mtime);
+-		hash_int(hash, st->st_size);
+-		hash_int(hash, st->st_mtime);
 +		if (!getenv("CCACHE_NOHASH_SIZE_MTIME")) {
-+			hash_int(hash, st.st_size);
-+			hash_int(hash, st.st_mtime);
++			hash_int(hash, st->st_size);
++			hash_int(hash, st->st_mtime);
 +		}
- 	} else { /* command string */
- 		if (!hash_multicommand_output(hash, compilercheck, orig_args->argv[0])) {
- 			fatal("Failure running compiler check command: %s", compilercheck);
+ 	} else if (str_eq(compilercheck, "content") || !allow_command) {
+ 		hash_delimiter(hash, "cc_content");
+ 		hash_file(hash, path);
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/ccache/ccache-nohash_size_mtime.patch?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list