]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/commitdiff
ccache: Remove unneeded patch.
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 6 Aug 2012 20:07:05 +0000 (22:07 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 6 Aug 2012 20:07:05 +0000 (22:07 +0200)
lfs/ccache
src/patches/ccache-3.1.6-no_compiler_mtime.patch [deleted file]

index 00f7cd7f4c30fc257ac813ab66ff9c20e48431ff..c4574a3662b5c548000ff11c599bed3a23d4be71 100644 (file)
@@ -70,7 +70,6 @@ $(subst %,%_MD5,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE)
-       cd $(DIR_APP) && patch -p1 < $(DIR_SRC)/src/patches/$(THISAPP)-no_compiler_mtime.patch
        cd $(DIR_APP) && CFLAGS="-O2 -static -DDEFAULT_MAXSIZE=2097152" ./configure --prefix=$(ROOT)/usr/local
        cd $(DIR_APP) && make $(MAKETUNING) $(EXTRA_MAKE)
        cd $(DIR_APP) && make install
diff --git a/src/patches/ccache-3.1.6-no_compiler_mtime.patch b/src/patches/ccache-3.1.6-no_compiler_mtime.patch
deleted file mode 100644 (file)
index fd921cd..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-diff -Naur ccache-3.1.org/ccache.c ccache-3.1/ccache.c
---- ccache-3.1.org/ccache.c    2010-09-16 19:01:09.000000000 +0200
-+++ ccache-3.1/ccache.c        2010-10-21 21:41:08.000000000 +0200
-@@ -805,13 +805,16 @@
-        */
-       compilercheck = getenv("CCACHE_COMPILERCHECK");
-       if (!compilercheck) {
--              compilercheck = "mtime";
-+              compilercheck = "size";
-       }
-       if (str_eq(compilercheck, "none")) {
-               /* Do nothing. */
-       } else if (str_eq(compilercheck, "content")) {
-               hash_delimiter(hash, "cc_content");
-               hash_file(hash, args->argv[0]);
-+      } else if (str_eq(compilercheck, "size")) {
-+              hash_delimiter(hash, "cc_size");
-+              hash_int(hash, st.st_size);
-       } else if (str_eq(compilercheck, "mtime")) {
-               hash_delimiter(hash, "cc_mtime");
-               hash_int(hash, st.st_size);