]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
ccache: Copy patch files into repository.
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 7 Feb 2010 14:53:52 +0000 (15:53 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 7 Feb 2010 14:53:52 +0000 (15:53 +0100)
pkgs/core/ccache/ccache.nm
pkgs/core/ccache/patches/ccache-2.4.patch [new file with mode: 0644]

index 95b606fc163f044522fb4146273d16430c6fcaa2..cce011bf05aa1171e5ec183146b61b6f9a54acf9 100644 (file)
@@ -43,8 +43,6 @@ endef
 
 PKG_TARBALL    = $(THISAPP).tar.gz
 
-PKG_PATCHES   += $(THISAPP).patch
-
 CONFIGURE_OPTIONS += --mandir=/usr/share
 
 ###############################################################################
diff --git a/pkgs/core/ccache/patches/ccache-2.4.patch b/pkgs/core/ccache/patches/ccache-2.4.patch
new file mode 100644 (file)
index 0000000..b2193c3
--- /dev/null
@@ -0,0 +1,12 @@
+--- a/ccache.c 2004-04-15 13:49:38.000000000 +0100
++++ b/ccache.c 2004-04-15 17:47:59.000000000 +0100
+@@ -322,7 +322,9 @@
+               failed();
+       }
+       hash_int(st.st_size);
++#if 0 /* don't hash on the modification time */
+       hash_int(st.st_mtime);
++#endif
+       /* possibly hash the current working directory */
+       if (getenv("CCACHE_HASHDIR")) {